11. Building a New View
The passer list works well enough now. It’s not fancy, but it very nearly matches the wireframe in Figure 8.2. One thing it is lacking is a transition from a list of passers to a passer summary and a list of games. For this, you will create a new view controller and make the acquaintance of Interface Builder.
The Next View Controller
The thing to remember is that unless you are doing some custom drawing or event handling, there’s little reason to create a new subclass of UIView
. The standard views are so generic, versatile, and easy to combine that making a new one is rare. What isn’t rare is the need to set the content of views and respond to the events they capture. You know already that this is the business of the ...
Get Xcode 6 Start to Finish: iOS and OS X Development, Second Edition 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.