开发者

Mac Menu Bar Tutorial? [closed]

开发者 https://www.devze.com 2023-03-10 05:08 出处:网络
As it currently stands, this question is not a good fit for our Q&A开发者_如何学运维 format. We expect answers to be supported by facts, references,or expertise, but this question will likely
As it currently stands, this question is not a good fit for our Q&A开发者_如何学运维 format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I have seen many apps in the Mac App Store that are simple apps that shows you the mobile version of FaceBook or Google Reader in the menu bar.

I am not sure where to start though, so I'm asking you guys.

I would like the app to display a mobile version of FaceBook in a dropdown style window (coming from the menu bar) when the toolbar icon is pressed. Any links on how to get started will be greatly appreciated.


I think NSStatusItem is what you're looking for.

Check the following tutorial:
Creating a Standalone StatusItem Menu

Another nice example project:
Using MAAttachedWindow with an NSStatusItem

0

精彩评论

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