How This Book Is Organized

This book is divided into 12 chapters, which cover the language itself and walk you through creating a few apps:

Chapters 14 cover basic language syntax, including variables, constants, arrays, dictionaries, functions, classes, enums, and structs. These are the basic building blocks of the Swift language.

Chapter 5 takes a break from the language syntax and helps you create a basic game of tic-tac-toe.

Chapters 69 cover more advanced language features, including closures, subscripts, advanced operators, protocols and extensions, generics, and programming on the bit and byte levels.

Chapters 1012 show you how to create real-world apps using the knowledge you’ve gained from previous chapters.

Get Learning Swift™ Programming 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.