I want to declare a variable of type string, as mentioned in question both ways work. Want to know the difference when to use each one specifically
var testID = String()
var testID : String = ""
I want to declare a variable of type string, as mentioned in question both ways work. Want to know the difference when to use each one specifically
var testID = String()
var testID : String = ""