Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 791 Bytes

File metadata and controls

32 lines (19 loc) · 791 Bytes

NSBundle+LoginItem

Build Status

A NSBundle category for adding / removing the bundle to LoginItems.

Usage

#import <NSBundle+LoginItem/NSbundle+LoginItem.h>

// Add current application to LoginItems
[[NSBundle mainBundle] enableLoginItem];

// Remove current application from LoginItems
[[NSBundle mainBundle] disableLoginItem];

Installation

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

pod "NSBundle+LoginItem"

Author

Tom Li, nklizhe@gmail.com

License

NSBundle+LoginItem is available under the MIT license. See the LICENSE file for more info.