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 <k...@ksluder.com> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com