Swift Programming from Scratch in 100 Exercises

teh cover

The book is updated to Swift 3 :)

This collection of exercises is intended for people with little or no experience with programming. They introduce basic programming concepts one by one. We estimate that it will take about one month of practice to solve every exercise. Most exercises have hints that should help you solve them. If you get stuck on a problem, read the solution and try to understand it – if you don’t, feel free to ask for help in a comment! :)

To validate these exercises we worked closely with people who have no programming experience. Our goal is to make sure that we can create a solid foundation for someone who is starting out.

One of our students had absolutely no programming experience and was never good at math. After a month of practice with Swift and these exercises he can now read and write code by himself and is diving headfirst into iOS programming.

Each chapter has a bit of theory mostly in the form of code examples and about ten exercises. Before you get started download and install Xcode.



  • Introduction
  • First Steps
  • Conditionals
  • Types
  • Loops
  • Strings
  • Arrays
  • Functions
  • Recursion
  • Closures
  • Tuples & Enums
  • Dictionaries

The download contains:

  • the pdf version of the book
  • the epub version of the book (for iPad)
  • playgrounds with starting code for each exercise

Read more about the book here

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
We send about one email per week with our latest tutorials and updates
Never display this again :)