Chapter 3. Functions, Classes, and Structs

In the previous two lessons, you learned the fundamentals of Swift syntax, data types, and how to use variables to store and operate on data in a Swift program. Specifically, you learned how to use fundamental Swift elements such as operators, control structures, variables, and built-in data types. With knowledge of these language elements, you're already prepared to create fully functional Swift programs.

In this lesson, you'll build on these skills, and learn how to develop fully featured Swift applications, catch unexpected errors, and begin using asynchronous programming paradigms. You'll learn how to create your own data types, and create object-oriented applications using classes and structs.

All ...

Get Beginning Swift 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.