• 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 loading cycle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nib loading cycle


  • Subject: Re: Nib loading cycle
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 09 Jul 2011 02:16:43 -0700

On Jul 8, 2011, at 23:06, Dale Miller wrote:

> On July 7, Manfred Schwind wrote:"On OS X all objects of the nib including the file's owner get an awakeFromNib." I don't think I ever found the doc for that, either, but I did learn the hard way. I was instantiating a NIB multiple times with "InstantiateNibWithOwner:topLevelObjects", but I inadvertently used the same object which owned the nib when it was loaded. I ultimately found doc that said each instance had to have a unique owner, but no reason was given. My owning object got multiple "awakeFromNib" calls. Eventually, I pieced the two together.

This question of where nib loading is documented came up a couple of times in this thread, and I don't recall that anyone posted the actual link, so here it is:

	http://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html

Everything on this page is essential, fundamental information.

BTW, if you forget where this page is, searching developer.apple.com for "nib loading" will always find it.


_______________________________________________

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

References: 
 >Re: Nib loading cycle (From: Dale Miller <email@hidden>)

  • Prev by Date: Re: getting last accessed date
  • Next by Date: CALayers are rooted in GC only apps
  • Previous by thread: Re: Nib loading cycle
  • Next by thread: CALayers are rooted in GC only apps
  • Index(es):
    • Date
    • Thread