Version: 1.0

Posted: 2007-10-26

Build Requirements: Xcode 3.0

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample (“PreLoginAgents.zip”, 24.2K)
Download Sample (“PreLoginAgents.dmg”, 75.9K)



Description

Mac OS X 10.5 introduced the ability to run a launchd agent while the login screen is showing. Such 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 Mac OS X and you want to provide assistance at login time, you will probably need a pre-login launchd agent.

Creating a pre-login launchd agent is trivial. However, displaying UI from such an agent does present some unique challenges. This sample includes example pre-login launchd agents that display UI using both AppKit and HIToolbox.

Document Revision History

Date Notes
2007-10-26Pre-login launchd agents to display UI using AppKit and HIToolbox.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.