Re: NSDocument autosavesInPlace and additional menu items
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