Contents

Swift Playgrounds

Learn to write apps, repurpose sample code, create, and share learning experiences in Swift Playgrounds.

Overview

Swift Playgrounds provides a unique environment for developers to explore, tinker, and learn how to code and build apps. For those new to coding, Swift Playgrounds offers a way for you to explore what’s possible with the Swift programming language, SwiftUI, and the APIs (frameworks) you’ll use to build apps for Apple platforms — iOS, iPadOS, and macOS. For experienced coders, app playgrounds enable you to write SwiftUI apps and submit them to the App Store — directly from Swift Playgrounds on your iPad or Mac. As an educator, you can leverage Swift Playgrounds to create step-by-step guided playground books that encourage learners to examine, understand, and interact with code.

[Image]

The following articles will help you build and refine your app playgrounds as you’re ready to take the next step. They contain tips and techniques to help you make the most of your app or book in Swift Playgrounds. Learn how to add functionality to your app from the content provided in Swift Playgrounds or from another developer entirely by adding a Swift Package. Find out how to take advantage of the preview system, app capabilities, and debugging with the console. As you complete app playgrounds or playground books, share them with a subscription and inspire a whole new generation of Swift coders.

Topics

App playgrounds

Sample apps

  • Exploring SwiftUI Sample Apps

Playground books

Subscriptions