On 2014 Apr 07, at 03:49, Michael Starke 
<michael.sta...@hicknhack-software.com> wrote:

> If wanting to build a menu on the fly I've been using the menuNeedsUpdate 
> delegate method.

Michael’s advice is correct.

Cocoa Bindings are useful to magically keep visible user interface elements in 
sync with data, although the magic comes with some pain, sometimes quite 
considerable.  But menus only appear when the user clicks on them and disappear 
when the mouse goes up.  Therefore it is natural to update menus, with 
menuNeedsUpdate:, when clicked, and there is no need to update them when they 
are not visible.  Conclusion: Using Cocoa Bindings on menus is all pain for no 
gain.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to