开发者

How to slice an NSArray in Objective-C?

开发者 https://www.devze.com 2022-12-11 22:56 出处:网络
What\'s the simplest way to extract a slice of an NSArra开发者_如何学Goy in Objective-C? (much like the array_slice function in PHP)-[NSArray subarrayWithRange:]

What's the simplest way to extract a slice of an NSArra开发者_如何学Goy in Objective-C?

(much like the array_slice function in PHP)


-[NSArray subarrayWithRange:]

Reference:
https://developer.apple.com/documentation/foundation/nsarray/1415157-subarraywithrange

0

精彩评论

暂无评论...
验证码 换一张
取 消