Maker

master

🍰 A tiny syntactic sugar for Swift initializers. Only 15 lines of codes.
mezhevikin/Maker

Maker

🍰 A tiny syntactic sugar for Swift initializers. Only 15 lines of codes.

let titleLabel = UILabel {
    $0.textColor = .red
    $0.text = "Hello"
}

Alternative

let titleLabel = UILabel().make {
    $0.textColor = .red
    $0.text = "Hello"
}

Swift Package Manager

https://github.com/mezhevikin/Maker.git

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

  • None
Last updated: Thu Mar 14 2024 22:14:34 GMT-0900 (Hawaii-Aleutian Daylight Time)