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: Sherm Pendley <email@hidden>
- Date: Mon, 17 Oct 2005 23:34:16 -0400
On Oct 17, 2005, at 8:59 PM, Colin Cornaby wrote:
For future reference you have to use applicationWillFinishLaunching
or else the application will still throw up a default document window.
That's not the best of ideas. applicationWillFinishLaunching: is
documented as being sent before the NSApplication object is
initialized. As another person pointed out, playing around with
interface objects at that point can lead to odd results.
Why not simply use applicationShouldOpenUntitledFile: to prevent the
default untitled document from being created?
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
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