sirio-kit-iOS is a library containing the iOS implementation of the Sirio design system used for INPS mobile apps UI.
- iOS 15.0+
- Xcode 14+
- Swift 4+
- Add the following to your Package.swift:
.package(url: "https://github.com/INPS-it/sirio-kit-iOS", .upToNextMajor(from: "8.1.0"))
-
Declare
import SirioKitIOS
to use the components where you want to use them. -
Register the font provided by the library in the app scene (This example can be found in the demo project).
@main
struct iOS_ExampleApp: App {
init() {
// Register fonts from library
Fonts.registerFonts()
// Svg Coder
SDImageCodersManager.shared.addCoder(SDImageSVGCoder.shared)
}
}
- Use components as in the example app.
sirio-kit-iOS is released under the BSD 3-Clause License See LICENSE for details.