Displaying "loading" dialog at NSApplication init?
Displaying "loading" dialog at NSApplication init?
- Subject: Displaying "loading" dialog at NSApplication init?
- From: Colin Cornaby <email@hidden>
- Date: Thu, 8 Jul 2004 19:40:11 -0700
I'm trying to display a "loading" dialog at startup using
NSWindowController. I've subclassed NSApplication and it is running all
the proper functions to load the needed portions of my app on startup.
The NSWindowController code loads just fine and runs, but the window
never appears. Ideas? I need to load the resources on startup because
this is a document based application.
The code looks a bit like this:
@implementation CSCatalystApplication
-(id)init{
[super init];
NSWindowController *waitController = [[NSWindowController alloc]
initWithWindow:loadingWindow];
[loadingWindow center];
[waitController showWindow:self];
//Pre-load the proper shared instance
[self aquaDefaults];
return self;
}
(That is the code for for the NSApplication subclass)
_______________________________________________
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.