Re: NSDocument autosavesInPlace and additional menu items
Re: NSDocument autosavesInPlace and additional menu items
- Subject: Re: NSDocument autosavesInPlace and additional menu items
- From: Quincey Morris <email@hidden>
- Date: Wed, 3 May 2017 15:43:06 -0700
On May 3, 2017, at 08:03 , Eyal Redler <email@hidden> wrote:
>
> my menu nib contains "Save" and "Save As...” items
What is the IB action associated with your Save As item? It’s not clear how Cocoa recognizes the menu item, but the action seems like the likely mechanism. Or it could be by standardized name, so your old menu might (e.g.) have three periods where an ellipsis is expected.
> A test app I created from a template also has "Save" and "Save as..." but the "Save as..." is replaced by duplicate when running.
According to the 10.7 release notes, Duplicate is added, and Save As is “hidden”. You’re getting the addition, just not getting the hiding.
If you can’t figure it out, there may be some IB magic in the File menu that your XIB doesn’t have because it’s too old. You could try putting a fresh File menu in your menu bar, and modify it to match any other customized items in your old one.
_______________________________________________
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