Re: array segment
Re: array segment
- Subject: Re: array segment
- From: Brian Stern <email@hidden>
- Date: Mon, 1 Sep 2008 11:54:24 -0400
Is there an obj-C equivalent to Java's System.arraycopy() which will
allow me to easily copy a segment of an NSArray into a new array?
subarrayWithRange:
Returns a new array containing the receiver’s elements that fall
within the limits specified by a given range.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSArray_Class/Reference/Reference.html#/
/apple_ref/occ/instm/NSArray/subarrayWithRange:
There is an example in the docs.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden