Chapter 1. Introduction to iOS development
Figure 1.1. Hello Time, a fully functioning clock application that tells the time, which we’ll build together by the end of this chapter
Figure 1.2. Choosing Single View Application as the template for your Hello Time project
Figure 1.3. Options you need to specify when creating your new project
Figure 1.4. Our newly created Hello Time project within Xcode
Figure 1.5. Find the Label object in the bottom-right corner of the interface editor.
Figure 1.6. Drag the label into the view and align it so that it is centered horizontally and vertically.
Figure 1.7. The attributes inspector after dragging the label into our view
Figure 1.8. Changing the font and alignment of your label within the attributes inspector
Figure 1.9. Adjust the width and height of the label to ensure that the text fits after changing the font size.
Figure 1.10. Opening the assistant editor while working on the view will bring up the associated view controller.
Figure 1.11. Clicking and dragging a connection from our label to our view controller to create an outlet
Figure 1.12. The checkTime: function added to IAViewController's implementation
Figure 1.13. Click the Run button to build and launch your application.
Figure 1.14. Our Hello Time application running within the iOS Simulator
Figure 1.15. Communication between models, views, and controllers within MVC