Commit Graph

19 Commits

Author SHA1 Message Date
Stephen Celis
2828dc44f6 Runtime Warning Finesse (#1023) 2022-03-15 16:21:13 -04:00
Stephen Celis
87f388bedb Further Modernize Demos (#914)
* Modernize Demos

* wip
2021-12-09 22:41:58 -05:00
Stephen Celis
bf9ab75f9d Add CI for DocC warnings (#750)
* Add CI for DocC warnings

* More specific grep
2021-08-25 15:39:36 -04:00
Stephen Celis
575d7c0d59 Use Custom Dump (#736)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* wip

* wip

* Model Tic-Tac-Toe board using proper type

* wip

* wip

* wip

* wip

Co-authored-by: Brandon Williams <mbrandonw@hey.com>
2021-08-22 22:45:27 -04:00
Stephen Celis
e7dda73c35 Fix Effect.throttle (#654)
* Fix Effect.throttle

Fixes #540.

* Simplify

* Publicize
2021-07-13 11:06:51 -04:00
Wendy Liga
1a8bccc62e Support DocC Xcode 13 (#591)
* wip

* finish

* revert back code snippet identation to 5

* Update Sources/ComposableArchitecture/Effect.swift

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>

Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com>
2021-06-14 14:10:08 -04:00
Stephen Celis
21f2dd52ae Merge debug reducer to avoid Combine leak (#195) 2020-06-22 10:43:18 -04:00
mbrandonw
e4447bfac8 Run swift-format 2020-06-15 16:44:22 +00:00
Brandon Williams
2f92610ceb Specify action formatting when using .debug (#187)
* Customize action formatting when debugging reducers.

* wip

* wip

* include type

* wip

* tests

* docs

* fix tests

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-06-15 11:41:45 -05:00
Stephen Celis
3d89482da6 Add assertion to Reducer.optional (#157)
* Add assertion to Reducer.optional

* Another bug

* Another potential bug

* best practice?

* WIP

* Clean up language and add more language to index-based forEach

* Re-wrap

* Update Sources/ComposableArchitecture/Reducer.swift

Co-authored-by: Brandon Williams <mbw234@gmail.com>

* Update Sources/ComposableArchitecture/Reducer.swift

Co-authored-by: Brandon Williams <mbw234@gmail.com>

* wording

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-06-04 13:57:25 -04:00
Stephen Celis
6800fbfc96 Small Optimization For Signposts (#145)
* Small Optimization For Signposts

* Basic signpost tests

* Get rid of check
2020-05-27 18:25:12 -04: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
Brandon Williams
b3d9270722 Correctly show (no state changes) in diff. (#132)
* Correct show (no state changes) in diff.

* test for debug operator with no state changes
2020-05-25 12:26:43 -07:00
Stephen Celis
a1b15998cb Navigation case study fixes (#130)
* Fix navigation case study cancellation

Fixes #129.

* Fix

* move
2020-05-25 14:59:35 -04:00
Stephen Celis
e8e272a7c0 Make Reducer.debug API more like Publisher.print (#111)
* Make Reducer.debug API more like Publisher.print

* Deprecations
2020-05-18 11:18:11 -04: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
Brandon Williams
24dbab19e2 Stop vendoring CasePaths (#87)
* wip

* Underscore unused arguments.

* clean up

* add resolved file

* remove

* update url and version
2020-05-13 11:33:41 -04:00
Eugene Tulushev
d6387332a5 Remove debug gracefully for Release configurations (#23)
When the app is compiled in Release configuration with `.debug()` function still attached to a reducer, `return .none` short-circuts the reducer instead of just removing debug feature.

Just released an app to TestFlight, that doesn't work there but works on-device in Debug configuration : )
2020-05-06 10:34:18 -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