Files
Brandon Williams 1eeca17b21 Make Shared.wrappedValue setter unavailable from async and introduce Shared.withLock (#3136)
* Add withValue to Shared, deprecate direct mutation.

* updates

* wip

* wip

* wip

* wip

* Available noasync

* withLock

* clean up

* wip

* wip

* Update SyncUpsListTests.swift

* wip

* wip

* wip

* wip

* wip

---------

Co-authored-by: Stephen Celis <stephen@stephencelis.com>
2024-06-06 15:16:34 -07:00

19 lines
307 B
Swift

import ComposableArchitecture
import SwiftUI
@main
struct SyncUpsApp: App {
@MainActor
static let store = Store(initialState: SyncUpsList.State()) {
SyncUpsList()
}
var body: some Scene {
WindowGroup {
NavigationStack {
SyncUpsListView(store: Self.store)
}
}
}
}