开发者

StatusBar App - Cocoa

开发者 https://www.devze.com 2023-02-22 16:46 出处:网络
I saw this guide: http://vimeo.com/17110202 And now I want to upgrade this app and to use more options besides Menu.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消