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: Alex Zavatone <email@hidden>
- Date: Tue, 20 Mar 2012 18:07:39 -0400
Set breakpoints on them and right after them and when you hit them see:
1) what their values are
2) if they ever get hit at all.
That should help you get to the bottom of what's being used when.
On Mar 20, 2012, at 5:50 PM, G S wrote:
> 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
- Alex Zavatone
_______________________________________________
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