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 ...

Get Swift iOS Programming for Kids 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.