Re: Bindings to enable a menu item based on an array's element count
Re: Bindings to enable a menu item based on an array's element count
- Subject: Re: Bindings to enable a menu item based on an array's element count
- From: Daryle Walker <email@hidden>
- Date: Sun, 07 Sep 2014 19:16:23 -0400
On Sep 7, 2014, at 3:53 PM, Ken Thomases <email@hidden> wrote:
> On Sep 7, 2014, at 2:09 PM, Daryle Walker <email@hidden> wrote:
>
>> Putting “my2ndCoordinator.overflowArray” gives me a red exclamation stop-sign in the text field […]. Appending a “.@count” gives a grey exclamation stop-sign with a tool-tip of: “Xcode cannot resolve the entered keypath”.
>
> Proceed anyway. Xcode is just reporting that it isn't sure. It's a warning, not an error.
Putting a “.@count” didn’t cause a crash. Adding a value transformer of NSNegateBoolean…no crash.
Starting app again (with Xcode in debug mode). App has restored web-history entries from yesterday and a few days ago. The “Earlier Today” menu finally isn’t there. Load home page: home page in an item by itself, no “Earlier Today” item, no with-date menu item for today (should be hidden), yesterday’s menu lost the home page entry. Visit a few more new pages: more items directly show up in the history menu. Finally visit another page that exceeds the direct menu item limit, moving an item to the overflow submenu: “Earlier Today” shows up with the excess item in its submenu. Quit and restart: menus in the same configuration as last time. Quit and restart without loading WebHistory: no menu items; loading more pages until the overflow menu shows up works. Clearing the History and repeating the exercise: works. Yay.
Thanks.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT 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