Easy manage login items in MacOSX
platform :osx, '10.9'
use_frameworks!
pod 'LoginServiceKit', :git => 'https://github.com/Clipy/LoginServiceKit.git'
Add login item.
let appPath = NSBundle.mainBundle().bundlePath
LoginServiceKit.addPathToLoginItems(appPath)
Remove login item.
let appPath = NSBundle.mainBundle().bundlePath
LoginServiceKit.removePathFromLoginItems(appPath)
- Fork it ( https://github.com/Clipy/LoginServiceKit/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request