New in Cocoa and something seems to be missing.
What is the most elegant / idiomatic way to get the first x elements of an NSArray as another NSArray ? Obviously, I can iterate over them and store them manually, but it seems that this requires a more standard method.
I was expecting to be -arrayWithObjectsInRange: or something similar, but can't see anything ...
NSArray* largeArray...
Thank!
objective-c cocoa
CocoaNewb Jul 29 '10 at 16:22 2010-07-29 16:22
source share