Re: NSArray as a class variable
Re: NSArray as a class variable
- Subject: Re: NSArray as a class variable
- From: Michael Craig <email@hidden>
- Date: Sat, 26 Dec 2009 00:37:06 -0500
Ah, that makes perfect sense. Thank you!
Michael S Craig
On Sat, Dec 26, 2009 at 12:12 AM, Dave Keck <email@hidden> wrote:
> Presumably you're not using garbage collection. If that's the case,
> suitArray is being deallocated because you didn't retain it. Probably
> time to check out the memory management guidelines:
>
>
> http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwnership.html
>
> Particularly the bit under "Obtaining Objects Using Convenience Methods"
>
_______________________________________________
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