On Wed, 23 Sep 2009 08:26:58 -0700, Jens Alfke <[email protected]> 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 protected], <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 protected])

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 [email protected]

Reply via email to