An open API service indexing awesome lists of open source software.

https://github.com/mezhevikin/maker

🍰 A tiny syntactic sugar for Swift initializers. Only 15 lines of codes.
https://github.com/mezhevikin/maker

closure init initializer initializers ios lambda lightweight macos make maker nsobject sugar swift then uikit uiview

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Maker

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

```swift
let titleLabel = UILabel {
$0.textColor = .red
$0.text = "Hello"
}
```

### Alternative

```swift
let titleLabel = UILabel().make {
$0.textColor = .red
$0.text = "Hello"
}
```

### Swift Package Manager

```
https://github.com/mezhevikin/Maker.git
```