Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 363 Bytes

File metadata and controls

25 lines (19 loc) · 363 Bytes

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