title: How can I declare that a text field can only contain an integer?
body: <p>In swift, I am trying to make a text field that will allow a button to be enabled, but only when the text field contains an integer. How can I do this?</p>