• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: A simple doubt about array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: A simple doubt about array (From: Adam Leonard <email@hidden>)
 >Re: A simple doubt about array (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Garbage collector vs variable lifetime
  • Next by Date: Re: Garbage collector vs variable lifetime
  • Previous by thread: Re: A simple doubt about array
  • Next by thread: Re: A simple doubt about array
  • Index(es):
    • Date
    • Thread