• 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: Ricky Sharp <email@hidden>
  • Date: Thu, 15 Feb 2007 21:14:14 -0600


On Feb 15, 2007, at 7:31 PM, Seth Willits 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?

As others have mentioned, yes.

Depending upon your needs (and since you've been writing about bindings recently), definitely check out the following threads from Dec 2005:

subject: "instantiateNibWithOwner:topLevelObjects: usage"
subject: "Releasing all nib objects"

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________

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

  • Prev by Date: How to ensure one instance running per session?
  • Next by Date: Re: How to ensure one instance running per session?
  • Previous by thread: Re: NSWindowController versus other NIB Owners
  • Next by thread: Re: NSWindowController versus other NIB Owners
  • Index(es):
    • Date
    • Thread