• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Displaying "loading" dialog at NSApplication init?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Displaying "loading" dialog at NSApplication init?
      • From: Yann Bizeul <email@hidden>
  • Prev by Date: 'No Selection' placeholder appearing in text fields bound to keys of NSArrayController
  • Next by Date: [ANN] AppKiDo 0.91 and the Xcode beta
  • Previous by thread: 'No Selection' placeholder appearing in text fields bound to keys of NSArrayController
  • Next by thread: Re: Displaying "loading" dialog at NSApplication init?
  • Index(es):
    • Date
    • Thread