• 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: Object for variable array of fixed structures
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object for variable array of fixed structures


  • Subject: Re: Object for variable array of fixed structures
  • From: Jonathon Mah <email@hidden>
  • Date: Tue, 13 Jun 2006 06:14:15 +0930

Hi Steve,

On 2006-06-13, at 05:42, Steve Sheets wrote:

Are there any examples of good technique to implement variable size arrays of fixed structures?

For example, I want to create an array of NSRect inside my code.

Wrap each NSRect in an NSValue, and use an NSMutableArray as usual.

NSValue *rectObj = [NSValue valueWithRect:myRect];


Jonathon Mah email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Object for variable array of fixed structures (From: Steve Sheets <email@hidden>)

  • Prev by Date: Re: Localization(Localisation) question
  • Next by Date: Re: API Path Question
  • Previous by thread: Object for variable array of fixed structures
  • Next by thread: Re: Object for variable array of fixed structures
  • Index(es):
    • Date
    • Thread