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 13. ViewControllers in depth

This chapter covers

  • Inheritance
  • Override
  • ViewController lifecycle

You’ve created several apps now and in each app you’ve had a ViewController. What exactly is a ViewController, anyway? The name definitely gives away a lot: it’s the code that controls the view that you created. We’re going to go more in depth now and look at the details of the ViewController, which means we’ll need to talk about some new programming concepts as well. This chapter includes some underlying programming principles, so make sure you understand it before you move on to the next chapter.

13.1. Inheritance

I know you may be excited here because you think you may get money from an inheritance, but in this case, it means something ...

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