Cocoa menu with images
cocoa, image, menu, objective-c
Solution
Any sort of menu in Cocoa, whether it's in the menubar, part of an `NSPopUpButton`, or a combobox, uses `NSMenu` to display its menu. The `NSMenu` displays a list of `NSMenuItem`s. Each `NSMenuItem` has a `-[NSMenuItem setImage:]` method. Have you tried that?
Problem
I need to make a popup or pull down menu in Cocoa that will contain either an image or an image with text as the representation of the item. Can anyone suggest a way I could do this programatically?