dimitarnestorov/DNLoginServiceKit

Easily manage login items in macOS.


License
Apache-2.0

Documentation

DNLoginServiceKit

Actions Status License: Apache-2.0

Easily manage login items in macOS.

Installation

Carthage

github "dimitarnestorov/DNLoginServiceKit"

CocoaPods

pod 'DNLoginServiceKit', :git => 'https://github.com/dimitarnestorov/DNLoginServiceKit.git'

Example

Check if login item exists

BOOL loginItemExists = DNLoginServiceKit.loginItemExists;

Add login item

[DNLoginServiceKit addLoginItem];

Remove login item

[DNLoginServiceKit removeLoginItem];

About Deprecated APIs

DNLoginServiceKit uses an API that has been deprecated since macOS 10.11 El Capitan. However, there is no API migration destination that meets the current specifications.

See this issue for more details.