O'Reilly logo

Anyone Can Create an App: Beginning iPhone and iPad programming by Wendy L. Wise

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Capturing user input: adding text boxes

This chapter covers

  • Creating a new app that shows what’s typed into a field
  • Capturing user ideas with text boxes
  • Connecting objects with actions and outlets again
  • Chunking code for a function

You’re going to create another app in this chapter, but this time you’ll provide a box the user can type in. After typing text, the user will tap a button, and whatever the user typed in the box will appear down below. Such boxes, called text boxes (or UITextFields for single lines of text and UITextViews for multiple lines of text), are used throughout iPhone and iPad programming. You’ve probably seen them numerous times but may not have known that they were called text boxes. Figure 7.1 shows an ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required