• 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? (sequel to: Dynamically loading NIB files with a common stem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)


  • Subject: Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 06 Jul 2011 08:09:04 -0700

On Wed, Jul 6, 2011 at 7:08 AM, Vincent Habchi <email@hidden> wrote:
> However, I end up in a cycle, whereby the call to [NSBundle loadNibNamed:name owner:self] generates a (unexpected) callback to -awakeFromNib. How come? Is this normal behavior?

This is normal behavior on Mac OS X. It is not normal behavior on iOS.

On Mac OS X, all top-level objects get an -awakeFromNib. On iOS,
top-level objects do not get -awakeFromNib.

--Kyle Sluder
_______________________________________________

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 loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
      • From: Manfred Schwind <email@hidden>
    • Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
      • From: Vincent Habchi <email@hidden>
References: 
 >NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem) (From: Vincent Habchi <email@hidden>)

  • Prev by Date: Re: NSDatePicker weirdness with time.
  • Next by Date: Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
  • Previous by thread: Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
  • Next by thread: Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
  • Index(es):
    • Date
    • Thread