Skip to content

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

License

Notifications You must be signed in to change notification settings

shergin/NSStatusBar-MISSINGOrder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published