Should I retain/release IBOutlet?
Should I retain/release IBOutlet?
- Subject: Should I retain/release IBOutlet?
- From: Eric <email@hidden>
- Date: Sat, 13 May 2006 14:47:20 -0700
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.
thanks,
eric
_______________________________________________
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