Stephen Celis
65401c361a
Modernize case study using Notification Center ( #1090 )
...
* Use NotificationCenter directly in case study
* wip
* wip
2022-05-12 13:30:11 -04: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
8260a1ab8d
Fix bindable deprecations ( #815 )
...
* Fix Bindable Deprecations
* More CI
* wip
* wip
* wip
* wip
2021-09-20 10:03:43 -04:00
Stephen Celis
af88fe4c79
Safer, Conciser Bindings ( #765 )
...
* Better binding tools.
* make everything public
* deprecate
* update
* clean up
* wip
* dml
* wip
* wip
* Fix a redundant conformance constraint warning in ForEachStore (#738 )
The warning was:
Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift:141:28: warning: redundant conformance constraint 'EachContent' : 'View'
public init<EachContent: View>(
^
Sources/ComposableArchitecture/SwiftUI/ForEachStore.swift:146:16: note: conformance constraint 'EachContent' : 'View' implied here
EachContent: View,
^
I fixed the warning by removing the redundant constraint from the type
parameter.
* wip
* wip
* wip
* wip
* wip
* wip
* wip
Co-authored-by: Brandon Williams <mbrandonw@hey.com >
Co-authored-by: Adam Roben <aroben@apple.com >
2021-09-06 11:10:47 -04:00
Stephen Celis
83e7557d7b
Simplify Reusable Download Component ( #756 )
2021-08-30 20:20:40 -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
Brandon Williams
d4c0ff35de
Add an async/await aware .send method to View Store. ( #673 )
...
* wip
* case study
* docs
* clean up
* more compiler directives.
* xcode 12 fixes
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2021-07-26 10:10:35 -04:00
Stephen Celis
cd76e31ef6
Update demos to use failing environments ( #650 )
2021-07-12 17:36:40 -04:00
Stephen Celis
5664c9bfe5
Prep
2021-07-11 22:56:18 -04:00
stephencelis
b931cece42
Run swift-format
2021-07-08 15:02:03 +00:00
Stephen Celis
50a16e072e
Deprecate array-based forEach/ForEachStore ( #641 )
...
* Deprecate array-based forEach/ForEachStore
* Update tests
2021-07-08 10:49:13 -04:00
Brandon Williams
50dc37e8d2
Fix websocket case study and FactClient. ( #639 )
...
* Fix websocket case study and FactClient.
* Rename unimplemented to failing.
* Update Examples/CaseStudies/SwiftUICaseStudies/FactClient.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2021-07-08 10:13:31 -04:00
Brandon Williams
14c6b5b218
Extract number fact dependency to a FactClient. ( #600 )
...
* Extract number fact dependency to a FactClient.
* wip
2021-06-21 10:36:51 -04:00
Yoshinori Imajo
f93f13febd
Fix closure parameter. ( #576 )
2021-05-31 07:39:51 -05: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
stephencelis
fcb84e1d1a
Run swift-format
2021-03-22 17:40:03 +00:00
Stephen Celis
f1faccc3a2
Updated TestStore DSL ( #454 )
...
* Update TestStore to support imperative DSL
This gives us better XCTIssue-based error messaging since each line is
captured in the stack.
* Update examples to new testing DSL
* Fix
* Update README.md
* 11.3
* fix
* fix
2021-03-22 13:27:51 -04:00
Stephen Celis
5bdf0bc904
FormAction → BindingAction ( #372 )
...
* Rename FormAction to BindingAction
* Deprecations
* Fix test
* Update 01-GettingStarted-Bindings-Forms.swift
2021-02-01 16:41:36 -05:00
Stephen Celis
e51fb00d1f
Remove type alias for Xcode 12.5 compatibility ( #371 )
...
* Remove type alias
* Fix a few warnings
2021-02-01 14:55:29 -05:00
Stephen Celis
ff57565322
Forms ( #367 )
...
* Forms
* wip
* wip
* Basics
* Fix
* Apply .textCase(.none) to section headeres.
* Small tweaks do docs and case study readme.
* Update Forms.swift
* Fix warnings
* Revert "Apply .textCase(.none) to section headeres."
This reverts commit f535a75eb9 .
* fix
Co-authored-by: Brandon Williams <mbrandonw@hey.com >
2021-02-01 13:34:55 -05:00
Stephen Celis
4449bc2e24
Add TextState (for AlertState, ActionSheetState, etc.) ( #359 )
...
* Use SwiftUI.Text with {Alert,ActionSheet}State
Fix #293 , #318 .
* Use public interface
* Availability
* TextState
* Note
* Simplify
* Update LocalizedStringTests.swift
* Fix warnings
* Fix docs
2021-01-21 17:50:34 -05:00
mbrandonw
6db4cf39e0
Run swift-format
2020-08-27 15:08:49 +00:00
nmccann
66d19499bc
Added some tests for Shared State case study. ( #262 )
...
* Added some tests for Shared State case study.
* Expanded upon tests by also validating that state is mirrored
State is expected to be mirrored (or shared) between the Counter and
Profile - the tests have been updated to verify this.
* Modified tests to focus more on what is changing between steps
Co-authored-by: Noah McCann <>
2020-08-27 10:49:12 -04:00
Brandon Williams
0bf4b25a2e
Better error messages for uncompleted effects. ( #270 )
2020-08-27 10:48:22 -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
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
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
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
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
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
Brandon Williams
d2240d0e76
The Composable Architecture
...
Co-authored-by: Stephen Celis <stephen.celis@gmail.com >
2020-05-03 22:26:28 -07:00