I need to write a function that adds my application to Startup items on OS X 10.11. That\'s what I found at the moment:
func applicationIsInStartUpItems() ->
You have to use the Service Management framework now. You create a helper application that you add to your application bundle and its job is to run code to launch your main application. Some resources for you: