Re: app inaccessible during awakeFromNib
Re: app inaccessible during awakeFromNib
- Subject: Re: app inaccessible during awakeFromNib
- From: "Clark S. Cox III" <email@hidden>
- Date: Mon, 17 Mar 2003 16:22:49 -0500
On Monday, Mar 17, 2003, at 15:20 US/Eastern, David Feldman wrote:
I have an app that displays a window at launch time if it's not
registered yet. The code to do this is in the awakeFromNib method of
my main controller class. The problem is that when this happens, if I
switch to another application I can't click on the app's icon in the
Dock to go back to it, nor can I Command-Tab to it. The icon is also
still bouncing to show the app is still launching. I don't know if I
should be calling [NSApp finishLaunching] because, well, the app
hasn't finished launching yet -- the UI isn't completely loaded. Is
there anything I can do?
Why don't you do this in the -applicationDidFinishLaunching: method of
the application's delegate?
--
http://homepage.mac.com/clarkcox3/
email@hidden
Clark S. Cox, III
_______________________________________________
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.