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. ...

Get Anyone Can Create an App: Beginning iPhone and iPad programming now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.