Swift

Join the Swift Track
Swift is a modern open-source language with the aim of making programming simple things easy, and difficult things possible while still being fast and safe by design. Swift can run in scripting mode in the included REPL or it can be compiled with full support for C and Objective-C interoperability.
Join the Swift Track
Track mentors

17 Mentors

Our mentors are friendly, experienced Swift developers who will help teach you new techniques and tricks.
Track students

7,889 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

83 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Swift

//
// HelloWorld.swift
//

struct HelloWorld {
    static func hello(_ text: String = "World") -> String {
        return "Hello, \(text)!"
    }
}

Swift is a modern open source programming language that runs on macOS, Linux and on Windows using a linux subsystem.

Swift was developed initially by Apple to interoperate with their key frameworks, Cocoa and CocoaTouch, both of which are mostly implemented in Objective-C.

Swift is influenced by a large number of existing programming languages, and it incorporates concepts from a wide range of programming methods. Everything from scripting to object oriented and functional programming.

Apple refers to Swift as a "protocol oriented programming language" and has expressed the goal of eventually making Swift useful for everything from scripts to an operating system.


This Swift Tour is an introduction the language on Apple's Public Developer Website.


Wikipedia's Swift Page giving a good, Wikipedia-styled overview.


Swift is documented in The Swift Programming Language - again, on Apple's Public Developer Website - and in the iBooks Store. The ePub version is also available on Swift.org.

Join the Swift track

Exercism is a great website

The reviews are incredibly helpful because they help me see things that I missed, learn about new ways and sometimes interesting discussions that can add a fun twist to maybe a simple problem.

Relaxed. Encouraging. Supportive.

Meet the Swift Track mentors

Once you join the Swift language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Dušan Tadić

Dušan Tadić https://www.dusantadic.dev

I'm an iOS developer using Swift since version 2.0. I'm a fan of Swift for its power and approachability.
Avatar of Farhan Ahmed

Farhan Ahmed https://github.com/insha

I have been using Swift professionally for the last 5+ years. It is a wonderful language and evolving quickly. My overall software design experience extends to a little over 2 decades in multiple industries including health care, fintech, and logistics.
Avatar of Clement Rousselle

Clement Rousselle https://github.com/crousselle

I love Swift for the new approach it gives to iOS development. I started using Swift when 1.0 was announced, excited to help developpers learn this super fun language!
Avatar of Dakota Kim

Dakota Kim https://github.com/GhostScientist

I have been programming for around 5 years using various languges and technologies. Currently, I focus on Swift and iOS development. I am excited to mentor for Swift and join Exercism's Objective-C track as a student!
Avatar of Pragya Mohan

Pragya Mohan https://github.com/PragyaM

I love Swift because of how simple and powerful the language is. I am constantly learning cool new ways of writing good Swift code as I work on an iOS app day to day.
Avatar of William D. Neumann

William D. Neumann https://github.com/wneumann

I've been programming for about 40 years, rolling through the ranks of Basic, Pascal, C, Fortran, COBOL, OCaml, and F#. Now I use Swift for most of my programming, having picked it up with the 3.0 release. Also, I can probably eat more tacos than you.
Fun. Challenging. Interesting

Community-sourced Swift exercises

These are a few of the 83 exercises on the Swift track. You can see all the exercises here.

Custom Set
medium
sets
Robot Simulator
easy
records
tuples
Acronym
medium
strings
transforming
Binary Search Tree
medium
searching
trees
ISBN Verifier
easy
conditionals
loops
pattern matching
strings
Beer Song
medium
conditionals
looping
strings

Get started with the Swift track. As with everything on Exercism, it's 100% free!

Join the Swift Track