I'm starting off with iOS App Development and SwiftUI is my first step.
I'm unable to input an integer or a double value from the user.
@State public var num1: Double = 0
TextField(" Enter a Number", text: $num1)
//Error: Cannot convert value of type 'Binding<Double>' to expected argument type 'Binding<String>'
Please Help!