On Mar 7, 2012, at 2:40 AM, Prime Coderama wrote: > I then dynamically add n-amount of NSMenuItems between (2) and (3). This > works great. > > The problem I am having, is when I hit "Refresh"
I haven't studied your case in detail, but the usual mechanism for implementing dynamic menus is the delegate method -menuNeedsUpdate:. Cocoa invokes it for you whenever the menu is about to be displayed. You don't need a "Refresh" button. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
