状态栏应用程序 - 可可
我看到了这个指南:http://vimeo.com/17110202 现在我想升级这个应用程序并使用菜单之外的更多选项。
我心想我想要构建像 Spotlite 这样的东西(相同的设计) 但我不知道如何使用除菜单之外的更多选项。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Apple 发布了一个示例项目,展示了如何嵌入
NSMenuItems
内的NSViews
。基本思想是发送-[NSMenuItem setView:]
以更改菜单项的视觉表示。Apple published a sample project that shows how to embed
NSViews
insideNSMenuItems
. The basic idea is to send-[NSMenuItem setView:]
in order to change the visual representation of a menu item.正如我所读,不可能更改 StatusBar 应用程序中 NSMenuItem 的视图
As i read, it is not possible to change the view of a NSMenuItem in a StatusBar app