site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=nIJm1eavNUO3yCtrUNih/FscLTlBG9y9724s58TA6oE=; b=UliE9ZoDIhfOaT3tRqkVj7rLFW1Kw3Va427N6juiqg07CDO6MWCvfJQWhR6evvIR/3 yCJdS4UP8Bc65BePDlBN5uIb2x4ialeH4rf7JIfPplG9iEWSOe+ZjWqgrhtHytzmz995 ovl2ptO8OhjyhaArsjQRAJ9DjVUXHDFqlNO0s= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=bnrc4AVS9D3+CCL5qW3mCE2u6IEBCXL+xL5ZYi2up9l5mHOJ6hCFXcxhvDLtO4zpBB atDuYUGq9qGBJo11ayW43m5voduMCP6t89Lm6cTSom73yf8ky56ZT+LhR+mte6My9m3Y Yeht8Ninh+DziJHqroMm2rWCx+BjXp7QDQuaQ= On Aug 7, 2008, at 9:39 PM, Andrew White wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Before I spend too much effort writing my own, is there an API to build a launchd.plist file from inside CoreFoundation or Cocoa? Or even just a list of the key strings as symbolic constants? Obviously, I can create it manually by building a dictionary and then calling [NSDictionary writeToFile: ...], but I'm trying to avoid reinventing (or rewriting?) the wheel. :) There's only maybe 40 string constants in total supported by launchd in total (man launchd.plist), and most of Apple's entries only use maybe 10-15. Just make the dictionaries yourself with either CF or NS objects. Any API that would expose the full capabilities of launchd would probably be more complex than just coding up the dictionary structure yourself, customized to exactly the keys you need. This email sent to site_archiver@lists.apple.com