mirror of
https://github.com/pointfreeco/swift-composable-architecture.git
synced 2026-10-06 23:35:34 +02:00
* Add `scope(_:action:)` and `Scope(_:action:)` To prepare for changes coming in 2.0, we are introducing new scoping overloads that omit the `state:` parameter label. This label is already omitted for some scoping operations (`ifLet`, `forEach`, etc.) and is just added noise for the dominant part of the operation. The old API has been trait-deprecated so that folks can migrate at their own pace without too much noise. * wip
Voice Memos
This application demonstrates how to work with multiple dependencies and manage a complex state machine driven off of timers in the Composable Architecture. Some functionality includes:
- Requesting the user’s permission to record audio.
- Prompting the user if insufficient permission is provided.
- Audio recording and playback.
- Handling errors that may occur during recording or playback.
- Stubbing dependencies to work with SwiftUI previews.