The Swift Programming Language Companion
Read these articles alongside reading Apple's Swift Programming Language Book.
The Swift Programming Language Companion: Introduction
The intended audience for this guide are people that don't know Swift and possibly don't know any other programming language.
The Swift Programming Language Companion: The Basics
So, to recap, we have the book and Xcode side-by-side. We're going to read the first chapter, The Basics, and write code in the Playground.
The Swift Programming Language Companion: Optionals
At this point, you should have read The Basics in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Basic Operators
At this point, you should have read Basic Operators in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Strings and Characters
At this point, you should have read Strings and Characters in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Collection Types
At this point, you should have read Collection Types in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Control Flow
At this point, you should have read Control Flow in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Functions
At this point, you should have read Functions in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Functions (Part 2)
In the last article, I gave some exercises for functions. Here are some more to cover the more advanced features.
The Swift Programming Language Companion: Review of Basics to Functions
We've covered the basics up to functions, and now I'll provide exercises that review topics from all of those chapters.
The Swift Programming Language Companion: Review of Basics to Functions (Part 2)
We've covered the basics up to functions, and reviewed them in the last article, and we're going to continue reviewing those chapters in this one.
The Swift Programming Language Companion: Closures
At this point, you should have read Closures in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Enumerations
At this point, you should have read Enumerations in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Structures and Classes
At this point, you should have read Structures and Classes in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Properties Part 1
At this point, you should have read Properties in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Properties Part 2
This is Part 2 of the Properties companion. It builds on Properties Part 1, so read that if you have not and do the exercises. The exercises in this chapter require that you have done those already.
The Swift Programming Language Companion: Methods
At this point, you should have read Methods in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Subscripts
At this point, you should have read Subscripts in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.
The Swift Programming Language Companion: Inheritance
This article is part of a series on learning Swift by writing code to The Swift Programming Language book from Apple.
Read each article after you have read the corresponding chapter in the book. This article is a companion to Inheritance.
The Swift Programming Language Companion: Initialization
This article is part of a series on learning Swift by writing code to The Swift Programming Language book from Apple.
Read each article after you have read the corresponding chapter in the book. This article is a companion to Initialization.