Now that we have our bearings within the project, let's jump into configuring the user interface of our app. As we discussed earlier, this is done within the Main.storyboard
file. When we select that file, we are presented with a graphical editing tool, generally referred to as
Interface Builder:
In the center, there is a main view that is controlled by a ViewController
instance. This is a blank canvas where we can add all of the interface elements we want.
The first thing we want to do is add the bar along the top that is in our wireframes. This bar is called a navigation bar and we can add it directly, as it is one of the elements in our library. However, the frameworks will handle many complications for us if we use a Navigation Controller instead. A Navigation Controller is a view controller that contains other view controllers. Specifically, it adds a navigation bar to the top and allows us to push child view controllers onto it in the future. This controller...