Swift Playgrounds 4+

Learn real coding the fun way

Apple

    • 4.1 • 420 Ratings
    • Free

Screenshots

Description

Swift Playgrounds makes it fun to learn to code and build real apps. You solve interactive puzzles in the guided “Get Started with Code” and learn the basics of building apps in “Get Started with Apps.” You experiment with a wide range of challenges and samples that let you explore unique coding experiences.

Swift Playgrounds doesn’t require any coding experience — it’s perfect for anyone just starting out, from eight to one-hundred-and-eight. The whole time you are learning Swift and SwiftUI, the powerful programming technologies created by Apple and used by professionals around the globe to build many of today’s most popular apps. And because it’s built to take advantage of real frameworks, Swift Playgrounds provides a one of a kind learning experience.

Lessons Built-in
• Apple-created lessons guide you through the core concepts of programming by using code to solve puzzles
• See your code run in a beautiful, interactive 3D world that you can rotate and pinch to zoom using the trackpad
• Animations introduce each new coding concept at a high-level before you dive into the puzzles
• Glossary and built-in help pages give detailed information about available commands, frameworks, and terminology

Explore and Create
• Interactive coding shows the results of your code instantly, alongside your work
• Step through code in playground books to highlight each line as it runs
• Books provide a head start to create your own playgrounds that use graphics and sound
• App Gallery walks you through the building blocks of apps, like tabbed navigation and downloading data

Build Apps
• Create real apps using SwiftUI
• See your code changes reflected live while you type
• Type quickly and accurately with inline code suggestions
• Extend your app with an ecosystem of Swift packages
• Navigate your code with project-wide search

Smart Coding Assistance
• Click and drag a brace to wrap a block of code inside a loop or conditional statement
Drag and drop snippets of commonly-used code directly into your playground
• Fix common code errors with helpful inline suggestions
• Stay organized with automatic code formatting

Real Swift and SwiftUI Code
• Learn the same powerful Swift programming language used by the pros to create apps in the App Store
Build dynamic, elegant apps using SwiftUI, a modern way to create user interfaces
Access powerful frameworks such as SpriteKit for 2D games
• Use Bluetooth APIs to write programs that communicate with real-world devices

Share or Publish
Send your projects to friends and family using Messages, Mail, AirDrop, or other Share Sheet extensions
• Bring your app projects to Xcode on Mac and back again
• Submit your completed apps to the App Store with App Store Connect

What’s New

Version 4.1

Swift Playgrounds 4.1 introduces new features, new content and bug fixes. New features include:

• Build Mac apps with SwiftUI (requires macOS 12.4 or later)
• Guided walkthroughs teach SwiftUI app building basics
• App Preview shows live updates as you make changes to your app
• Apps built with Swift Playgrounds run and install to the Applications folder
• App Store Connect integration lets you upload your finished app to the App Store (requires Apple Developer Program account)
• Smart, inline code suggestions help you write code quickly and accurately
• Project-wide search finds results across multiple files
• Snippets Library provides hundreds of SwiftUI controls, symbols, and colors
• Swift Package support lets you include publicly-available code to enhance your apps
• App Projects make it easy to move projects to Xcode and back

Ratings and Reviews

4.1 out of 5
420 Ratings

420 Ratings

gmferguson ,

Fun learning environment

I've programmed since the advent of personal computers, and did it professionally for over 30 years, and enjoyed many environments, like Turbo Pascal, but Swift Playgrounds is the most fun.

It'd be accessible to kids and non-programmers, and as a dad whose kids were raised with Macs, I wish this had been available to them. Even with the years I have behind me in a bunch of different languages, I find this entertaining. And, even though I'm retired now and don't have to program, I keep my fingers in it to help others, and play with the Playgrounds to learn Swift.

Way to go Apple!

Max55509 ,

new shapes playground

we are excited to see the spritekit capabilities in new shapes playgrounds app. here are the limitation students found.: 1. there is no way to set bounciness propery to sprite objects physics body. 2. = sign does not appear on keyboard ribbon as it did in old shapes playground 3. '(' doesn't show on keyboard ribbon after typing the object name. which is annoying for young children. 4. position and size cannot be changed after object creation using position and size properties as they expect CGPoint and CGSize and Point and Size do not work. students were able to change the center propery easily in the old shapes playground.

ArchangelX10 ,

Great app but

Hi! I'm learning Swift with this and I'm having a lot of fun. A suggestion I'd like to make is if you could include a version of each playground that has everything unlocked from the beginning.

If that doesn't make sense, I'll expain. After completing Playground 1 and 2, I learned a lot of different ways to solve the puzzles.

I want to take what I learned and go back to the beginning of Playground 1 and solve the easier beginning puzzles. For instance, "turnRight()" isn't available until later but since I already know its coming, I don't want to have to type "turnLeft()" three times. This includes all the other lessons, "let..", "var.." etc.

Simply put, I'd like to use more advanced tactics to solve the simple problems so I can understand how to use them in multiple scenarios.

Thanks!

App Privacy

The developer, Apple, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Linked to You

The following data may be collected but it is not linked to your identity:

  • Identifiers
  • Usage Data
  • Diagnostics

Privacy practices may vary, for example, based on the features you use or your age. Learn More

Featured In

More By This Developer

Utilities
Entertainment
Music
Productivity
Productivity
Productivity