• 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: Implementing a welcome window in document based apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Implementing a welcome window in document based apps? (From: Colin Cornaby <email@hidden>)
 >Re: Implementing a welcome window in document based apps? (From: Sherm Pendley <email@hidden>)
 >Re: Implementing a welcome window in document based apps? (From: Colin Cornaby <email@hidden>)

  • Prev by Date: Re: Implementing a welcome window in document based apps?
  • Next by Date: Cocoa framework bug? - Checkboxes turning black on 10.4
  • Previous by thread: Re: Implementing a welcome window in document based apps?
  • Next by thread: NSMatrix rows and columns
  • Index(es):
    • Date
    • Thread