This documentation assumes that you are already familiar with Swift programing language, and basic iOS development.
This documentation assumes that you are already familiar with Swift programing language, and basic iOS development.
After you downloaded the files, drag and drop DSKit.xcframework and DSKit_Utils.xcframework in your project.
Import DSKit in your View Controller, subclass you view controller from DSViewController, you can copy paste the code bellow, build and run your project.
import UIKit
import DSKit
class ViewController: DSViewController {
override func viewDidLoad() {
super.viewDidLoad()
// View models
let title = DSLabelVM(.title1, text: "Welcome to DSKit")
let subtitle = DSLabelVM(.subheadline, text: "Best Design System for iOS")
// Show content
show(content: title, subtitle)
}
}