Re: Displaying "loading" dialog at NSApplication init?
Re: Displaying "loading" dialog at NSApplication init?
- Subject: Re: Displaying "loading" dialog at NSApplication init?
- From: Nicko van Someren <email@hidden>
- Date: Fri, 9 Jul 2004 15:38:11 +0100
On 9 Jul 2004, at 15:16, Finlay Dobbie wrote:
On 9 Jul 2004, at 10:32, Yann Bizeul wrote:
You should try to put this in
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
NSApp's delegate, or in
You might find applicationWillFinishLaunching: is sent earlier.
Something else to consider is that all the objects in the main NIB file
are instantiated by the time that these messages are being sent. If
you have objects that are going to take some work to instantiate you
might want to consider putting them in a separate NIB file and just put
the splash screen in the main NIB file. The splash can be brought up
right away and one the application has "finished launching" you can
load the NIB that has all the important, slow to create objects.
Nicko
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.