Re: Implementing a welcome window in document based apps?
Re: Implementing a welcome window in document based apps?
- Subject: Re: Implementing a welcome window in document based apps?
- From: Ryan Britton <email@hidden>
- Date: Mon, 17 Oct 2005 18:29:14 -0700
If you throw up a window prior to applicationDidFinishLaunching:,
sometimes you'll end up with an extra Help menu. Just had an
interesting experience tracking that down...
On Oct 17, 2005, at 5:59 PM, Colin Cornaby wrote:
Thanks.
For future reference you have to use applicationWillFinishLaunching
or else the application will still throw up a default document
window. This was my biggest worry and why I didn't try this
approach originally, but applicationWillFinishLaunching seems to
fire early enough.
-Colin
On Oct 17, 2005, at 1:57 AM, Sherm Pendley wrote:
- (void) applicationDidFinishLaunching:
{
if ([[NSUserDefaults standardUserDefaults]
boolForKey:@"ShowWelcomeWindow"])
{
[welcomeWindow makeKeyAndOrderFront:nil];
}
}
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden