• 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: Starting window instead of a new untitled document?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Starting window instead of a new untitled document?


  • Subject: Re: Starting window instead of a new untitled document?
  • From: PGM <email@hidden>
  • Date: Wed, 2 Aug 2006 10:49:23 -0400

I think you misunderstood my post. I want to put up a dialog (sort of like the "starting points" window in AppleWorks) when the user starts the application but doesn't open any documents. windowControllerDidLoadNib doesn't get called if the user doesn't open a document.

But thanks for the suggestion anyway.

Cheers,

James


Sorry, I think I reflected too much on my own situation. Stupid as you actually wrote the important bits in capitals to make it even more obvious....


Now that I think of it, you could still use the same method in combination with a special form of applicationShouldOpenUntitledFile: that returns YES at application startup (using a flag for that in your app delegate), but NO otherwise. However, there are possibly much better ways to do this.

Good luck, Patrick


_______________________________________________ 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
  • Prev by Date: Re: RedMon
  • Next by Date: Re: Cocoa-dev FAQ?
  • Previous by thread: Re: Cocoa-dev FAQ?
  • Next by thread: ODBC query NSTableView
  • Index(es):
    • Date
    • Thread