Re: New document does NOT open at program start!
Re: New document does NOT open at program start!
- Subject: Re: New document does NOT open at program start!
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 25 Oct 2002 06:04:27 -0400
on 02-10-24 9:06 PM, James Derry at email@hidden wrote:
>
how does the application know what document to
>
create at startup? Does it just go looking for all of the linked-in
>
NSDocument subclasses and pick the first one? I.e., if I wanted to create a
>
MyNewDocument class, what would I have to do to force NSApplication to
>
choose one instead of the other?
There is an entry in Project Builder's Application Settings where you must
specify the class of the main application document type: the document to be
opened by the application at startup. (In Jaguar's version of PB, the
Application Settings is called Info.plist Entries.)
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.