• 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
null values in NSArray ???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

null values in NSArray ???


  • Subject: null values in NSArray ???
  • From: Bob Miller <email@hidden>
  • Date: Fri, 17 Jan 2003 10:48:42 -0500

Hello,

Can anyone tell me if it is possible to manage an NSMutableArray that contains null values for objects at any given index ? I'd like to be able to have an array such as this so that each location can be filled as a 'place holder' so that if a particular object at any given index is null, it gets ignored or possibly populated with an object id. It seems that this would be a nice feature to have. I don't want to incur the overhead of the NSNull object allocation(s) in a large grid. Can it be done by catching the null object exception ?

Regards,
Bob M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: null values in NSArray ???
      • From: "Clark S. Cox III" <email@hidden>
    • Re: null values in NSArray ???
      • From: Dennis De Mars <email@hidden>
  • Prev by Date: NSSlider: differentiating mouseDown, mouseUp, mouseDragged
  • Next by Date: Re: atoi( ) deprecation question...
  • Previous by thread: Re: NSSlider: differentiating mouseDown, mouseUp, mouseDragged
  • Next by thread: Re: null values in NSArray ???
  • Index(es):
    • Date
    • Thread