On May 23, 2012, at 12:43 PM, Martin Hewitson <martin.hewit...@aei.mpg.de> wrote:
> > On May 23, 2012, at 05:30 PM, Kevin Perry wrote: > >> Does "Revert to Last Saved" become available after saving and editing? Which >> NSDocument methods are you overriding? > > I override: > > -autosavesInPlace > -readFromURL:ofType:error: > -writeToURL:ofType:error: > -saveDocument: > > plus some others (like -printDocument) which I don't think are relevant. Do you override -undoManager or call -setHasUndoManager:? It's probably a good idea to list all NSDocument methods you are overriding, regardless of whether you think they're relevant. --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