O'Reilly logo

Objective-C Programming: The Big Nerd Ranch Guide by Mikey Ward, Aaron Hillegass

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

Setting up views

One thing that you need to do before the application is ready for the user is set up your view objects: the text field, the button, and the table view. This means creating them, configuring them, and putting them on the screen.

In iTahDoodle, you are going to set up your views programmatically in application:didFinishLaunchingWithOptions:. Xcode also has a visual drag-and-drop tool for setting up views, which you will use in Chapter 32.

The code for creating and configuring views is dense, and we are not going to cover it in detail. The detailed syntax of creating and showing views on the screen is a topic for a book specifically about iOS application programming.

Still, you can follow the gist of what is happening. ...

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