• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: New document does NOT open at program start!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >New document does NOT open at program start! (From: James Derry <email@hidden>)

  • Prev by Date: Subclassing in plugins
  • Next by Date: Re: [OT] Help Viewer blows
  • Previous by thread: New document does NOT open at program start!
  • Next by thread: Re: New document does NOT open at program start!
  • Index(es):
    • Date
    • Thread