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: Thu, 07 Jul 2011 08:48:43 -0700
On Jul 7, 2011, at 2:43 AM, Manfred Schwind <email@hidden> wrote:
>> On Mac OS X, all top-level objects get an -awakeFromNib.
>> On iOS, top-level objects do not get -awakeFromNib.
>
> Uh? This was news to me and I immediately tested this.
> My tests show:
>
> - On OS X all objects of the nib including the file's owner get an awakeFromNib.
> - On iOS also all objects of the nib (including top-level objects!) but NOT the file's owner get an awakeFromNib.
Wow, that was a gaffe. I meant "top-level proxy objects." On iOS, this can be more than just File's Owner; you can supply custom proxy objects.
Sorry for the confusion!
--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