Re: app delegate +initialize
Re: app delegate +initialize
- Subject: Re: app delegate +initialize
- From: Matt Neuburg <email@hidden>
- Date: Wed, 23 Sep 2009 09:44:14 -0700
- Thread-topic: app delegate +initialize
On Wed, 23 Sep 2009 08:26:58 -0700, Jens Alfke <email@hidden> said:
>This is why it's best to do your initialization in an -awakeFromNib
>method
Whoa, whoa. Let's be fair. There is some common initialization (such as
registering defaults, esp. when bindings are also involved) that *must* be
done in +initialize, as awakeFromNib is not early enough. And Apple's own
code examples advise and demonstrate this. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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