• 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: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument leak with top-of-NIB object controllers (10.6 ARC)


  • Subject: Re: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 22 Dec 2011 12:05:58 -0800

On Thu, Dec 22, 2011 at 11:29 AM, Fritz Anderson
<email@hidden> wrote:
> The document's NIB (no, I don't put the document in the NIB, and I'm using the window controller that comes with the document) contains an NSObjectController and an NSArrayController at the top level. Per "Patterns for Managing Outlets Become Consistent Across Platforms" in the "Transitioning to ARC Release Notes," the IBOutlet properties for those controllers were declared strong.

This seems to conflict with the Resource Programming Guide, which
recommends that your IBOutlets be declared weak (aka 'assign') on Mac
OS X: http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/10000051i-CH4-SW26

--Kyle Sluder
_______________________________________________

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: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
      • From: Fritz Anderson <email@hidden>
References: 
 >NSDocument leak with top-of-NIB object controllers (10.6 ARC) (From: Fritz Anderson <email@hidden>)

  • Prev by Date: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
  • Next by Date: Re: Account validation in CocoaTouch for the purchased app
  • Previous by thread: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
  • Next by thread: Re: NSDocument leak with top-of-NIB object controllers (10.6 ARC)
  • Index(es):
    • Date
    • Thread