Re: What's wrong with my NSMutableArray?
Re: What's wrong with my NSMutableArray?
- Subject: Re: What's wrong with my NSMutableArray?
- From: Allan Greenier <email@hidden>
- Date: Fri, 12 Jun 2009 11:00:31 -0400
Thanks Devon.
On Jun 12, 2009, at 10:46 AM, Devon Ferns wrote:
You need to retain your array since arrayWithCapacity returns an
autoreleased object.
And in dealloc, release the array, and set to nil if you want to but
not necessary.
Devon
_______________________________________________
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