Read these articles alongside reading Apple's Swift Programming Language Book.
The intended audience for this guide are people that don't know Swift and possibly don't know any other programming language.
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.
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.
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.
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.
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.
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.
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.
In the last article, I gave some exercises for functions. Here are some more to cover the more advanced features.
We've covered the basics up to functions, and now I'll provide exercises that review topics from all of those chapters.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.