• 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: NSWindowController versus other NIB Owners
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowController versus other NIB Owners


  • Subject: Re: NSWindowController versus other NIB Owners
  • From: "Julien Jalon" <email@hidden>
  • Date: Fri, 16 Feb 2007 03:08:31 +0100

Well... as you said it: the nib owner must release the top-level
objects... so does NSWindowController. You can achieve the same
behavior with your own (not NSWindowControllers) nib-owners by using
-loadNibNamed:externalNameTable:withZone: and NSTopLevelObjects key...

--
Julien

On 2/16/07, Seth Willits <email@hidden> wrote:
It seems to me that NSWindowController releases all top-level items
in its nib, while if you use NSBundle loadNibNamed:owner:, then the
owner must release them all manually. Is this the case?


-- Seth Willits



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: NSWindowController versus other NIB Owners
      • From: Shawn Erickson <email@hidden>
References: 
 >NSWindowController versus other NIB Owners (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Model changes behind NSTreeController's back
  • Next by Date: Re: NSWindowController versus other NIB Owners
  • Previous by thread: Re: NSWindowController versus other NIB Owners
  • Next by thread: Re: NSWindowController versus other NIB Owners
  • Index(es):
    • Date
    • Thread