Framework soft link (optional install)
Framework soft link (optional install)
- Subject: Framework soft link (optional install)
- From: Trygve Inda <email@hidden>
- Date: Thu, 14 Jan 2010 04:17:50 +0000
- Thread-topic: Framework soft link (optional install)
I have an app that I'd like to use a Cocoa Framework in (and it'd normally
end up in my app package in the Frameworks folder).
For licensing reasons, I can't embed it directly, and my all will work
without it (though some features will be disabled).
I'd like to allow users to download this framework elsewhere, then drag it
to my app's dock icon... It will copy it to where it needs to be in the app
package, then quit and the user can relaunch.
How can I compile/link my code so that the framework effectively has a soft
link? I will need to check for the presence of the framework at runtime, and
if it is not there, avoid calling into it, but if the user has added it, the
functionality would be available.
Can I just build it, then toss out the framework in the release version and
make sure to check before calling code the uses it?
Examples?
Thanks,
Trygve
_______________________________________________
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