github dscyrescotti/SwiftTheming v2.0.0
Version 2.0.0

2 years ago

What's new in Version 2.0.0?

  • As Version 2.0.0 is intended to provide a better developer experience, the API has been changed as below.
    • The API comes with the new style of declaration of themes.
    • To provide default theme and appearance, it starts using DefaultTheming instead of injecting default values into themeProviding(defaultTheme:defaultAppearance:).
    • It no longer uses the generic types in Themed and ThemeProvider.
    • All different types of asset is needed to declare separately instead of defining in value type conforming to Assetable.
    • To access interface elements (colors, images, etc), it is no longer required to pass the instance of ThemeProvider so that all interface elements can be initialized with respective asset keys.

To see more, pls read MigrationGuide.md.

  • SwiftTheming provides the documentation that helps developers explore the API in ease.
  • Version 2.0.0 includes unit testing that covers around 95% of the API.

Don't miss a new SwiftTheming release

NewReleases is sending notifications on new releases.