I am building an iOS application using Swift Language. Inside my ViewController2, i have an array of String. How do i convert this array of String to an array of Float value? toPass1 stores numerical values that user enters through the UITextField.
var toPass1 = [String]()
var force = [Float] ()