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 3394dcc commit fc2ae1dCopy full SHA for fc2ae1d
Sources/SwiftCrossUI/State/Binding.swift
@@ -12,6 +12,12 @@ public class Binding<Value> {
12
}
13
14
15
+ public var projectedValue: Binding<Value> {
16
+ // Just a handy helper so that you can use `@Binding` properties like
17
+ // you would `@State` properties.
18
+ self
19
+ }
20
+
21
/// The stored getter.
22
private let getValue: () -> Value
23
/// The stored setter.
0 commit comments