制作位于 Mac OSX 菜单栏中的简单应用程序的最简单方法是什么?

发布于 2024-08-26 10:18:03 字数 120 浏览 7 评论 0原文

我正在尝试制作一个位于 Mac OSX 菜单栏上的简单应用程序,并提醒用户我们网站上的更新。

我一直在尝试搜索有关如何执行此操作的文档,但到目前为止还没有成功。有人能指出我正确的方向吗?

谢谢!

I'm trying to make a simple app that sits on the Mac OSX menu bar and alerts users of updates on our website.

I've been trying to search for documents on how to do this, but no luck so far. Can anyone point me in the right direction?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

静赏你的温柔 2024-09-02 10:18:03

您可能会发现教程很有帮助。

您可以通过运行“Menu Extra”插件来实现您想要做的事情。

它们安装在:

/System/Library/CoreServices/Menu Extras

它们基于 NSMenuExtra 类构建。 这里是关于该主题的小教程。 这里是另一个。它们已经过时了,但应该有所帮助。

这些(123) StackOverflow 问题是主题。

You might find this tutorial helpful.

You achieve what you are trying to do by running a "Menu Extra" plugin.

They are installed in:

/System/Library/CoreServices/Menu Extras

They are built on NSMenuExtra class. Here is a small tutorial on the topic. Here is another one. They're quite outdated but they should help.

These (1, 2, 3) StackOverflow questions are on topic.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文