On 2010 Aug 07, at 14:39, John Ackert wrote: > I have an NSPopUpButton bound to an NSArrayController which manages the > content of the NSPopUpButton menu. Now I want some extra menu items at the > end of the dynamic content separated by a separator menu item. > What is the best way to do this?
Cocoa Bindings are great code-savers for some things, but not for menus. I would recommend that you forget about bindings, delete the array controller, and populate the menu in code. My recommendation is strengthened by the fact that you have "dynamic content" (see -menuNeedsUpdate), and also that no one has come up with a way to put a separator menu item into an array controller in the five hours since you posted your message. I suspect that if this was possible, it wouldn't be any fun. _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com