Files
Stephen Celis f1af33763e Swift 6 updates (#3379)
* Swift 6 updates

  - Soft-deprecate `_SynthesizedConformance` now that Xcode 16 has fixed
    this bug.
    - Update docs accordingly.

  - Document Xcode 16 macro gotcha around custom build configuration
    names.

* wip
2024-09-12 14:11:05 -07:00

34 lines
684 B
Swift

import ComposableArchitecture
import SwiftUI
@Reducer
struct AppFeature {
@Reducer
enum Path {
case detail(SyncUpDetail)
}
@ObservableState
struct State: Equatable {
var path = StackState<Path.State>()
var syncUpsList = SyncUpsList.State()
}
enum Action {
case path(StackActionOf<Path>)
case syncUpsList(SyncUpsList.Action)
}
var body: some ReducerOf<Self> {
Scope(state: \.syncUpsList, action: \.syncUpsList) {
SyncUpsList()
}
Reduce { state, action in
switch action {
case .path:
return .none
case .syncUpsList:
return .none
}
}
}
}
extension AppFeature.Path.State: Equatable {}