MenuApp in Swift 4 to Run on Login for High Sierra?
问题 My app is a menu app that sits in the menu extras running in the background, and I'm trying to make it to run on login. What's the latest recommended practice to achieve this for High Sierra using Swift 4? According to Designing Daemons and Services, there are four different background processes on MacOS. Since I would want my app to run upon user login, I guess it's going to be either login item or launch agent. However, for Login Item, it seems there are two ways to implement Using the