• 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
NSViewController and Nib files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSViewController and Nib files


  • Subject: NSViewController and Nib files
  • From: Cathy Shive <email@hidden>
  • Date: Tue, 20 May 2008 17:45:37 +0200

Hi,

I'm hoping that one of the Cocoa engineers out there can answer a question about NSViewController for me.

In the documentation, it states that the view controller will handle memory management for the objects in its nib file. Does this only apply to nib files that are loaded by NSViewController behind the scenes during the "loadNib" method? Lets say that you pass in nil for the arguments for nibName and nibBundle in the initializer, and then load a nib using NSBundle's 'loadNibNamed:owner' method later on (setting the owner to self), will the memory management magic still happen?

Thanks,
Cathy


_______________________________________________

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: NSViewController and Nib files
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Cocoa Developers
  • Next by Date: Re: Cocoa et al as HCI usability problem
  • Previous by thread: Re: NSView Text Paint inversed
  • Next by thread: Re: NSViewController and Nib files
  • Index(es):
    • Date
    • Thread