Last active
August 3, 2019 00:40
-
-
Save Kalvin126/65eaf3ff836f5aeaf44db8319416d91b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class Thing { | |
var some: String | |
var someInt: Int | |
init(builder: (Thing) -> Void) { | |
builder(self) | |
} | |
} | |
Thing { | |
$0.some = "Some String" | |
$0.someInt = 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment