I need to get the text from the text fields in my alert view when the Input button is pressed.
func inputMsg() { var points = \"\" var outOf = \"\"
The UIAlertController has a textFields property. That's its text fields. Any of your handlers can examine it and thus can get the text from any of the text fields.
textFields