At 20:19 +0000 2/3/10, dreamcat four wrote:
Are all of these different possible structures interchangeable?
It depends on your perspective. From the perspective of launchd, it doesn't care which format you use. From the perspective of a launchd daemon developer, each format offers unique advantages. o If the sockets perform distinct functions, the dictionary of dictionaries approach lets the launchd daemon easily determine which socket is which. o If the sockets perform similar functions, Tthe dictionary of array of dictionaries approach makes that obvious. If you're writing a tool to manipulate launchd plists, I'd recommend that you work hard to preserve this distinction. A launchd daemon that expects its checkin results to be in one one format is probably going to fail if they are in the other. S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Relations, Developer Technical Support, Core OS/Hardware