On 7 Oct 2009, at 11:38 PM, Graham Cox wrote:

On 08/10/2009, at 2:39 PM, John Baldwin wrote:

The AppController has a +initialize method which initializes my user defaults.

It's better to initialise your defaults in your app delegate's - applicationWillFinishLaunching: method, since it is called at a completely invariant time during the launch process.

Could you clarify? -[AppController applicationWillFinishLaunching:] would be called on the AppController instantiated from the NIB, would it not? And applicationWillFinishLaunching: being the first use of that class, won't +[AppController initialize] be called first?

        — F

_______________________________________________

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

Reply via email to