I'm new to macOS development (I mostly develop for Windows.) I need to develop a macOS launch daemon that would track power events and lid state of the MacBook.
Can someone let me know which programming language is it better to develop it in?
Will Swift work, or do I need something else for that?