How to slice an NSArray in Objective-C?

philfreo picture philfreo · Nov 18, 2009 · Viewed 13k times · Source

What's the simplest way to extract a slice of an NSArray in Objective-C?

(much like the array_slice function in PHP)

Answer