• 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: Prevent autoloading of last opened document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent autoloading of last opened document


  • Subject: Re: Prevent autoloading of last opened document
  • From: Dave Fernandes <email@hidden>
  • Date: Fri, 14 Feb 2014 00:24:18 -0500

Good point. I guess if the document URL is nil, you should think twice about this.

On Feb 13, 2014, at 8:38 PM, Kyle Sluder <email@hidden> wrote:

> On Thu, Feb 13, 2014, at 05:21 PM, Dave Fernandes wrote:
>> Try returning nil for the document in [NSDocumentController
>> reopenDocumentForURL::::]’s completion handler, and also return the
>> following error in the completion handler:
>>
>> [NSError errorWithDomain:NSCocoaErrorDomain code:NSUserCancelledError
>> userInfo:nil]
>
> This sounds like a great way to lose documents that were autosaved at
> quit but never manually saved.
>
> They won't be restored, and then they'll be deleted from the autosave
> directory.
>
> Eric, why are you trying to avoid restoring documents?
>
> --Kyle Sluder


_______________________________________________

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: 
 >Prevent autoloading of last opened document (From: Eric Gorr <email@hidden>)
 >Re: Prevent autoloading of last opened document (From: Mike Abdullah <email@hidden>)
 >Re: Prevent autoloading of last opened document (From: Eric Gorr <email@hidden>)
 >Re: Prevent autoloading of last opened document (From: Mike Abdullah <email@hidden>)
 >Re: Prevent autoloading of last opened document (From: Dave Fernandes <email@hidden>)
 >Re: Prevent autoloading of last opened document (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Storyboard won't instantiate my class
  • Next by Date: NSPDFPanel accessory view validation
  • Previous by thread: Re: Prevent autoloading of last opened document
  • Next by thread: Password authentication
  • Index(es):
    • Date
    • Thread