• 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
NSDocument autosavesInPlace and additional menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDocument autosavesInPlace and additional menu items
      • From: Jerome Krinock <email@hidden>
    • Re: NSDocument autosavesInPlace and additional menu items
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Mysterious write-only SMB behavior (Kirk)
  • Next by Date: strange behaviour of hasPrefix
  • Previous by thread: Re: Mysterious write-only SMB behavior (Kirk)
  • Next by thread: Re: NSDocument autosavesInPlace and additional menu items
  • Index(es):
    • Date
    • Thread