Commit Graph

242 Commits

Author SHA1 Message Date
Stephen Celis
31f58da4f2 Fix Recursive Reducer (#267) 2020-08-24 17:28:56 -04:00
Al Skipp
dfae33e9c9 Typo fixes (#251)
* Removes duplicated word in case study readMe

* Typo fix
2020-08-11 10:16:33 -04:00
Stephen Celis
7f482acbf4 Alert bug exploration (#249)
* wip

* Fix

* revert

* Fix tests

* Better debug output

* organize

* alphabetize

* Fix mac

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-08-10 12:47:36 -04:00
mbrandonw
35807cef6e Run swift-format 2020-07-22 13:52:10 +00:00
David Bou
f0c5b487ce Add keyFrames Effect in animations case study (#231) 2020-07-22 09:49:12 -04:00
mbrandonw
8cc8492b9f Run swift-format 2020-07-13 14:35:12 +00:00
Brandon Williams
80f44fba4c Case study for tvOS focus. (#226)
* Case study for tvOS focus.

* clean up

* clean up

* fix ios 13

* move random to env

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-07-13 10:30:39 -04:00
mbrandonw
8ad45dfd03 Run swift-format 2020-07-10 17:42:10 +00:00
Brandon Williams
2c076e443c Lifecycle case study (#222)
* lifecycle

* wip

* wip

* wip

* wip

* Xcode 11.3 compat

* move

* Update Examples/CaseStudies/SwiftUICaseStudies/04-HigherOrderReducers-Lifecycle.swift

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

* tests

* iOS 14 fix

See: https://gist.github.com/stephencelis/3ac40c2aba73c45f76b35a0cce0864fd

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-07-10 13:40:22 -04:00
Alejandro Martínez
f40942fa08 Added file and line to optional assert (#218)
* Added file and line to optional assert

* Apply suggestions from code review

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

* Deprecate old optional property and migrated TicTacToe example

* Migrated other examples to optional() and added file/line to forEach

* Update Deprecations.swift

Co-authored-by: Stephen Celis <stephen.celis@gmail.com>
2020-07-08 17:18:48 -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
a905fbf5ec Generic alerts and action sheets (#201)
* alerts

* wip

* wip

* wip

* clean up

* wip

* wip

* wip

* wip

* format

* clean up

* clean up

* docs

* wip

* tests

* API tweaks

* Fix

* More API changes

* More API changes

* More

* Fix

* Fix docs

* Generic alerts optionality (#202)

* Use Optional to model generic alerts

* Xcode 12

* Refinement

* update docs

* Fix

* Fix

* doc fixes

* rename

* fixes

* fixes

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-06-30 09:48:36 -05:00
Brandon Williams
3038070ae9 Show how animation can be done from effect. (#198)
* Show how animation can be done from effect.

* clena up
2020-06-25 09:54:53 -05:00
Brandon Williams
c9c1a9a500 Composable Core Motion (#193)
* ComposableCoreMotion

* fix tests

* wip

* wip

* wip

* clean up

* use ids

* wip

* wip

* wip

* wip

* update reade

* be stict with access to motion managers

* get rid of error and just use nserror

* inline

* wip

* format

* wio

* wip

* add ComposableCoreMotion to tests

* better availability

* tests

* use switch instead of if

* update platforms

* scheme

* test

* deployment target fix

* make public

* some fixes

* wip

* more tests

* fixes

* Updates

* consistency

* Cleanup

* clean up

* Tweak

* Update MotionManagerInterface.swift

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-06-22 10:27:36 -05:00
Stephen Celis
882e13ffe5 Update Naming of Navigation Case Studies (#177) 2020-06-08 17:40:46 -04:00
mbrandonw
3071d293c1 Run swift-format 2020-06-08 19:53:26 +00:00
Brandon Williams
a46e70e066 Web socket case study (#171)
* Web socket case study.

* wip

* wip

* wip

* wip

* more tests

* wip

* clean up

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* Update Examples/CaseStudies/SwiftUICaseStudies/02-Effects-WebSocket.swift

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

* private

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2020-06-08 14:50:37 -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
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
1e98d10057 11.3 CI (#139)
* 11.3 CI

* wip

* Alternative
2020-05-27 12:41:17 -04: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
Brandon Williams
0bd288a53a Add location manager examples to readmes. (#114)
* Update readmes

* wip

* remove some old code
2020-05-19 07:49:21 -07:00
Brandon Williams
dc8ed21a91 Animations case study dark mode (#106)
* Fix animations case study for dark mode.

* format

* clean up
2020-05-15 09:52:09 -07:00
Brandon Williams
812a7fa83f Remove some old tests and guard debug code in #if DEBUG. (#104)
* Remove some old tests and guard debug code in #if DEBUG.

* remove background color

* fix test targets

* clean up more tests
2020-05-15 09:32:05 -07:00
Stephen Celis
4523043993 Remove a few unnecessary initializers from demos (#105) 2020-05-15 12:09:04 -04:00
Stephen Celis
e6fde0c452 Remove helper from demo (#96) 2020-05-14 16:41:50 -04:00
Stephen Celis
0807f9a8f8 Rename certain Effect APIs (#92)
* Rename certain Effect APIs

* Move deprecations

* Fix
2020-05-13 14:12:56 -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
stephencelis
17439d8c6a Run swift-format 2020-05-13 11:35:58 +00:00
Alejandro Martínez
45407d3a23 Remove unnecessary combine in the example (#86) 2020-05-13 07:34:59 -04:00
stephencelis
52baef0b2d Run swift-format 2020-05-12 15:19:18 +00:00
Stephen Celis
6afab9f3a9 Add binding example to animation demo (#79)
* Add binding example to animation demo

* updated readme

* indentation

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-05-12 11:18:20 -04:00
stephencelis
22b37b8ae0 Run swift-format 2020-05-11 22:43:16 +00:00
Stephen Celis
b4779b36b1 Helpers for making stores stateless/actionless (#45) 2020-05-11 18:40:09 -04:00
stephencelis
0738afa903 Run swift-format 2020-05-11 22:38:18 +00: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
a429d9d3ef Merge Test Support Module (#71)
* Merge Test Support Module

An attempt to fix #70.

* Remove import

* Update README

* Assertion failure

* Cleanup

* Add NB

* Revert format change

* Update Sources/ComposableArchitecture/TestSupport/TestStore.swift

* TicTacToe fixes

* Hide test store in debug flag

Co-authored-by: Brandon Williams <mbw234@gmail.com>
2020-05-11 17:44:52 -04:00
Stephen Celis
483150833e Assorted Cleanup (#37) 2020-05-07 17:48:48 -04:00
Stephen Celis
4016008d87 Assorted fixes for collections of state (#25)
* Assorted fixes for collections of state

Fixes #21.

* Update IdentifiedArrayTests.swift

* Update case studies

* Run swift-format on _push_ to master

* Format
2020-05-06 11:57:20 -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