• 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: Kyle Sluder <email@hidden>
  • Date: Thu, 13 Feb 2014 17:38:11 -0800

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


  • Follow-Ups:
    • Re: Prevent autoloading of last opened document
      • From: Dave Fernandes <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>)

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