• 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: Nib & retainCount confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nib & retainCount confusion


  • Subject: Re: Nib & retainCount confusion
  • From: email@hidden
  • Date: Wed, 3 Oct 2007 14:01:17 -0700

I did manage to successfully release my object. I unbound the NSObjectController's contentObject in IB and set the NSObjectController's content in my controller's awakeFromNib: routine using [object setContent]. I found the following suggestion which worked: theobroma.treehouseideas.com/document.page/18

I guess I don't understand why this should make a difference. Does the NSObjectController retain my controller class (which I suspect the binding is doing) or does it retain the object it is bound to that exists in my controller class?

Keary -
What is the "top level objects dictionary" you refer to? Is that my object that the controller is bound to?


Patrick
_______________________________________________

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: Nib & retainCount confusion
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Distinguish between Directory and File
  • Next by Date: Re: Distinguish between Directory and File
  • Previous by thread: Re: Nib & retainCount confusion
  • Next by thread: Re: Nib & retainCount confusion
  • Index(es):
    • Date
    • Thread