Creating a "Welcome Window"
Creating a "Welcome Window"
- Subject: Creating a "Welcome Window"
- From: Mike Abdullah <email@hidden>
- Date: Fri, 13 Jan 2006 18:16:04 +0000
I have written a relatively simple Cocoa Doc-based app. However, it
is slightly unusual in that it does not open its a blank document
when the app is run. Instead you must choose File-New to do this.
But now, I would like to add what I would describe as a Welcome
Window. It would operate in a fairly similar manner to some of the
iLife apps, e.g. Garageband when you start the app up for the first
time. A simple window should appear that gives you the option to
create a new document, quit the app or open the preferences.
At present moment I have used NSApp's
applicationShouldOpenUntitledFile: delegate method as a starting
point. This gets called whenever the user runs the app, or clicks on
the apps icon when there are no documents open. However, I would
like to know what people what suggest further to this. Should I
stick with lauching the window from this delegate method, or use
something else? And to create and control the window, would I be
best off using a custom NSWindowController or what?
Thanks,
Mike A.
_______________________________________________
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