On Apr 16, 2009, at 10:44:07, Jesper Storm Bache wrote:
You'll want to read Cocoa memory management:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmObjectOwnership.html#/
/apple_ref/doc/uid/20000043
The general rule is that if you do *not* create an instance by using
[[X alloc] initZZ] then you should *not* call release (because your
instance has been auto released).
Thanks for the help, everyone. I hope I remember the rules the next
time I have to deal with Cocoa.
_________________________________________________________
Steve Mills Me: 952-401-6255
Senior Software Architect MultiAd
smi...@multiad.com www.multi-ad.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com