Re: Preventing Doc based apps from creating docs
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