Swiftpack.co - mezhevikin/Maker as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by mezhevikin.
mezhevikin/Maker 0.0.1
🍰 A tiny syntactic sugar for Swift initializers. Only 15 lines of codes.
⭐️ 2
🕓 2 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/mezhevikin/Maker.git", from: "0.0.1")

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

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics