Skip to content

Consumer

Robin edited this page Jul 19, 2024 · 1 revision

You want to use Spark on your iOS project ?

You have two possibilities :

  • Use the complete Spark solution. You just need to add this package on your repo and add SparkCore on your target. All components will be available.
.package(url: "https://github.com/adevinta/spark-ios/", from: "0.17.0")
  • Use just one or some Spark components. You need to import the components you want and also the theming package.
.package(url: "https://github.com/adevinta/spark-ios-theming", from: "0.1.0")

And for example:

.package(url: "https://github.com/adevinta/spark-ios-component-badge", from: "0.1.0")

After import package(s), the first thing you must do is create a theme from the Theme protocol.

If you need to have more information, please contact the Spark-ios team.

Clone this wiki locally