Files
Stephen Celis de5e7aff89 Add scope(_:action:) and Scope(_:action:) (#3923)
* 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
2026-05-07 13:54:23 -07:00
..
2025-04-01 14:34:11 -07:00

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.