A tiny library that allows define position for `NSStatusBarItem` inside `NSStatusBar`.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pod/Classes
.gitignore
LICENSE
NSStatusBar+MISSINGOrder.podspec
README.md

README.md

NSStatusBar+MISSINGOrder

Version License Platform

A very tiny library that allows define position for NSStatusBarItem inside NSStatusBar.

Usage

#import "NSStatusBar+MISSINGOrder.h"

// Let's create new status item at the end of menu bar!
NSStatusItem *statusItem =
    [systemStatusBar statusItemWithLength:NSVariableStatusItemLength
                               positioned:NSStatusBarItemOrderingModeBefore
                               relativeTo:NSStatusBarItemPriorityNotificationCenter];

// Voilà!

Installation

NSStatusBar+MISSINGOrder is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "NSStatusBar+MISSINGOrder"

Author

Valentin Shergin, valentin@shergin.com

License

NSStatusBar+MISSINGOrder is available under the MIT license. See the LICENSE file for more info.