Re: Importing Word doc in Carbon app via Cocoa
Re: Importing Word doc in Carbon app via Cocoa
- Subject: Re: Importing Word doc in Carbon app via Cocoa
- From: "Steve Mills" <email@hidden>
- Date: Thu, 16 Apr 2009 10:57:22 -0500
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
email@hidden www.multi-ad.com
_______________________________________________
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