-
Before we look at the code in
the delegate, let's think about what
-
methods we need to achieve
the behavior in our text fields.
-
To access the text field project and
many other projects throughout the rest
-
of course, we're going to
use a repository in GitHub.
-
First, you'll need to
go to your terminal and
-
clone the GitHub repository for
the course.
-
Next you'll need to check out
the branch for this part of the lesson.
-
You'll need two things from
the instructors notes, the clone url and
-
the branch name for
this part of the lesson.
-
And if you run into trouble, you can
also find a link to Udacity's course on
-
version control, which will tell you
everything you need to know about Git.
-
Again, note that the instructions
you need, the clone URL, and
-
the branch name are all in
the instructor's notes.
-
Once you're on the correct branch,
-
go ahead and open up the TextFields
project, and run it.
-
Type into all three fields,
and watch for similarities and
-
differences in the behavior
of the three views.
-
Also, if you need to dismiss
the simulator keyboard,
-
you can do that in the hardware menu.
-
Go to Hardware, Keyboard, and
then toggle Software Keyboard.
-
You can also use the shortcut Cmd+K.
-
When you've picked out some
commonalities across the TextFields,
-
answer the quiz question.
-
Compare and contrast the following
features of the three TextFields.
-
Presenting the keyboard, response to new
characters being typed, rounded corners,
-
reaction to the return button,
and behavior when editing begins.
-
Mark features that differ
between the three with a check.