Home > Articles > Programming > General Programming/Other Languages

  • Print
  • + Share This
This chapter is from the book

Further Exploration

Throughout the next few hours, you’ll explore a large number of UI objects, so your next steps should be to concentrate on the features you’ve learned in this hour—specifically, the object properties, methods, and events that they respond to.

For text fields and text views, the base object mostly provides for customization of appearance. However, you may also implement a delegate (UITextFieldDelegate, UITextViewDelegate) that responds to changes in editing status, such as starting or ending editing. You’ll learn more about implementing delegates in Hour 10, “Getting the User’s Attention,” but you can start looking ahead to the additional functionality that can be provided in your applications through the use of a delegate.

In addition, keep in mind that although there are plenty of properties to explore for these objects, there are additional properties and methods that are inherited from their superclasses. All UI elements, for example, inherit from UIControl, UIView, and UIResponder, which bring additional features to the table, such as properties for manipulating size and location of the object’s onscreen display, as well as for customizing the copy and paste process (through the UIResponderStandardEditActions protocol). By accessing these lower-level methods, you can customize the object beyond what might be immediately obvious.

  • + Share This
  • 🔖 Save To Your Account