Re: Should I retain/release IBOutlet?
Re: Should I retain/release IBOutlet?
- Subject: Re: Should I retain/release IBOutlet?
- From: mmalcolm crawford <email@hidden>
- Date: Sat, 13 May 2006 17:16:42 -0700
On May 13, 2006, at 2:47 PM, Eric wrote:
In most of the code I've seen (and wrote), I don't ever retain nor
release
IBOutlet ivars. I just assume they will be allocated and
deallocated with
the object itself along with the nib that contains them. Is there any
situation where I would want to manually retain / release IBOutlet
within my
class? For example, if some other object (outside of the NIB)
retains the
object containing the IBOutlet.
This is covered in the documentation:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
LoadingResources/Concepts/NibFileLoaded.html#//apple_ref/doc/uid/
20000884>
mmalc
_______________________________________________
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