Learn Swift

Learn Swift from optionals and control flow through structs, classes, protocols, closures and generics. Run every example in the browser, free.

Frequently Asked Questions

Is the Swift course on CodeAcademix free?

Yes. Every lesson in the Swift track is free to read and every code example is free to run in the browser. No credit card, download or local install is required to start.

Do I need to install anything to learn Swift?

No. CodeAcademix runs Swift code directly in your browser, so you can write and execute every exercise without installing a compiler, runtime or editor on your machine.

How long does it take to learn Swift?

Most learners work through the core Swift track in four to eight weeks at roughly an hour a day. Because progress is saved per lesson, you can move faster or slower without losing your place.

What is Swift used for?

Swift is mainly used for iOS, macOS and cross-platform Apple development. The CodeAcademix track teaches the language through practical examples drawn from those areas.