Version 1.1, 2014-04-07
Updated to use the latest coding tools and techniques.
(Full Revision History)
OS X 10.9
Pre-login launchd agents are the best solution to a small but important class of problems. For example, if you're developing assistive technology for OS X and you want to provide assistance at login time, you will probably need a pre-login launchd agent.
To a large extent a pre-login launchd agent can operate like a normal Cocoa application. However, the pre-login environment results in some unique challenges; this sample shows how to meet those challenges.