Mac Menu Bar Tutorial? [closed]

2019-02-07 11:55发布

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.

标签: macos menu
1条回答
Animai°情兽
2楼-- · 2019-02-07 12:16

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

查看更多
登录 后发表回答