Today I finished Unit 1 of the Ebook ‘App development with Swift’.

The subject is the interface builder.

Xcode has a built-in tool called Interface Builder that makes it easy to create interfaces visually. In this lesson, you’ll learn how to navigate through Interface Builder, add elements onto the canvas, and interact with those elements in code.

The picture shows the result of the last exercise.

The last ‘guided project’ is about this:

func updateUI() {
if lightOn {
view.backgroundColor = .white
} else {
view.backgroundColor = .black
}
}

Summary of unit 1:

Excellent work! Now that you’ve finished this introductory unit, you’ve learned about Xcode, Interface Builder, and the environment you’ll use to build apps, as well as some basic Swift concepts. You’ve also built your first app!
In the next lesson, you’ll learn about views and controls in UIKit, which provides the crucial infrastructure needed to build iOS apps, and more Swift concepts that will lay the foundation for building more complex apps throughout the course.

I turn the page to go on: Unit 2.

🏆