Book Image

Beginning Swift

By : Rob Kerr, Kåre Morstøl
Book Image

Beginning Swift

By: Rob Kerr, Kåre Morstøl

Overview of this book

Take your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to become productive.
Table of Contents (10 chapters)

Lesson objectives


By the end of this lesson, you will be able to do the following:

  • Use the assignment, arithmetic, and bitwise operators

  • Use Swift's comparison operators

  • Explain the functionality of Swift's range operators

  • Use the Swift branching features: if and switch

  • Control program flow with loops, such as for, while, and repeat/while