Chapter 12. Starry Night
Continuing with what we learned in the last chapter, in this chapter, we will take a closer look at how GUIs can be made for iOS. We will go through the central concepts of UI and start looking at how we can bridge the gap between UI and the code we write using the Swift programming language.
We will finish the chapter by making a small application that will be able to handle user input and, based on that, change the colors of the background. To make it even more cool, we will change the colors using animation. In other words, we will be doing the following things:
- Looking at the fundamental concepts of UI, such as view hierarchy, frames, bounds, and Auto Layout
- Looking at the view life cycle that will make it easier for developers to know the state of the app
- Making a small application where we will tie our UI with some code that we will write to change the background color of our application