Re: fetching from NSArray
Re: fetching from NSArray
- Subject: Re: fetching from NSArray
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 2 Oct 2007 16:48:55 -0600
Please don't send off-list replies back to the list! That's rude.
On Oct 2, 2007, at 4:36 PM, Erfan Aleemullah wrote:
when i fetched more than one object as defined by the Range
variable. Do I need to allocated memory or size or something to
fetch several objects at one time ?
It's possible that you may need to pre-allocate the memory space (as
I've said, I've never used the method, and the documentation says
nothing about it), although if you really need a subset of objects,
then you might want to consider using -objectsAtIndexes: instead
using an NSIndexSet with the given range. At least that won't have
the memory problems...
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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