Re: further confusion regarding the release of controls loaded from a nib
Re: further confusion regarding the release of controls loaded from a nib
- Subject: Re: further confusion regarding the release of controls loaded from a nib
- From: G S <email@hidden>
- Date: Tue, 20 Mar 2012 14:50:51 -0700
OK, I think I know why there weren't any leaks.
Per (possibly old) examples, I have "IBOutlet" in both the member-variable
declarations and the property declarations.
Now I'm realizing that IB will show two outlets: one for the member
variable itself, and one for the property when you have this:
@synthesize webView=_webView
All of my connections in IB are still made to the member variables. So are
the properties not being used by NSNib? My guess is that they aren't, and
thus the controls aren't being retained.
_______________________________________________
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