StatusBar App - Cocoa
I saw this guide: http://vimeo.com/17110202 And now I want to upgrade this app and to use more options besides Menu.
I开发者_高级运维 thought to myself that I want to build somthing like Spotlite ( same design ) But I dont know how to use more options except Menu.
Apple published a sample project that shows how to embed NSViews
inside NSMenuItems
. The basic idea is to send -[NSMenuItem setView:]
in order to change the visual representation of a menu item.
As i read, it is not possible to change the view of a NSMenuItem in a StatusBar app
精彩评论