- [Narrator] Due to encapsulation,…we've got model view controllers…that aren't talking to each other…or even know that each other exist.…How does the model view controller clusters…communicate between each other?…Let's take a look at the example story board.…You can find this example project…in the downloads folder if you want to play along…or modify this.…On this story board, there are plenty of scenes.…Each of the scenes is a separate model view controller.…Notice the lines between the scenes.…In Xcode, we have what are known as segues.…

Segues point from one controller to the other.…Segues keep track of some things…that would become cumbersome to control ourselves…in a simple way.…When we move from one controller to the next,…the segue tells the system to open this particular…view controller, which then opens up its view in model.…To get a segue on the storyboard,…you usually control drag from a button…to another scene.…I'll delete the segue from the main scene…to the dessert scene.…I'll replace it by control dragging…

Resume Transcript Auto-Scroll

Author

Released

2/17/2017

Delegates can be tricky, even for seasoned iOS developers. If you've ever been frustrated getting data from one storyboard scene to another using delegates, then this concise course is for you. Get the foundation you need to understand delegates and the theory of how they work. View examples demonstrating the steps to build a delegate in both the iOS and watchOS context, and learn about the delegate's sister, the data source. The course wraps up with a demonstration of a factory method in iOS for two classes that use a data source.