Re: Object for variable array of fixed structures
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