• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Framework soft link (optional install)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Framework soft link (optional install)
      • From: Kyle Sluder <email@hidden>
    • Re: Framework soft link (optional install)
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
  • Next by Date: Re: Trying to create an alias file by using the new NSURL methods available with Mac OS X 10.6 !
  • Previous by thread: setting a preference pane anchor name
  • Next by thread: Re: Framework soft link (optional install)
  • Index(es):
    • Date
    • Thread