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:

  • Define and call Swift functions

  • Explain how to pass functions as parameters and argument labels

  • Implement exception handling with do…catch and guard

  • Use object-oriented features such as struct and class