Then
Then copied to clipboard
✨ Super sweet syntactic sugar for Swift initializers
thx!
Has Then been abandoned? It doesn't appear @devxoul has responded to any issues or PRs, or made any code changes since Sept 2019. And basically every comment he made before...
## Motivation To mutate some deeply nested value types, we have to write the whole key path at least twice: ```Swift some.very[deep].structure.someProperty = someValue some.very[deep].structure.anotherProperty = anotherValue // or with...
@shang1219178163 add @discardableResult
Hello. Thank you for Then. Added withIf, doIf, thenIf.
I want `do` to return arbitrary value. When you don't return anything in block of `do`, it's usage is same as before.
@devxoul What do you think of this syntax? ``` let label = UILabel { $0.textAlignment = .center $0.textColor = .black $0.text = "Hello, World!" } ```
The `.gitignore` file currently is ignoring xcodepoj-related files, which currently does nothing for the Then project because of the decision to go full SPM and remove all xcodeproj stuff (#55)....
$carthage update --platform macOS results in: *** Skipped building Then due to the error: Dependency "Then" has no shared framework schemes for any of the platforms: Mac If you believe...