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: Wed Nov 09 2022 05:00:45 GMT-0500 (GMT-05:00)