Re: dealloc event
Re: dealloc event
- Subject: Re: dealloc event
- From: j o a r <email@hidden>
- Date: Fri, 20 May 2005 14:38:02 +0200
On 20 maj 2005, at 14.30, Theodore H. Smith wrote:
If I have some object defined with object fields, must I release
them on my object's dealloc event, or does this happen automatically?
You must balance your "release and retain events" (*). This also
holds true for instance variables. So, yes, you need to call release
manually in dealloc.
j o a r
*) ie. all operations that affects the retain count of an object
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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
References: | |
| >dealloc event (From: "Theodore H. Smith" <email@hidden>) |