• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How is this an "incorrect decrement of a reference count"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How is this an "incorrect decrement of a reference count"?
      • From: David Duncan <email@hidden>
References: 
 >How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Roland King <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Roland King <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Charles Srstka <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Roland King <email@hidden>)

  • Prev by Date: Re: How to get max size of view according to constraints?
  • Next by Date: Re: SSL NSURLConnection to fake-cert server?
  • Previous by thread: Re: How is this an "incorrect decrement of a reference count"?
  • Next by thread: Re: How is this an "incorrect decrement of a reference count"?
  • Index(es):
    • Date
    • Thread