On Aug 8, 2009, at 1:23 AM, Brian Bruinewoud <br...@darknova.com> wrote:
Why doesn't initWithNibName create and bind all the IBOutlets before it returns?
Because it's good to be lazy. I'm not an iPhone developer, but I'm willing to wager that the nib isn't actually loaded until the view itself is requested, just like NSWindowController only loads its nib in response to -window being called.
That's why we desktop folk have -awakeFromNib and -windowDidLoad, to set up things on IBOutlet properties.
--Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com