On May 23, 2010, at 11:01 PM, Ben Haller wrote:

>  So I've got an app that can run both as a UI app and as a command-line tool.

One recommendation is to split the app into a GUI front-end and a back-end tool.

I think you can also get away with using LSBackgroundOnly or LSUIElement and 
then, when you want it to be a foreground GUI app, use TransformProcessType() 
to make it one.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to