Brandon Williams
108e3a536f
Concurrency Beta ( #1189 )
...
* more main actor audit
* wip
* wip
* fix
* better task result ==
* task result tests
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fix merge conflicts
* wip
* wip
* lots of doc fixes and modernizations
* lots more docs and better hashable conformance for TaskResult
* more docs
* clean up
* more tests and docs
* clean up
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* small clean up
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* explicit
* wip
* fix bug in TestStore.receive
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* fixes
* wip
* tools for non-deterministic TestStore.receive
* fix
* wip
* wip
* remove inAnyOrder stuff
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* convert download case study to use async/await
* animations
* fix tests
* remove executor experiment
* wip
* wip
* wip
* wip
* wip
* speech simplification
* wip
* wip
* wip
* wip
* wip
* wip
* add a few todos
* wrote some tests
* simplify speech recognizer
* fix tests
* update some docs about error throwing behavior
* wip
* wip
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Swift 5.5.2 fixes
* wip
* Bump timeout
* wip
* wip
* Finesse
* proper way to detect main queue
* extra guard
* revert main queue check
* move stuff around
* docs
* fixed a bunch of warnings
* Fix references
* clean up
* clean up
* fix a bunch of warnings
* clean up
* un-soft deprecate concatenate
* async teststore.send
* fix uikit tests
* drop sendable
* wip
* wip
* wip
* wip
* wip
* clean up
* clean up
* reorganize, remove extra task cancellation handler
* wip
* wip
* wip
* wip
* wip
* wip
* Make TestStore.send async (#1190 )
* async teststore.send
* fix uikit tests
* Converted all tests to async
* clean up
* added docs
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* docs and readme update
* Update README.md
* Update Tests/ComposableArchitectureTests/StoreTests.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* fix
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* Update Sources/ComposableArchitecture/TestStore.swift
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* clean up
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
* wip
* wip
* wip
* make fetchNumber throwing and fix tests
* effect basics clean up
* use local state for isLoading in refreshable case study
* clean up
* fix test
* wip
* wip
* wip
* wip
* wip
* wip
* fixes
* clean up
* clean up
* Simplify
* wip
* clean up
* wip
* AsyncStream.finished()
* give Send a public initializer
* make send public
* temporarily make box public
* remove concurrency flag
* wip
* wip
* wip
* wip
* wip
* docs
* speech
* simplify
* clean up;
* unchecked sendable
* clean up
* clean up
* wip
* docs
* docs
* more docs
* lots of docs
* wip
* wip
* wip
* more docs for streamWithContinuation
* wip
* wip
* wip
* Make internal, too
* wip
* Remove sendability detection
It breaks things, like:
let request = UncheckedSendable(
SKProductsRequest(productIdentifiers: []
)
// UncheckedSendable<NSObject> // *not* _<SKProductsRequest>
* wip
* doc clean up;
* fixed some todos
* docs
* wip
* remove thread safety FAQ from readme
* fix test
* wip
* docs clean up
* docs clean up
* added a testing article and fixed some docs
* rearrange
* docs clean up
* wip
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Effects/ConcurrencySupport.swift
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* Update Sources/ComposableArchitecture/Documentation.docc/Articles/Testing.md
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
* wip
* wip
* wip
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
Co-authored-by: Thomas Grapperon <35562418+tgrapperon@users.noreply.github.com >
2022-08-08 01:04:16 -04:00
mbrandonw
f81842157c
Run swift-format
2022-07-12 16:54:06 +00:00
Brandon Williams
0fb73c2bf3
Deprecate unchecked store ( #1206 )
...
* Deprecate unchecked stores.
* warning tests
* rearrange
* Update Deprecations.swift
* wip
* test for binding warning
Co-authored-by: Stephen Celis <stephen@stephencelis.com >
2022-07-12 12:39:32 -04:00
Stephen Celis
a97cba5565
DocC Structure ( #1180 )
...
* DocC Structure
* wip
* wip
* wip
2022-07-01 14:49:34 -04:00
Brandon Williams
90d91ffedc
Clean up compiler checks. ( #1167 )
2022-06-28 16:05:50 -04:00
Stephen Celis
b55977808f
Only warn for unused binding actions sent from view stores ( #1163 )
...
* Only warn for unused binding actions sent from view stores
* Apply suggestions from code review
* wip
* wip
2022-06-24 17:43:50 -04:00
Stephen Celis
5af88eb36b
Add runtime warnings for unused binding actions ( #1159 )
...
* Add runtime warnings for unused binding actions
An alternative approach to #1158 .
* wip
* finesse
* finesse
* Update Sources/ComposableArchitecture/SwiftUI/Binding.swift
Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com >
* Update Binding.swift
Co-authored-by: Brandon Williams <135203+mbrandonw@users.noreply.github.com >
2022-06-24 09:52:37 -04:00
Stephen Celis
b8dddaf0bf
Clean up generic signatures ( #1143 )
2022-06-14 09:39:05 -04:00
Malone Hedges
1a2b293ca6
Fix typo in BindingAction.pullback(_:) docs ( #830 )
2021-09-24 13:47:26 -04:00
mbrandonw
bb5da6a0a4
Run swift-format
2021-09-20 14:12:18 +00: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
c0c95c5bab
Deprecate dynamic member lookup on view stores in favor of ViewStore.binding ( #810 )
...
* wip
* wip
2021-09-17 12:33:38 -04:00
Stephen Celis
a554b00ff4
Remove old deprecations ( #795 )
...
* Remove old deprecations
* wip
2021-09-14 22:30:38 -04:00
Stephen Celis
03a814d0d3
Update bindable helpers docs ( #783 )
...
* Update bindable helpers docs
* wip
2021-09-10 12:27:10 -04:00
Stephen Celis
69b3605e3a
Fix BindableState: Codable strategies ( #781 )
2021-09-10 10:33:03 -04:00
stephencelis
cb5150f57e
Run swift-format
2021-09-07 16:50:30 +00:00
Luke Redpath
e2795c1789
Conform BindableState to CustomDebugStringConvertible ( #777 )
...
This ensures that bindable state properties are displayed in a useful way when using
`.dump` snapshot tests on your app state.
2021-09-07 12:15:23 -04:00
Stephen Celis
aac63d7e18
Add documentation for BindingAction.pullback ( #771 )
...
* Add documentation for `BindingAction.pullback`
* wip
* motivate
2021-09-07 10:23: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
stephencelis
3c51885b98
Run swift-format
2021-08-25 19:56:19 +00: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
konomae
60fbb66016
Fix minor typo ( #671 )
...
* Fix typo: iff → if
* Add missing `>`
2021-07-26 08:17:31 -04:00
Brandon Williams
5f6d8a2538
Don't use CasePath in .binding ( #632 )
...
* Don't use CasePath in .binding
* wip
* wip
* wip
2021-07-07 18:05:43 -04:00
Stephen Celis
d30336ca13
Clean-up pass for DocC ( #599 )
2021-06-16 08:48:14 -05: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
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