Have you tried this (in your Persistent document subclass)? - (void)close {
// we're about to close this document but we have to do some housekeeping [self cleanup]; [super close]; } > On 23-Nov-2015, at 07:41, Motti Shneor <su...@bezeqint.net> wrote: > > Problem is - the application quits immediately even when there are dirty > documents open!!! the @#$@#$ document "architecture" feels free to quit > because all has been "AutoSaved". not "Saved". I just want the old behavior - > you should not be able to quit with dirty documents. That's all. > > I do have, of course, validation on saves (Hmmm.... CoreData has, and I added > my overrides). But happy-happy-document-architecture doesn't really care. > > Cool Runnings, Erne. _______________________________________________ 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