Commit 69f7393
authored
Add didChange publisher (#8)
Publishes actions immediately after state changes.
This should offer enough API surface to:
- Wire Arboreal Stores into SwiftUI Combine-driven things such as `onReceive()` and `ObservableObject`
- Perform most updates in imperative UIKit code, since you have both the action that caused the update, and the update itself1 parent ef279db commit 69f7393
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
191 | 192 | | |
192 | 193 | | |
193 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
252 | 260 | | |
253 | 261 | | |
254 | 262 | | |
| 263 | + | |
255 | 264 | | |
256 | 265 | | |
257 | 266 | | |
| |||
0 commit comments