I'd like to assign two values of type Binding<Double> to a CGPoint which I'd also like bound to my UI, but I am not having any luck with the following:
public init(valueX: Binding<Double>, valueY: Binding<Double>){
self._value = Binding<CGPoint>(x: valueX, y: valueY) /// Error: No exact matches in call to initializer
}
How should I go about doing this?