• 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: Error Recovery at close of document window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error Recovery at close of document window


  • Subject: Re: Error Recovery at close of document window
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 22 Sep 2011 08:25:24 -0700

On Thu, Sep 22, 2011 at 6:06 AM, Gerriet M. Denkmann
<email@hidden> wrote:
> In a document based app, when
> - (id)fileWrapperOfType:(NSString *)typeName  error:(NSError **)outError
>
> does not work, I return an NSError with NSRecoveryAttempterErrorKey etc.
> which gives the user the option to sort out the problem, and finally I call:
>        [self performSelector:@selector(saveDocument:) withObject:self afterDelay:0.0];
> works fine if the writing was triggered by File→Save, or autosave etc.

Your recovery attempter should try to resave the document.

--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: 
 >Error Recovery at close of document window (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Gestalt
  • Next by Date: Deploy terminal app
  • Previous by thread: Re: Error Recovery at close of document window
  • Next by thread: Deploy terminal app
  • Index(es):
    • Date
    • Thread