5.4.4 Creating the UI for the QuizViewController

This section presents the QuizViewController’s UI. Figure 5.10 shows the QuizViewController’s outlet and outlet collection names. Now that you’ve built several apps and their user interfaces, going forward we’ll simply indicate which controls to add to the user interface and what their settings should be. Use the techniques you’ve learned previously to lay out the controls. In this UI, ensure that all of the controls snap to the recommended distance from the left and right edges of the screen—this is easiest to see in the screen capture for the Image View and Segmented Controls. Figure 5.11 shows (from top to bottom in the user interface) the property settings for the controls in Fig. 5.10. The ...

Get iOS® 8 for Programmers: An App-Driven Approach with Swift™, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.