There doesn't appear to be any way to cancel state restoration other than from the app delegate method application:shouldRestoreApplicationState:. So if it's trying to restore a view controller for a document that is no longer available on the device, I want to cancel the whole restoration. The only object that knows which document was previously open is the view controller that displays the document. But the only methods offered for decoding a VC's state is decodeRestorationStateWithCoder:, which doesn't return anything like a BOOL to say if it could be restored or not.
Any ideas? -- Steve Mills Drummer, Mac geek _______________________________________________ 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