On Thu, Sep 22, 2011 at 6:06 AM, Gerriet M. Denkmann
<[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to