Reputation: 49
I want to put a startup entry of my program in system so that it run everytime I start the system. But how to do in cocoa, i have no idea,Please provide me help for this.I m new bie in cocoa.
Thanks in advance
Upvotes: 0
Views: 273
Reputation: 189
You probably want to use something like this library from github: https://github.com/Mozketo/LaunchAtLoginController
LaunchAtLoginController *launchController = [[LaunchAtLoginController alloc] init];
[launchController setLaunchAtLogin:YES];
[launchController release];
Upvotes: 2