Until now, the programs we have written have been focused on text; they have been console applications as described in Chapter 3, Say Hello. A very central part of an iPhone application is the User Interface (UI)-the interface in which the user is able to do gestures, such as drag, force-touch, swipe, and more; the interface in which the user is able to communicate back and forth with the running application.
The following two chapters will focus on the UI in an iOS application. The reader will acquire the necessary knowledge and skills in order to be able to write programs that leverage a UI. To summarize, this chapter will cover the following topics:
A recap of the concept of a Graphical User Interface (GUI)
A guide to setting up a new iOS project that will include a UI
An introduction to how we can lay out a view using Xcode's built-in tool Interface Builder (IB) and something called storyboards
A guide to building a small application called Simon Says, that uses...