how to read number from user field in swift code example Example: xcode get info from text field let text = myTextField.text