Learn to code while playing
Swift Playgrounds makes it fun to learn and experiment with code. You can use real Swift code to solve puzzles and guide a character through a 3D world. Swift Playgrounds requires no coding knowledge, so it’s perfect for beginners.
Get started with apps
As your knowledge of Swift grows, you can begin learning SwiftUI, the framework you’ll use to build apps right on your Mac. Explore the tutorial app “Get Started with Apps” in the Learn to Code & Build Apps section and try adding some of your own code to see what it does.
Create an app using SwiftUI
As you expand your knowledge of SwiftUI, you can experiment with building an app by adding code to a template in the App Gallery. When you’re ready, you can create a new app of your own.
To browse the Swift Playgrounds User Guide, click Table of Contents near the top of this page.