kayak / attributions

Apache License 2.0
2 stars 2 forks source link

Installation guide for Cocoapods / Carthage? #6

Open james-ff opened 5 years ago

james-ff commented 5 years ago

Would it be possible to have an easy way to include this as a dependency for a project?

Many Thanks

sirnacnud commented 5 years ago

For Carthage all you need to do is add github "kayak/attributions" to your Cartfile. This will compile the code for AttributionsViewController into a Framework, which you then include in your project. In order to run the attributions2json.py and cartfile2json.py scripts, you will need to run them out of the Carthage/Checkouts/attributions directory. You then include the generated JSON files in your project.

Currently there is no Cocoapods support.