On Apr 20, 2014, at 22:26 , Kyle Sluder <k...@ksluder.com> wrote:

>> In a Save the dirty mark is not cleared until the file is written, thus it
>> asks before quitting about saving the document.

> Come to think of it, does your app adopt Lion Autosave?

The implication of “dirty mark” — if taken literally — is that this is pre-Lion 
NSDocument behavior. The newer behavior has “Edited” text in the title bar, of 
course, and no mark in the close button. Perhaps that’s why it’s not behaving 
as expected on quitting — the deferral of termination may happen only with 
“modern” NSDocument behavior.

Unfortunately, trying to predict the effects of implementing various 
combinations of the various overrides, return values and miscellaneous dreck 
that’s accumulated in NSDocument API since 10.5 is probably beyond the ability 
of mere mortals.

_______________________________________________

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

Reply via email to