* Distinguish Combine and async effects from each other
* wip
* wip
* wip
* Add some tests
* wip
* wip
* wip
Co-authored-by: Stephen Celis <stephen@stephencelis.com>
* Replace `.navigationBarTitle` by `.navigationTitle`
* Remove .background from Animation
* Update 01-GettingStarted-Bindings-Basics.swift
* Update 01-GettingStarted-Bindings-Forms.swift
* Update 01-GettingStarted-Composition-TwoCounters.swift
* Update 01-GettingStarted-Counter.swift
* Update 01-GettingStarted-FocusState.swift
* Update 01-GettingStarted-OptionalState.swift
* Update 01-GettingStarted-SharedState.swift
* Update 02-Effects-Basics.swift
* Update 02-Effects-Cancellation.swift
* Update 02-Effects-LongLiving.swift
* Update 02-Effects-Refreshable.swift
* Update 02-Effects-Timers.swift
* Update 02-Effects-WebSocket.swift
* Update 02-Effects-SystemEnvironment.swift
* Update 03-Navigation-NavigateAndLoad.swift
* Update 04-HigherOrderReducers-ElmLikeSubscriptions.swift
* Update 04-HigherOrderReducers-Recursion.swift
* Update 04-HigherOrderReducers-ReusableFavoriting.swift
* Update CircularProgressView.swift
* Update DownloadComponent.swift
* Reindent `XCTestDynamicOverlay` block
* Use a dedicated shape for the clock hand
This is a little much simpler I guess.
* Go back to use a Path, much simpler to understand.
* Use more natural modifiers to apply styles
* small updates
* Center the "clocks" horizontally
Co-authored-by: Brandon Williams <mbrandonw@hey.com>
We employ a few tricks that might be confusing folks that are unfamiliar
with them, so this dials some things down in the sample code and docs.
We could maybe take it further, but this is a start.
* Add icons variants for required resolutions
* Optimize PNG's size
Even without centralizing the resources, we can already save a few bytes.
The total size was reduced by 75%.
* Replace iTunes variants by a very compact transparent image
This will never hit the AppStore anyway.
* Replace images by lossless optimized variants
The previous optimization pass was lossy. This PR replace images with an optimized lossless variant of the original.
* Restore original iPhone icons
I don't know why images that were supposedly losslessly optimized by ImageOptim were less vibrant than the original.
I restored them by their original variants. Upscaled variants are less vibrant though, but I guess it's acceptable without access to the original vector source.
* Fix color space
ImageOptim seems to change the color space when it optimizes files losslessly.
I've created new variants with Pixelmator Pro and exported as web-compressed from there instead.
* 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
* TicTacToe Readme updates
* Use new .catchToEffect(_ transform:) in example
* Added Todos Readme
* Added VoiceMemos Readme wip
* Updated VoiceMomos Readme
* Updated Todos Readme
* Added value to animation modifier
* Update VoiceMemos entry point
* Update Todos entry point
* Update Search entry point
* Update SpeechRecognition entry point
* Updated SpeechRecognition models
* Revert "Updated SpeechRecognition models"
This reverts commit dc77e7a638.
* 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>
* 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
* 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>
* 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>
* 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>