• 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: Not showing window at Document-Based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not showing window at Document-Based application


  • Subject: Re: Not showing window at Document-Based application
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 26 Apr 2008 03:42:25 -0700


On Apr 26, 2008, at 02:57, Jere Gmail wrote:

I have created Document-Based application. The problem is that every
time I run the application an empty document is created.
I don't want this to happen. I want the user to have to open a new one.
How can I disable this behaviour?

Take a look at NSApplication's delegate method 'applicationShouldOpenUntitledFile:'.


But -- if suppressing the untitled document is a matter of preference instead of functionality -- it's worth thinking about whether consistency with other document-based applications does not outweigh dislike of the standard behavior.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Not showing window at Document-Based application (From: "Jere Gmail" <email@hidden>)

  • Prev by Date: radio Button newbie question
  • Next by Date: Re: Not showing window at Document-Based application
  • Previous by thread: Not showing window at Document-Based application
  • Next by thread: Re: Not showing window at Document-Based application
  • Index(es):
    • Date
    • Thread