On Aug 27, 2014, at 5:03 AM, Daryle Walker <dary...@mac.com> wrote: > But I saw something weird one time running my app through the Xcode debugger > after a previous crash. I saw an NSLog message complaining about app restore > data. I think NSDocumentController does app-restore actions even without an > NSDocument architecture. Is this documented? What APIs can I use to control > this? Are there other automatic actions NSDocumentController (or a subclass) > does when initialized? (I just need it for the “Open Recent” menu, so I want > to shut down, or at least check myself, any other automation.)
I looked through the Console and found the message: > 8/25/14 10:50:50.516 PM MyApp[57583]: -[NSDocumentController > openUntitledDocumentOfType:andDisplay:error:] failed during state > restoration. Here's the error: > Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." Why is NSDocumentController trying state restoration? — Daryle Walker Mac, Internet, and Video Game Junkie darylew AT mac DOT com _______________________________________________ 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