🍰 A tiny syntactic sugar for Swift initializers. Only 15 lines of codes.
let titleLabel = UILabel {
$0.textColor = .red
$0.text = "Hello"
}
let titleLabel = UILabel().make {
$0.textColor = .red
$0.text = "Hello"
}
https://github.com/mezhevikin/Maker.git
link |
Stars: 2 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics