NSStatusItem is what you are looking for. Also add LSUIElement with string value of 1 to your Info.plist to hide it from Dock.
More Related Contents:
- How to convert an NSData into an NSString Hex string?
- How to hide the Dock icon
- How to handle with a default URL scheme
- check internet connection in cocoa application
- How to detect if OS X is in dark mode?
- OSX application without storyboard or xib files using Swift
- How to get serial number from Mac hard disks?
- NSImage size not real size with some pictures?
- Codesign: What are unsealed contents?
- How to customize disclosure cell in view-based NSOutlineView
- Convert Virtual Key Code to unicode string
- Adjust screen brightness in Mac OS X app
- Is there a way of getting a Mac’s icon given its model number?
- How to install latest version of openssl Mac OS X El Capitan
- grep -P no longer works. How can I rewrite my searches?
- rails server fails to start with mysql2 using rvm & ruby 1.9.2-p0 on OSX 10.6.5
- Where does MAMP keep its php.ini?
- List of macOS text editors and code editors [closed]
- Error: Cannot install in Homebrew on ARM processor in Intel default prefix (/usr/local)
- How to set the runtime path (-rpath) of an executable with gcc under Mac OSX?
- Pasting code into terminal window into vim on Mac OS X
- configure: error: C compiler cannot create executables
- How do I create a Bash alias?
- Error: The ‘brew link’ step did not complete successfully
- Best way to make NSRunLoop wait for a flag to be set?
- Updating Make Version on Mac
- Make 2 contradictory methods work in drawRect
- How do I draw an NSString at an angle?
- How to generate core dumps in Mac OS X?
- Run a script only at shutdown (not log off or restart) on Mac OS X