c6a98f06c2
This is a way to add back some of the "free" animations that we lose when creating custom bindings instead of using `@State` variables, which is extremely common in TCA / unidirectional architecture. For an example check out the live preview in the `WithStateBinding` file. The first is with a standard State binding, click to get the detail and then drag from the leading edge slowly. You will notice the selection highlight _gradually_ gets less the more you drag (or stronger if you go back). For the second one with a custom binding, drag back and you will notice it is either entirely selected, or deselected. The third uses `WithStateBinding` to give _back_ the nice animations to custom bindings. |
||
---|---|---|
.. | ||
TransactionDetailView.swift | ||
TransactionHistoryView.swift |