Swift Playgrounds 4+

Learn real coding the fun way

Apple

    • 3.8 • 1.7K Ratings
    • Free

iPad 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 iPad and the real iOS SDK, 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 with a finger and pinch to zoom
• 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, sound, and touch
• App Gallery walks you through the building blocks of apps, like tabbed navigation and receiving input from device sensors

Build Apps on iPad
• Create real apps on iPad 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
• Touch and hold to grab any command and move it around to change the order of your code
• Drag a brace with your finger 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, SwiftUI, and iOS 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 iOS frameworks such as SpriteKit for 2D games, SceneKit for 3D graphics, UIKit, and more
• Your code has direct control of iPad hardware, including the gyroscope, accelerometer, camera, and touch events

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.5.1

Swift Playgrounds 4.5.1 includes Swift 5.10 and the iOS 17.5 SDK.

Ratings and Reviews

3.8 out of 5
1.7K Ratings

1.7K Ratings

mikebrodt ,

Great Learning Tool with a Major Bug

This is actually a very fun learning tool and I am enjoying using it a lot. I am not a developer by trade, but I have been wanting to learn and this is a very nice introduction.

There is one major bug with the iPad, however. Intermittently the Playground will stop accepting keyboard input. I tried with the Magic Keyboard and with a bluetooth keyboard with the same result. It doesn’t happen on the macOS version.

Outside of that, I have been really enjoying it. And some of the new 3rd Party notebooks like one from Procreate seem really interesting. I am looking forward to getting to build my own app one day soon.

Pat6897 ,

Wonderfully Motivating!

As a previous reviewer mentioned, this app takes the dullness out of learning how to program. Even as an adult, I am able to enjoy this learning process. I was an amateur programmer in high school, so I believe that for me to say this is a wonderful way to learn and/or brush up your basics for programming logic is quite a statement for what the developers have created.

The team who created this executed the interface in a very intuitive design; something I find quite uncommon with these "learn to program" apps. I would love to help spread the word about this app so it is not abandoned. Kudos to the Apple team!!! Please keep up the awesome work! Even adults need a more stimulating environment for expanding their skill set.

There are a lot of people mentioning device incompatibility and software bugs. I am running this on an iPad Mini 2. The bugs I have encountered are minor and do not interrupt my progress in a truly time consuming way. Typically, the little map won't load, so I will go back to the previous lesson then return and all will load normally.

mgcQuirk ,

Learn coding, both in general and with learning UI components

It starts by reviewing/teaching basic commands (loops, if-then-else, etc.) using a miniature game world. It then introduces UI elements and shows you how to programmatically build up a UI screen / app.

I found the teaching progression to be chaotic: for example, I learned something during. task 1 that later tasks didn't want me to use. I found it merely irritating, but others might find it too frustrating or confusing to continue.

One tip: when I first tried to use the app tutorials they wouldn't work, telling me that the .swiftpm file type couldn't be opened. Web searches didn't help me find answers, but restarting my iPad fixed the problem. I did need to delete and reinstantiate the app tutorials (I guess the files weren't initializing properly until after I restarted.)

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

More By This Developer

Apple Books
Books
Apple Podcasts
Entertainment
Find My Friends
Social Networking
Keynote
Productivity
Shazam: Find Music & Concerts
Music
iMovie
Photo & Video

You Might Also Like

Tinkercad
Education
Code! Learn Swift Version
Education
AR Makr
Education
Spike™ LEGO® Education
Education
EV3 Classroom LEGO® Education
Education
Tayasui Sketches School
Education
  翻译: