Re: A simple doubt about array
Re: A simple doubt about array
- Subject: Re: A simple doubt about array
- From: Keith Duncan <email@hidden>
- Date: Wed, 11 Jun 2008 08:41:31 +0100
NSArray objects can't contain empty (nil) elements...
NSPointerArray objects can if you really want an Objective-C interface.
And you might just want to implement this as a C array
They will also handle object memory management like an NSArray,
depending on how you initialise it.
However, in flight of premature optimization I'd still only ever
implement a multidimensional array in pure C.
Keith
_______________________________________________
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