how to get input from text field swift code example Example: xcode get info from text field let text = myTextField.text