Re: NSDocument saving query (SOLVED)
Re: NSDocument saving query (SOLVED)
- Subject: Re: NSDocument saving query (SOLVED)
- From: Quincey Morris <email@hidden>
- Date: Thu, 14 Apr 2016 12:51:21 -0700
- Feedback-id: 167118m:167118agrif8a:167118soLzz9yD1w:SMTPCORP
On Apr 14, 2016, at 12:42 , Michael McLaughlin <email@hidden> wrote:
>
> A solution appears to be
>
> [newDoc saveDocumentWithDelegate:
>
> which looks to be a simplified version of
>
> [newDoc runModalSavePanelForSaveOperation:
It’s probably a poorer choice, not a simpler choice, because (according to the header file) it has some other checks and may interact with the user in ways you probably don’t want. It’s also no easier to use, since it has the same parameters, except for the save operation, which would be NSSaveAsOperation.
_______________________________________________
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