NSDocument autosavesInPlace and additional menu items
NSDocument autosavesInPlace and additional menu items
- Subject: NSDocument autosavesInPlace and additional menu items
- From: Eyal Redler <email@hidden>
- Date: Wed, 3 May 2017 18:03:34 +0300
Hi,
I'm working on a very old document based application. When autosave in place was introduced back in 10.7 I've added support for this and made it optional for my users. I know that the autosaving feature was tweaked a few times in subsequent releases but I'm really fuzzy about what these tweaks were and when they were added.
At any rate, my menu nib contains "Save" and "Save As..." items and when my app is running in autosave mode - that is - when I'm returning YES from +autosavesInPlace then the "Duplicate", "Rename" and "Move To..." items are added to the menu. This is all great but for some reason the "Save as" item is still kept so I have save, save as, duplicate etc.
A test app I created from a template also has "Save" and "Save as..." but the "Save as..." is replaced by duplicate when running.
I'm having a hard time finding the place where this feature is documented so I would be grateful if someone here could point me in that direction or possibly explain what's happening here.
TIA
Eyal Redler
------------------------------------------------------------------------------------------------
"If Uri Geller bends spoons with divine powers, then he's doing it the hard way."
--James Randi
www.eyalredler.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden