Add user interface elements

Add a text field centred at the top, a label below it, and a button centred at the bottom.
Create an action for the button

Create the “changeGreeting:” action method and connect the button to the view controller.
Create outlets for the text field and label

Added the *textField and *label proprieties to the view controller and created the necessary connection.
Make the text field’s delegate connection

Create a connection to a delegate than can dismiss the keyboard when the user taps the Done button.
Add accessibility hint to the text field

Added an accessibility hint to the text field for using the VoiceOver screen-reading technology.
Center the label vertically in the view
Add constraints to the view and the button

Text field constraints: top space + leading space + trailing space.
Label constraints: leading space + trailing space + center vertically.
Button constraints: bottom space + center horizontally + height + width.