views:

279

answers:

1

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

(much like the array_slice function in PHP)

+7  A: 

-[NSArray subarrayWithRange:]

Ole Begemann