What's the simplest way to extract a slice of an NSArray in Objective-C?
(much like the array_slice function in PHP)
What's the simplest way to extract a slice of an NSArray in Objective-C?
(much like the array_slice function in PHP)
-[NSArray subarrayWithRange:]
Reference:
https://developer.apple.com/documentation/foundation/nsarray/1415157-subarraywithrange