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 ...
Get Anyone Can Create an App now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.