Skip to content

0.1.0 Observable State

Compare
Choose a tag to compare
@MaximBazarov MaximBazarov released this 10 Aug 09:03
· 10 commits to main since this release
fdae42e
Fix the API error "can't mutate self is immutable" for BindKeyed in S…

…wiftUI view (#31)

Since `KeyedValueBinding` was a variable on the wrapper and wrapper was
a variable on view that is structure — semantically we were mutating
self.

I moved it to the wrapper itself, and projectedValue now returns the
wrapper, and added a subscript that is non mutating semantically.