how to get value from textfield in xcode code example Example: xcode get info from text field let text = myTextField.text