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.

Learn to code

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.

Get started with apps

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.

Create an app

To browse the Swift Playgrounds User Guide, click Table of Contents near the top of this page.

هل كان هذا مفيدا؟
الحد الأقصى للأحرف: 250
الحد الأقصى للأحرف 250.
شكرًا لك لإفادتنا بملاحظاتك.