Skip to content

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

License

Notifications You must be signed in to change notification settings

mezhevikin/Maker

Repository files navigation

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