• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDocument autosavesInPlace and additional menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDocument autosavesInPlace and additional menu items
      • From: Redler Eyal <email@hidden>
References: 
 >NSDocument autosavesInPlace and additional menu items (From: Eyal Redler <email@hidden>)

  • Prev by Date: Re: NSSplitView Problems
  • Next by Date: Does file-mapping a memory allocation work around RAM limits?
  • Previous by thread: NSDocument autosavesInPlace and additional menu items
  • Next by thread: Re: NSDocument autosavesInPlace and additional menu items
  • Index(es):
    • Date
    • Thread