The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Command and AtomicValue now part of the Unicore
4 years ago
- removed Command dependency
- added Command and AtomicValue code to the package
Added Carthage Support
4 years ago
Fixed issues with Carthage builds for tvOS, iOS and watchOS
Added Carthage Support
4 years ago
Fixed issues with Carthage builds for tvOS, iOS and watchOS
(inout State, Action) -> Void reducers
4 years ago
changed reducers to be `(inout State, Action) -> Void` instead of `(State, Action) -> State` reducers` to reduce boilerplate.
now you can use them as
```swift
func reduce(_ state: inout State, with action: Action) {
if let action = action as? Actions.MoveMade {
// mutating state directly
state.board = action.board
}
}
```