Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
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