Skip to content

Architecture

Robin edited this page Jul 19, 2024 · 2 revisions

Since the version 0.17.0, Spark using a multi-repositories solution to manage theming, component, common code and demo app.

You can see all our repositories on this list.

There is five types of repositories :

  • spark-ios : import latest version of theming and all components packages. Contains also the demo app. (Public repository)
  • spark-ios-common : contains the common code using by two or more repositories. (Public repository)
    • The code which should not be accessible by our customers is protected by @_spi annotation.
  • spark-ios-component-XYZ : Spark component in SwiftUI and UIKit. (Public repositories)
  • spark-ios-configuration : macOS application to manage and test Spark. (Private repository)
  • spark-ios-template : repository template used for creating a component. (Private template)

Each packages on repositories contains (except spark-ios repository) :

  • Source/Core : source code
  • Source/Testing : mock and mock extension using by the unit and snapshot testing
  • Tests/SnapshotTests : snapshot tests
  • Tests/UnitTests : unit tests
Clone this wiki locally