We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1594f28 commit ce7a9d1Copy full SHA for ce7a9d1
Sources/ComposableArchitecture/SwiftUI/Binding.swift
@@ -213,6 +213,7 @@ extension Reducer {
213
}
214
215
216
+#if canImport(SwiftUI)
217
extension ViewStore {
218
/// Derives a binding from the store that mutates state at the given writable key path by wrapping
219
/// a `BindingAction` with the store's action type.
@@ -243,3 +244,4 @@ extension ViewStore {
243
244
)
245
246
247
+#endif
0 commit comments