Commit Graph

11 Commits

Author SHA1 Message Date
Stephen Celis
fd3beef833 Fix recursive case study (#640)
* Fix recursive case study

Relying on the array-based ForEachStore means potential crashes when
SwiftUI evaluates views that it shouldn't. We always prefer using
IdentifiedArray, so let's update this example accordingly.

* Use forEach under the hood
2021-07-08 10:38:24 -04:00
Stephen Celis
ef45d038fc Revert code that snuck in #267 (#635)
Had some debug code that puzzled me while testing some of the Case Path
changes today.
2021-07-07 15:35:38 -04:00
Brandon Williams
6f1bc259e4 Modernize examples (#525)
* Refactor some of the example code.

* wip

* wip

* wip

* lots more updates

* fixes

* another fix

* todo simplification

* fix compiler issue in 11.7

* Update Examples/Todos/Todos/Todos.swift

Co-authored-by: Stephen Celis <stephen@stephencelis.com>

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2021-05-04 09:17:21 -05:00
Stephen Celis
31f58da4f2 Fix Recursive Reducer (#267) 2020-08-24 17:28:56 -04:00
Brandon Williams
1806d4a177 Pullback all case studies into mega reducer (#204)
* wip

* wip

* fixes

* clean up

* clean up

* clean up

* clean up
2020-07-01 09:36:23 -05:00
mbrandonw
b8c67d5d4f Run swift-format 2020-06-30 14:49:39 +00:00
Brandon Williams
1005bbd393 Signpost instrumentation of reducers (#142)
* Signpost higher-order reducer.

* cleanup

* guard

* clean up

* wip

* more

* wip

* wip

* wip

* clean up

* clean up

* wip

* run

* wip

* wip

* clean up

* Update Makefile

* No failures

* cleanup

* Update Makefile

* already guarded

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-05-27 10:22:10 -07:00
Stephen Celis
9c339bf4ae Add "run" function to Reducer (#91)
* Add "run" function to Reducer

* Doc fixes
2020-05-13 13:09:17 -04:00
Stephen Celis
6f9dee713f Demos Xcode 11.3.1 support (#52)
* Demos Xcode 11.3.1 support

* Fix

* wip

* Skip test
2020-05-11 18:37:25 -04:00
Stephen Celis
d95caece62 Introduce TestStore.scope (#4)
* Introduce TestStore.scope

* Re-constrain TestStore

* Run swift-format

Co-authored-by: stephencelis <stephencelis@users.noreply.github.com>
2020-05-04 11:01:19 -04:00
Brandon Williams
d2240d0e76 The Composable Architecture
Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-05-03 22:26:28 -07:00