• 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: Preventing Doc based apps from creating docs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing Doc based apps from creating docs


  • Subject: Re: Preventing Doc based apps from creating docs
  • From: Fritz Anderson <email@hidden>
  • Date: Sat, 26 Nov 2011 19:11:41 -0600

On 26 Nov 2011, at 5:41 PM, April wrote:

> I've made a document based application. However whenever I switch to it through the doc a new document is created even though I'm already working on one...
> I cannot seem to find a way to prevent that from happening. I do not want it to create a new document unless the user requests it. What settings am I missing?

Have your app delegate return NO from -applicationShouldOpenUntitledFile: when you don't want an untitled file to open.

	— F

_______________________________________________

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: 
 >Preventing Doc based apps from creating docs (From: April <email@hidden>)

  • Prev by Date: Re: "byte orders" question
  • Next by Date: Re: "byte orders" question
  • Previous by thread: Preventing Doc based apps from creating docs
  • Next by thread: MapKit
  • Index(es):
    • Date
    • Thread