03-04 Compare and Contrast Custom Text Fields
-
0:00 - 0:03Hopefully, you marked response
to new characters being typed, -
0:04 - 0:09reaction to the return button,
and behavior when editing begins. -
0:10 - 0:13So what governs these differences?
-
0:13 - 0:16The unique behaviors of each text
field come from the delegate. -
0:16 - 0:18In other words, the control object.
-
0:18 - 0:22But apart from their content,
the text fields look identical. -
0:22 - 0:24Their similarities,
like presenting the keyboard and -
0:24 - 0:28rounded corners are governed
by the UITextField object. -
0:28 - 0:29In other words, the view.