Re: fetching from NSArray
Re: fetching from NSArray
- Subject: Re: fetching from NSArray
- From: "Erfan Aleemullah" <email@hidden>
- Date: Wed, 3 Oct 2007 20:03:22 -0400
Update: id *buffer = calloc(numberOf_ItemsIWant_ToFetch,sizeof(id));[myArray
getObjects:buffer range:rangeOfItems]
So, using this code solves my problem of fetching items from an NSArray,
after defining the NSRange variable. Yes, as someone suggested earlier
on, its a pointer to a pointer ... or in my case a pointer array, where each
item is stored in buffer[i]
thanks !
_______________________________________________
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