Re: How is this an "incorrect decrement of a reference count"?
Re: How is this an "incorrect decrement of a reference count"?
- Subject: Re: How is this an "incorrect decrement of a reference count"?
- From: G S <email@hidden>
- Date: Tue, 20 Mar 2012 10:48:48 -0700
>
> I think most of this is in the NIB loading guide and the template code for
> UIViewController subclases (and the code auto-generated when you add
> outlets in Xcode using the mouse) does this.
>
>
Thanks. I'm not using ARC and won't be for this release of my app.
The posted link was for the Mac OS version of the nib guide, not iOS. I'm
using UIViewController derivatives in iOS. I'm not using NSNib directly;
I'm just letting the OS do its thing loading the views I've set up in IB.
I *am* setting the IBOutlets to nil in viewDidUnload.
I *am not* releasing the IBOutlets in dealloc, and have yet to see a leak
in Leaks as a result.
_______________________________________________
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