• 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: Retained Outlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retained Outlet


  • Subject: Re: Retained Outlet
  • From: Richard Somers <email@hidden>
  • Date: Fri, 18 Nov 2011 13:31:58 -0700

On Nov 18, 2011, at 12:42 PM, Kyle Sluder wrote:

> It means that NSWindowController will balance NSNib's extra -retain.
> It doesn't balance the additional -retain from calling your setter.

Consider the following case. The additional -retain from calling setter is not balanced. The outlet is not released in the class dealloc method and no additional retains or releases of the object exist in my code. But Instruments shows no leaks whatsoever. So who or what is releasing the outlet?

--Richard

_______________________________________________

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

References: 
 >Retained Outlet (From: Richard Somers <email@hidden>)
 >Re: Retained Outlet (From: Kyle Sluder <email@hidden>)
 >Re: Retained Outlet (From: Richard Somers <email@hidden>)
 >Re: Retained Outlet (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Retained Outlet
  • Next by Date: Re: Retained Outlet
  • Previous by thread: Re: Retained Outlet
  • Next by thread: Re: Retained Outlet
  • Index(es):
    • Date
    • Thread