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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
