Re: Helper Tools and launchd. Was: Login item not hidden
Re: Helper Tools and launchd. Was: Login item not hidden
- Subject: Re: Helper Tools and launchd. Was: Login item not hidden
- From: Jens Alfke <email@hidden>
- Date: Wed, 08 Jun 2011 16:19:43 -0700
On Jun 8, 2011, at 4:12 PM, Jerry Krinock wrote:
> Unfortunately there are some Cocoa classes which you need in command-line tools which are in AppKit; NSWorkspace for example.
Yeah, there are some annoyances like that. A little bird told me some of that may be improved in Lion, but sources at Apple did not respond to my request for confirmation.
There are workarounds. A lot of NSWorkspace is just a convenience wrapper around LaunchServices, for example. If you can avoid linking against AppKit, it improves your process’s launch time and footprint slightly. (The expense is not from AppKit per se, so much as making a connection to the window server.)
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden