• 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: Jerome Krinock <email@hidden>
  • Date: Thu, 4 May 2017 06:55:15 -0700

On 2017 May 03, at 15:43, Quincey Morris <email@hidden> wrote:
>
> 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.

Or maybe your predecessor implemented -menuNeedsUpdate:.  I’ve been able to hack the document-based File menu by looping through the menu’s -itemArray in -menuNeedsUpdate:.  You can identify items by their -action.  In that loop, you can also remove undesired items

On 2017 May 03, at 08:03, Eyal Redler <email@hidden> wrote:

> 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.

Seriously, I think it is so complicated that Apple realized they could not document it within their thin-ness budget, and instead opted to let users “just try it” because it “usually does what you want”.

_______________________________________________

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

References: 
 >NSDocument autosavesInPlace and additional menu items (From: Eyal Redler <email@hidden>)

  • Prev by Date: Re: Does file-mapping a memory allocation work around RAM limits?
  • Next by Date: UIWebView displays margins incorrectly with black background and paginationMode = UIWebPaginationModeLeftToRight
  • Previous by thread: Re: NSDocument autosavesInPlace and additional menu items
  • Next by thread: Re: NSDocument autosavesInPlace and additional menu items
  • Index(es):
    • Date
    • Thread