Commit Graph

22 Commits

Author SHA1 Message Date
Thomas Grapperon
85050a28a9 Fix WithViewStore issues with Views using escaping closures (#1015)
* Use a new instance of `ViewStore` in `WithViewStore`'s `body`

* Use explicit `self` for style coherence

* Remove `viewCancellable` additional reference in `newInstance()`

* Revert "Remove `viewCancellable` additional reference in `newInstance()`"

This reverts commit cb6a22ae4f.

* Change `viewCancellable` capture list

* Update `GeometryReader`'s workarounds
2022-03-11 15:23:42 -05:00
Stephen Celis
87f388bedb Further Modernize Demos (#914)
* Modernize Demos

* wip
2021-12-09 22:41:58 -05:00
Stephen Celis
0cd0c3ecce Update AlertState to use new APIs (#794)
* Update AlertState to use new APIs

* fix

* Feedback

* wip

* Fix

* wip

* wip

* wip

* wip
2021-09-20 10:42:17 -04:00
Stephen Celis
5209f47b03 Update AlertState.Button APIs for animation (#681)
* Update AlertState.Button APIs for animation

* fix

* wip

* deprecate
2021-07-28 12:10:15 -04:00
stephencelis
14ced811f8 Run swift-format 2021-07-28 14:29:31 +00:00
Bernhard Loibl
71be9d9676 Enables animations for alert button actions (#680)
* Enables animations for alert button actions.

* Updates alert button api and previews.

Co-authored-by: Bernhard Loibl <bernhard.loibl@intive.com>
2021-07-28 10:21:41 -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
86d6e35514 Update case study README 2021-02-22 15:34:37 -05:00
Stephen Celis
caebd33686 Add ViewStore.send(_:animation:). (#392) 2021-02-22 15:31:25 -05: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
b8c67d5d4f Run swift-format 2020-06-30 14:49:39 +00: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
Stephen Celis
1e98d10057 11.3 CI (#139)
* 11.3 CI

* wip

* Alternative
2020-05-27 12:41:17 -04: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
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
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