On Dec 3, 2009, at 3:33 AM, Torsten Curdt wrote:

> The Sparkle frameworks uses @loader_path while the FeedbackReporter
> uses @executable_path instead.
> 
> What's the difference?

@executable_path is a macro pointing to the path of the executable binary, and 
nothing else. @loader_path is a macro pointing to whatever binary has 
instructions to load the library, which can be the application, or a 
library/framework, or a loadable bundle. @loader_path is more powerful and 
allows you to easily embed frameworks inside loadable bundles, which is 
impossible to do with @executable_path unless the framework in question is 
bundled with the executable.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to