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 20. Creating the details of the detail view

This chapter covers

  • Adding a detail screen to display the lion details
  • Using Int values as a string
  • Deleting lion objects from the list

You created the DetailViewController in the last chapter, and you were able to pass a lion object from the MainViewController to the DetailViewController and print the Lion name to the console. In this chapter, you’ll add labels to the DetailViewController scene so you can display the lion object for the user.

20.1. Adding some labels to your detail screen

The first thing you’re going to do is create three labels on the detail screen and connect them to your code through IBOutlets. You’ve done this several times in the book, so it shouldn’t be new. ...

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