We now have an app with two pages. While impressive, we haven't tapped into the real power of IB to connect our view and our controllers.
When we created a new project using the Single View Application template, Xcode created a
View Controller for us in the storyboard. This is the view on the canvas that we've been dragging buttons and labels onto.
Remember our discussion of an MVC application; the view that we see on the IB canvas is the V portion and Xcode created the
C portion for you as a file called
Our newly created
View Controller that was placed on the canvas is only a
View; we need to specifically create the
Controller and associate these two pieces ...