Back to Swift Composable Architecture

SwiftUI Integration

Sources/ComposableArchitecture/Documentation.docc/Extensions/SwiftUIIntegration.md

1.25.5967 B
Original Source

SwiftUI Integration

Integrating the Composable Architecture into a SwiftUI application.

Overview

The Composable Architecture can be used to power applications built in many frameworks, but it was designed with SwiftUI in mind, and comes with many powerful tools to integrate into your SwiftUI applications.

Topics

Alerts and dialogs

  • AlertState
  • ConfirmationDialogState
  • SwiftUI/View/alert(_:)
  • SwiftUI/View/confirmationDialog(_:)
  • _EphemeralState

Presentation

  • SwiftUI/Binding/scope(state:action:fileID:filePath:line:column:)
  • SwiftUI/Binding/scope(state:action:)-35r82
  • SwiftUI/NavigationStack/init(path:root:destination:fileID:filePath:line:column:)
  • SwiftUI/NavigationLink/init(state:label:fileID:filePath:line:column:)

Bindings

Deprecations