An example of using launchd, service management and Authorization Services to build a factored Mac app.
Objective-C C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LogViewer.xcodeproj
LogViewer
logcat
README.md

README.md

LogViewer

Logviewer is a Cocoa app that allows authorised users to view log files that are restricted by filesystem permissions to the super-user or administrators. It demonstrates use of the System Management framework to install a privileged helper (the logcat tool), using launchd to start the helper on demand and the Authorization framework to coordinate access control. Designing, writing and deploying a privileged helper on Mac OS X describes the application in depth.