Join Exercism’s Swift Track for access to 101 exercises grouped into 35 Swift Concepts, with automatic analysis of your code and personal mentoring, all 100% free.
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Calculate the number of grains of wheat on a chessboard given that the number on each square doubles.
Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.
Given a number determine whether or not it is valid per the Luhn formula.
Swift incorporates the latest research on programming languages, combined with Apple's experience.
Swift eliminates entire classes of unsafe code.
From its earliest conception, Swift was built to be fast.
Swift was designed to be anyone’s first programming language.
Support Apple platforms, Linux, and Windows.
Swift is open-source and developed in the open at Swift.org.
Every language has its own way of doing things. Swift is no different. Our mentors will help you learn to think like a Swift developer and how to write idiomatic code in Swift. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Swift - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe Swift track on Exercism has 35 concepts and 101 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.
See all Swift exercisesThe best part, it’s 100% free for everyone.