Force NSMenu (nested submenu) update for Main Menu of Cocoa App
问题 I have some submenu inserted as Window item submenu of Main Menu I have an instance of my object (let's assume its class name is MenuController) inherited from NSObject and supports 2 from NSMenuDelegate methods: – numberOfItemsInMenu: – menu:updateItem:atIndex:shouldCancel: This instance added as Blue-Object into NIB for awaking at runtime Object from steps 2-3 configured as delegate for submenu (step 1) Now, I can provide submenu content in runtime. Next, I do following: I can add new items