An example of using launchd, service management and Authorization Services to build a factored Mac app.
Objective-C C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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.