You’ve seen a lot of interface controllers by now, but they’ve all been self-contained and haven’t transitioned from one to another. While it’s certainly possible to build an app with one interface controller, a Glance, and notification handlers, it wouldn’t be very exciting. Your data probably won’t all fit on one screen, nor would your users appreciate an app where all of the content is crammed into one screen that requires tons of scrolling. Before you can break up your content into multiple interface controllers, you need to learn how to move between them.
In this chapter you’ll learn about the different segues you can implement to transition between interface controllers, as well as the different ways to display them. We’ll discuss the relationship between interface controllers as laid out in your storyboard (and the segues between them) and your code, as well as how to manage resources. By the end of the chapter, you’ll be able to provide a list of interface controllers for your users to page through, present interface controllers modally when you need user input before proceeding, and present interface controllers in a hierarchical layout. To send data around in the app, you’ll be able to use the interface controllers’ contexts as they’re created.
3.144.9.82