Swift playground

Apple’s latest iPad Pro is its most powerful tablet yet. And going into WWDC 2021, many viewers (myself included) had long wishlists of features we were hoping we might finally get to see — multiuser support, a more advanced Files app, native support for Final Cut and Photoshop, better compatibility with external displays.

We didn’t get many of those dream features, but we did get something of a surprise: Apple announced Swift Playgrounds 4, the newest version of its Swift Playgrounds sandbox, a program Apple SVP Craig Federighi claimed will bring “a whole new dimension of productivity to iPad.” It was a quick announcement that was easy to miss in the flurry of new tools that crossed the stage. But developers say it will drastically lower the barrier to entry for new iOS developers — and may gesture at more exciting iPad features to come.

Image: Apple

Swift Playgrounds isn’t a new app. It’s been available on the iPad for years, and it recently came to macOS as well. In the past, though, it’s largely been an educational program targeted at children. It introduces new coders to Swift through a friendly and colorful series of puzzles. It hasn’t, in the past, been seen as a tool to develop real apps.

Image: Apple

But Swift Playgrounds 4 is the first iteration of Swift Playgrounds that could function as a standalone developer tool. There are some new features that will make the process of building apps easier. Notably, you can view a live preview of the app you’re building on the side of your screen as you’re working on it, which changes when you change your code. You can run the app full-screen to test it as well. But the biggest news is: not only can you create apps in Swift Playgrounds 4, but when the update is available later this year, you’ll be able to submit them to the App Store directly from within Swift Playgrounds.

This is a big deal because it allows developers to bypass the long, involved process that’s currently required to distribute software. Apps for the Apple ecosystem are not currently built in Swift Playgrounds or anything nearly as fun and colorful; they’re largely built and distributed in Xcode, a massive and complicated application that only runs on Macs. It’s famously difficult to learn.

Image: Apple

In addition, the process of getting an app from Xcode to the App Store has a number of complex steps and requires a developer account, other programs to be installed, and a whole slew of videos, screenshots, graphics, and other assets to be uploaded to Apple’s platform called App Store Connect. It’s a barrier to entry for new developers. App Store Connect is a pain in the neck for even professionals to navigate, says Matt Weinberg, co-founder of digital agency Happy Cog, who has been building apps for over 15 years.

“Xcode’s powerful, it’s great, but it’s very complicated,” Weinberg tells me. “There’s a lot of people who have the idea to code, have the idea for an app, and then realize there would be 50 steps on App Store Connect. We do this professionally, and it’s hard for us to even figure out App Store Connect. This will help them really get apps up.”

Tucker Haas, co-founder and CEO of the finance app Quo, who has built over a dozen iOS applications, feels similarly: “When I was first learning to program iOS apps over 10 years ago, it was a daunting task full of hurdles just to get the development environment set up,” he tells me. The new Swift Playgrounds, he says, will make things “a hundred times easier for new developers.”

Weinberg also thinks the real-time preview feature will help keep new developers engaged. “It’s kind of hard to overstate how big of a deal that is, that you could be writing on your iPad and as you’re writing code you’re getting a preview of your actual app,” he says. “That moment where you write a piece of code and you hit ‘run’ and it works, and you see something, I remember that, and it was 25 years ago. I think Apple is doing a really good job making that moment a lot quicker and a lot easier for people.”

Developers have been calling for an Xcode equivalent for the iPad for years now, and the reasons why are obvious. As Verge writer Paul Miller argued back in 2018, such a program would give new coders who got their footing through Swift Playgrounds a way to graduate into “true application developers” without having to buy a new device.

iPads are also more affordable than Macs, and Xcode for the iPad could make app development more accessible for small businesses and new developers who want to stick with an iPad as their primary driver. “This is most significant for those learning programming who want to avoid that higher barrier to entry of getting a Mac,” Haas says. “The cost of building a simple utility app and getting it on the App Store has now dropped several hundred dollars.” And even for professional coders, an iPad could be useful as a secondary device for use on the go and for passing around among collaborators.

But Swift Playgrounds 4 isn’t the big announcement the developer community was waiting for. It has significant limits and lacks several advanced tools — debugging and profiling tools, versioning, storyboard integration, support for third-party packages, etc. “Swift Playgrounds is great for experimenting and debugging code, but it is missing many of the features ... required to make fuller-fledged apps,” Haas explains. He says the program is “perfect for developing small utility applications, such as a to-do list, but currently incapable of building the next Angry Birds.”

And for some developers, the convenience of the iPad’s form factor is outweighed by the limitations of its software — which persist, despite the new power of its chips. “Software development is not just code typing,” says Serg Krivoblotsky, technological R&D lead at the software development company MacPaw. “It’s also tons of browsing, reading, quick switching between different tools and applications. All this stuff is still more convenient on the desktop.” And of course, plenty of programs developers use on Macs, like code analyzers, debugging tools, and system profilers, aren’t yet available for iPadOS.

That doesn’t mean Swift Playgrounds 4 is useless to professionals. Many people I spoke to were excited by the real-time preview function, which can help users visualize their code as they’re writing it and present it to clients and collaborators in a more accessible format. Weinberg thinks it might be helpful for real-time brainstorming. “I could easily imagine during prototyping, sitting there with clients, sitting there with partners, and they have some ideas, and us just literally building versions of their ideas,” he says.

Image: Apple

“I cannot wait to get my hands on Swift Playgrounds 4,” says Chris Wagner, an engineer at the software agency MartianCraft. Wagner plans to use it to “iterate on features in isolation — that is, write components on iPad and bring them into larger Xcode projects.”

Of course, some professionals may use it for fun. “I could see myself writing an app on the side,” says Cory Bohon, another MartianCraft engineer who uses a Mac for work, but an iPad Pro as his personal device.

But the most significant thing about Swift Playgrounds 4, to the developers I spoke to, is what it indicates about Apple’s vision for the future of the iPad. To many, it is a hint that coding on iPads is a priority for Apple — and that “Xcode on iPad,” and perhaps a user interface that better complements it, might be on the way.

“I treat the new feature as an important first step towards bringing Xcode to the iPad,” says Vira Tkachenko, CTO of MacPaw. “The talks about Xcode coming to iPad have been going on for a while. It looks inevitable with the M1 processors on Macs, and Apple is gradually laying the groundwork for merging macOS and iOS.” Tkachenko tells me she “can’t wait to see real Xcode on iPad.”

When Apple announced the M1 iPad Pro, I argued that Apple should allow the device to run macOS. After all, the iPad has hardware that makes up for the MacBook Air’s greatest weaknesses, and plenty of Big Sur’s features would take good advantage of its touchscreen capability. And it seems like we’re reaching a point in the evolution of Apple’s hardware where the MacBook can do everything the iPad can do, while the iPad can still only do iPad things (even though plenty of “MacBook” tasks could take good advantage of its unique form factor, hardware, and touchscreen).

Image: Apple

So after watching this keynote and after speaking to the people who use this stuff day in and day out, I’m optimistic. Moving app development to the iPad is a sign that Apple (contrary to its own insistence) is thinking of the iPad in this way. It’s thinking of the iPad as a MacBook alternative. It’s starting to bring over tasks that would never have been possible before. Maybe we can expect Xcode or something similar suited to its form factor. Maybe we can expect an iPadOS better suited to app development down the line. Regardless, it seems like we might see more where this came from — at least, I certainly hope we will.

In This Stream

WWDC 2021: the latest news from Apple’s annual developer conference

View all 35 stories Sours: https://www.theverge.com/2021/6/15/22534902/ipad-pro-apple-swift-playgrounds-4-wwdc-2021

Swift Playgrounds

Swift Playgrounds is a development environment for Swift that was released to macOS within Xcode on June 2, 2014, and later ported to iPad on September 13, 2016. The Mac Catalyst version of the app was launched on Mac in February 2020.

The goal of the app is to help users learn to code Swift, Apple's general-purpose, compiled programing language. By learning Swift, users will be able to code apps and programs for iOS, iPadOS, macOS, watchOS, tvOS, and Linux. 

The app can also be used to quickly prototype both program functions, as well as user interface and user experience elements. Toy manufacturers quickly took advantage of Apple's robust app experience and have launched devices that let you turn playtime into learning to code.

In 2021, Apple announced a critical update to Swift Playgrounds on iPad — the ability to publish apps to the App Store directly from an iPad. Apps built on iPad can only be written using the Swift language, and users can only publish iPhone and iPad apps to the App Store.

Swift Playgrounds Features


Publish apps to the App Store via an iPadPublish apps to the App Store via an iPad

Users need iPadOS 15 and Swift Playgrounds to develop apps on their iPad. Apple didn't go into detail during its WWDC keynote, but users will soon build and publish iPhone and iPad apps directly from the app.

Since the app is built around teaching novice coders, it has features like code suggestion autocomplete and a library of icons for use during development. Developers can see their app update in a live preview window and even run the app to test its features within the development environment.

Apple did not define how the publishing workflow is handled, but it should all be managed via the developer's Apple ID and App Store Connect.


Showing a user how to code a 'for loop'Swift Playgrounds on iPad, showing a user how to code a 'for loop' command

The app allows novice coders to test and render code in real-time. It can evaluate and display the results of a single expression as it is coded, giving immediate feedback to the coder.

This can decrease development time for experienced users, allowing them to maintain a constant workflow without needing to resolve themselves to an arduous and inefficient trial-and-error process.

Typically, this kind of development environment is referred to as read-eval-print-loop, or REPL, and is lauded for its ability to encourage experimentation and learning. It also is particularly beneficial when it comes to quickly prototyping code with instant feedback.


Bundled with XCode 11Playgrounds bundled with XCode 11

The app is available both on iPadOS and bundled with Xcode for macOS. Originally introduced and bundled with Xcode 6, Apple designed the macOS version of Playgrounds to give developers a place to quickly code and receive immediate feedback without needing to recompile every time the developer tweaks the code.

Another upside is that it gave developers a quick way to test out user interface elements without needing to build the entire program first.

When it came to the iPad, it was touted as both a development environment as well as an educational tool. The app allows users to download lessons and challenges which can be accessed offline at a later date. 

The iPad version comes bundled with a few lessons that teach young or inexperienced coders the basics of coding syntax. Coders will assist three characters, Byte, Blu, and Hopper, in achieving simple goals such as navigating to goals or collecting gems.

These goals can be completed by filling in code and debugging scripts, teaching coders the basic syntax of coding.


Additional lessons via subscriptionAdditional lessons that can be downloaded via a Swift Playgrounds subscription

The app starts out teaching novice coders about code syntax, simple commands, functions, loops, parameters, conditional coding, variables, operators, types, initialization, and how to fix bugs in code.  

After mastering the fundamentals of Swift, users can download additional topics via "More Playgrounds" within the iPad. This allows users to use Playgrounds to learn more advanced topics, including ARKit, MapKit, camera access, and the ability to work with third-party accessories. 

Third-party Accessories

Lego Mindstorms EV3Novice coders can use Swift to control the Lego Mindstorms EV3

For young coders, several third-party companies have created products to use alongside the iPadOS app.

One such third-party device is Lego's Mindstorms EV3 kit, a programmable brick that features three motors, a touch sensor, a color sensor, an infrared sensor, and a remote control. The kit also includes snap-on parts enabling users to build a variety of robots.

Another is Sphero, a company that creates a series of robots and toys that are capable of being controlled both through Swift Playgrounds and Sphero's apps. Their Star Wars-branded toys are fun to play with but also a coding playground for teaching concepts surrounding logic paths and routines.

Swift Playgrounds Audience

Students working in the classroomStudents working in Swift Playgrounds in the classroom

Apple suggests students aged eight or older should be able to use the app for the iPad and encourages schools and teachers to incorporate their Everyone Can Code curriculum into the classroom.

Thanks to a large library of additional lessons that can be purchased from a subscription, even veteran coders can learn additional skills by downloading third-party lessons.

Currently, Swift Playgrounds is available in English, Dutch, French, German, Italian, Japanese, Korean, Portuguese, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, and Turkish. 

Sours: https://appleinsider.com/inside/swift-playgrounds
  1. Channel system crossword clue
  2. Print blocks for sale
  3. Ohio allergy season
  4. Antipolo house and lot


Run hosted Swift or deploy own instance with Docker.


Use 3rd party frameworks.
Show your code.

Easy to Use

Ready to use with your own content, or customize the sources!

What people are saying...

Gianluca T.

"Who'd be crazy enough to build a web-based version of Swift Playgrounds? Marcin Krzyżanowski, of course! This is a testament that Swift on the server isn't a joke. "

Swift Web Weekly #42

Esteban T.

"man; this whole swiftplayground.run is out of this world!! Major kudos to you!!"

Dave V.

"Support for the SPM and custom frameworks makes this quite a flexible tool already. As far as online code editors go, this site looks very well done!"

iOS Dev Weekly #336

David O.

"I was sad to see the IBM Swift Sandbox get deprecated. This is a welcome addition to the world."

Kacper H.

"Looks nice, congrats!"

Martin M.

"Very good and cool work!"

Margaret E.

"I think it's a perfectly good idea, well let people without a mac to have some fun with swift"

Tor Rafsol L.

"This is great news, especially since IBM is shutting down their sandbox."


"Wonderful, I really wanted to teach to the people who dont have an apple computer. That would be nice to test their code online"

Sours: http://online.swiftplayground.run/

A Swift Playground explaining the concepts of the new Combine framework

This playground will help you to get started with Combine - Apple Developer Documentation.

Included in this playground

The playground is a paged playground and is built up in several chapters

  • What is Combine?
  • Publishers & Subscribers
  • Rules of subscriptions
  • Foundation and Combine
  • @Published property and bindings
  • Memory management explained with
  • Flatmap and matching error types
  • Combining Publishers
  • Future and Promises
  • Custom and UIKit extensions
  • Debugging publishers

More to come!


Example of a playground page

Interesting resources

Some interesting resources regarding Combine.

Interesting Frameworks

Some interesting frameworks regarding Combine.

Sours: https://github.com/AvdLee/CombineSwiftPlayground

Playground swift

Apple's Swift Playgrounds app for iPad and macOS makes it fun and easy to learn Swift, and my playground books give you the chance to see my code, then edit it and explore the results.

I have two books available right now:

  • Learn Core Graphics uses the full Core Graphics API, so you'll learn real skills that you can transfer to iOS and other Apple platforms. Better yet, as you learn you'll see the results of your drawing right next to your code, so you can experiment freely.
  • Swift in Sixty Seconds takes my introductory Swift tutorial and packages it up in an interactive playground you can experiment with. You get both the text and the videos, all offline on your iPad or Mac.

Both playground books are completely free, so if you're using an iPad right now you can click the button below to get it. This will subscribe you to the Hacking with Swift playgrounds feed, so when I make more playgrounds in the future you'll be able to get them too.

(Requires an iPad with Swift Playgrounds installed.)

If you're using Swift Playgrounds for macOS: scroll to the bottom of the playgrounds list, click "Enter a Subscription URL", then enter https://www.hackingwithswift.com/playgrounds/feed.json into the alert that appears.

I hope you enjoy this approach to learning Swift – please feel free to get in touch by email at [email protected] or on Twitter at @twostraws if you have questions, suggestions, or other feedback!

In case you're interested in learning how to make your own playground book, I can highly recommend session 413 from WWDC 2018: Create Your Own Swift Playgrounds Subscription – it inspired me to try this out, and I hope it will inspire you too!

(Requires an iPad with Swift Playgrounds installed.)

Sours: https://www.hackingwithswift.com/playgrounds

Swift Playgrounds

Development environment for Swift

For the playgrounds feature of the Xcode development environment, see Playgrounds (Xcode feature).

App Store icon for Swift Playgrounds.png
Developer(s)Developer Tools Department
Apple Inc
Initial releaseiPad
September 13, 2016; 5 years ago (2016-09-13)
February 11, 2020; 20 months ago (2020-02-11)
PlatformiPadOS, macOS
Available inDutch, English, French, German, Italian, Japanese, Korean, Portuguese, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish
TypeEducation App
Websitewww.apple.com/swift/playgrounds/ Edit this on Wikidata

Swift Playgrounds is an educational tool and development environment for the Swift programming language developed by Apple Inc, initially announced at the WWDC 2016 conference.[1] It was introduced as an iPad application alongside iOS 10, with a macOS version introduced in February 2020.[2] It is available for free via Apple's App Store for iPadOS and Mac App Store for macOS.

In addition to publishing the Swift Playgrounds application itself, Apple also produces a series of educational lessons teaching programming and debugging skills.[3] The application can also subscribe to lessons and other content published by third parties,[4][5] including lessons allowing users to control educational toys such as Lego Mindstorms EV3 and Sphero robots.[6] Apple publishes a curriculum guide for educators wishing to incorporate Swift Playgrounds into their teaching.[7]


Screenshot of Swift Playgrounds. The goal of this exercise is to help Byte collect a gem using a combination of simple commands.

Swift Playgrounds was designed to be a development environment and an education tool simultaneously.[8] The app allows users to download lessons and challenges. Once stored on the iPad, these can be copied and modified without the need of an active internet connection.

Apple's initial lessons, available for all Swift Playgrounds users to download, introduce three characters: Byte, Blu, and Hopper. In each challenge, young coders are asked to assist these characters achieving simple goals by coding simple instructions. As challenges become more difficult, more complex algorithms are required to solve them and new concepts are introduced.[9] Advanced lessons in Playgrounds introduce users to more complex features such as Apple's Bluetooth and Augmented Reality development platform (ARKit) APIs.[10]

In addition to Apple's own educational content, Swift Playgrounds can download third-party lessons through its subscriptions feature.[5][4] Some third-party lessons allow the app to control robots (such as Lego Mindstorms EV3 and Sphero educational toys) and drones (such as the Parrot).[6] Apple also offers coding classes using Swift Playgrounds at Apple Stores.[11]

Swift Playgrounds was designed to be fully accessible to users with disabilities.[7][12] It supports Apple's VoiceOver screen reader technology, and at WWDC 2020 Apple introduced a series of lessons called "Swan's Quest" which use accessibility features to help students solve puzzles.[13]


The Swift Playgrounds application was announced on June 13, 2016 at WWDC 2016 as an iPad exclusive app to help people learning to code with Apple's Swift programming language.[1][14] A beta version for Apple developers was released on the same date, followed by a public beta version in the following month. The app was presented as a teaching tool for students, introducing the core concepts of coding using an interactive environment designed for touch.[15] The application's name is an apparent reference to Xcode's earlier Playgrounds feature, introduced in 2014.[citation needed]

Along with iOS 10, the app was officially released on September 13, 2016.[16] Apple also published a curriculum guide, recommending the iPad app for middle school students and up.[7] In January 2018, Apple introduced subscriptions to the iPad application, allowing users to subscribe to playgrounds developed by third parties.[5][4]

On February 11, 2020, Apple released a macOS version of Swift Playgrounds on the Mac App Store, built using Apple's Catalyst technology.[2] Subsequent versions of the application have supported both iPadOS and macOS, with most of Apple's curriculum available on both platforms.[citation needed] For WWDC 2020, Apple published a session instructing third-party developers on how to support both platforms in their subscriptions.[17]


The iPad version of the Swift Playgrounds (1.0) was released on September 13, 2016. Chris Lattner was also one of the few core people who drove Swift Playgrounds for iPad, including conception, design, implementation, and iteration.[18] Simultaneously with its release, Apple published guides on the iBookStore to teach users how to navigate and use the application.[14] The launch coincided with a large Silicon Valley campaign to press public schools to teach coding and was followed by Apple's announcement of the "Everyone Can Code" initiative, a program that provides computer science curriculum to help kids learn how to code.[19][20] Swift Playgrounds is included in this program as free coding curriculum and Apple provides detailed guides to walk teachers through teaching Swift.[21] Apple also released "App Development with Swift", a year-long curriculum for teaching Swift software development and later introduced a Swift certification program to validate coding skills for students.[22][23]

In May 2018, Apple announced the extension of "Everyone Can Code" initiative to US schools serving blind and deaf students. In January 2017, Apple partnered with RNIB (Royal National Institute of Blind People) to provide braille versions of the Swift Playgrounds graphics used in its coding course.[24][25]

Version history[edit]

Date Version Description
June 2016 Apple announces Swift Playgrounds for iPad - version for Apple Developers is released
July 2016 Public beta version released
September 2016 1.0 First version is released
March 2017 1.2 Language support for Simplified Chinese, Japanese, French, German and Latin American Spanish;

Support for MapKit framework

June 2017 1.5 Possibility to write code to control robots and drones (Lego Mindstorms EV3, Parrot, Sphero...)[26][27]
September 2017 1.6 Support for ARKit (Augmented Reality)

Support for Swift 4

Access to camera

January 2018 2.0 Subscriptions for third-party playgrounds made available.[5]
May 2019 3.0 Support for Swift 5

Shared Swift files

October 2019 3.1 Support for Swift 5.1

SwiftUI framework included

February 2020 3.2 (macOS-only)[28]Support for macOS[28]
April 2020 3.3 Support for iPadOS cursor[28]
November 2020 3.4 Console area shows the output of print() statements[28]

Export as new playground feature[28]


Upon release, Swift Playgrounds reached the first place in the top free iPad education apps in nearly 100 countries. The app received generally positive reviews from users (4/5 rating score on the App Store) and from the press.[29][19][30][31][32][33][34][35][36][21] The app's ability to make serious coding accessible to young students was praised, as well as the fact that it was not excessively focused on Swift but rather in teaching good coding practices.[37][38]Common Sense Media rates Swift Playgrounds with a 5/5 ranking score.[39]


  1. ^ ab"Getting Started with Swift - WWDC 2016 - Videos". Apple Developer. Retrieved January 29, 2019.
  2. ^ abLyles, Taylor (2020-02-12). "Apple's free learn-to-code Swift Playgrounds sandbox arrives on Mac". The Verge. Retrieved 2020-02-14.
  3. ^"Education - K-12 - Teaching Code". Apple. Retrieved November 24, 2020.
  4. ^ abc"Create Your Own Swift Playgrounds Subscription - WWDC 2018 - Videos". Apple Developer. Retrieved November 24, 2020.
  5. ^ abcd"Apple releases Swift Playgrounds 2.0 with playground subscription options, more". AppleInsider. Retrieved February 10, 2019.
  6. ^ ab"Swift Playgrounds". Apple. Retrieved November 24, 2020.
  7. ^ abcApple Inc. (September 2017). "Swift Playgrounds Curriculum Guide"(PDF). Apple - Everyone can code.
  8. ^"Swift Playgrounds: Previewing Apple's remarkable new portal to code". iMore. March 27, 2018. Retrieved January 31, 2019.
  9. ^"Learning to code with Swift Playgrounds as an adult". Macworld. April 6, 2018. Retrieved February 10, 2019.
  10. ^"What's New in Swift Playgrounds - WWDC 2017 - Videos". Apple Developer. Retrieved February 10, 2019.
  11. ^"Coding Skills: Programming Robots with Swift Playgrounds". Apple. Retrieved November 25, 2020.
  12. ^"Apple brings Everyone Can Code to schools serving blind and dead students". Apple. Retrieved November 25, 2020.
  13. ^"Coding and design starter kit". Apple Developer. Retrieved November 25, 2020.
  14. ^ abMayo, Benjamin (June 13, 2016). "Apple announces Swift Playgrounds for iPad at WWDC, public release in fall". 9to5Mac. Retrieved January 31, 2019.
  15. ^"Swift Playgrounds". App Store. Retrieved January 29, 2019.
  16. ^Mayo, Benjamin (June 13, 2016). "Apple announces Swift Playgrounds for iPad at WWDC, public release in fall". 9to5Mac. Retrieved February 20, 2019.
  17. ^"Create Swift Playgrounds content for iPad and Mac - WWDC 2020 - Videos". Apple Developer. Retrieved November 25, 2020.
  18. ^"Chris Lattner's Homepage". nondot.org. Retrieved February 10, 2019.
  19. ^ abSinger, Natasha (September 12, 2016). "Apple Offers Free App to Teach Children Coding (iPads Sold Separately)". The New York Times. ISSN 0362-4331. Retrieved January 31, 2019.
  20. ^Ravipati, Sri. "Apple Launches Everyone Can Code Initiative and Apple Teacher Program -". THE Journal. Retrieved February 1, 2019.
  21. ^ abChambers, Bradley (May 19, 2018). "Making The Grade: Is Swift Playgrounds a useful tool in K-12?". 9to5Mac. Retrieved February 1, 2019.
  22. ^"Apple launches app development curriculum for high school and community college students". Apple Newsroom. Retrieved February 1, 2019.
  23. ^Hall, Zac (July 30, 2018). "New Swift certification program validates coding skills for students". 9to5Mac. Retrieved February 1, 2019.
  24. ^Evans, Jonny (January 24, 2019). "Apple's 'Everyone Can Code' courses are now available in braille". Computerworld. Retrieved February 1, 2019.
  25. ^"Apple brings Everyone Can Code to schools serving blind and deaf students". Apple Newsroom. Retrieved February 1, 2019.
  26. ^"Apple's new Swift Playgrounds 1.5 includes controls for robots and drones". Macworld. June 1, 2017. Retrieved January 31, 2019.
  27. ^Owen, Malcolm. "Swift Playgrounds could help users build controllable robots in coding lessons". AppleInsider. Retrieved February 1, 2019.
  28. ^ abcde"-Release Notes - Swift Playgrounds". Apple Developer. Retrieved November 25, 2020.
  29. ^"Swift Playgrounds - AppAnnie report". www.appannie.com. Retrieved February 10, 2019.
  30. ^Biersdorfer, J. D. (October 21, 2016). "Want to make your own app? There are free classes for that". The New York Times. ISSN 0362-4331. Retrieved February 10, 2019.
  31. ^"Learning to code with Swift Playgrounds as an adult". Macworld. April 6, 2018. Retrieved January 29, 2019.
  32. ^"Apple launches Swift Playgrounds for iPad to teach kids to code". TechCrunch. Retrieved January 29, 2019.
  33. ^"Swift Playgrounds brings iOS app development to the masses". Macworld. June 13, 2016. Retrieved January 29, 2019.
  34. ^Dilger, Daniel Eran. "Apple's new Swift Playgrounds for iPad is a killer app for teaching code". AppleInsider. Retrieved January 29, 2019.
  35. ^Carman, Ashley (June 14, 2016). "Swift Playgrounds sells coding as simple and fun — just like rest of Apple's products". The Verge. Retrieved January 29, 2019.
  36. ^Higgins, Michelle (March 20, 2017). "Travel Apps and Games for Children on the Go". The New York Times. ISSN 0362-4331. Retrieved February 1, 2019.
  37. ^Swanner, Nate (July 14, 2016). "Here's why Apple really created Swift Playgrounds". The Next Web. Retrieved February 5, 2019.
  38. ^Miller, Paul (March 29, 2018). "The Xcode cliff: is Apple teaching kids to code, or just about code?". The Verge. Retrieved February 1, 2019.
  39. ^"Swift Playgrounds Review for Teachers". Common Sense Education. September 27, 2016. Retrieved February 10, 2019.

External links[edit]

Sours: https://en.wikipedia.org/wiki/Swift_Playgrounds

You will also be interested:

Swift Playgrounds

Learn serious code. In a seriously fun way.

Swift Playgrounds is a revolutionary app for iPad and Mac that makes learning Swift interactive and fun. It requires no coding knowledge, so it’s perfect for students just starting out. Solve puzzles to master the basics using Swift — a powerful programming language created by Apple and used by the pros to build today’s most popular apps. Then take on a series of challenges and step up to more advanced playgrounds designed by Apple and other leading developers.

Robots and drones await your commands.
Now you can make robots do incredible things with code you write yourself. Learn to program connected devices like the Sphero SPRK+, LEGO® MINDSTORMS® EV3, and drones by Parrot, and watch them come alive right before your eyes.

Find out more about connected devices

Real Swift code.
Real simple. Real playful.

Learning to code with Swift Playgrounds is incredibly engaging. The app comes with a complete set of Apple-designed lessons. Play your way through the basics in “Fundamentals of Swift” using real code to guide a character through a 3D world. Then move on to more advanced concepts.

What you see is what you code: Create code on the left side of your screen and instantly see the results on the right — with just a tap.

Conquer levels, puzzles, and coding concepts.

Starting with the “Fundamentals of Swift” lesson, you’ll tackle goals using the same code professional developers use every day. As you move along, more advanced concepts come into play. You’ll continually build on what you’ve learned and create even more complex code.

Fundamentals of Swift.

You’ll start out by learning the important concepts you need to understand code.

  • Commands

  • Functions

  • Loops

  • Parameters

  • Conditional Code

  • Variables

  • Operators

  • Types

  • Initialization

  • Bug Fixing

Master the basics,
then step up to more challenges.

In addition to the built-in library of lessons, Swift Playgrounds includes a collection of extra challenges — with new ones added over time. Go deeper on a topic you’ve already studied or try your hand at something new. You’re not just building fun creations, you’re building your skills, too.

A big world of playgrounds from a big community of developers.

Discover dozens of channels with fun new challenges created by leading developers and publishers. Subscribe to your favorites and you’ll receive their latest creations right in the app. Now there are no bounds to your playgrounds.

A new way to create code.
On the best device for learning.

Easily drag braces around code, wrap existing code in a loop, or choose from dozens of drag-and-drop snippets included in Swift Playgrounds — right from your iPad or Mac. Take full advantage of powerful Multi-Touch, multitasking, and split view capabilities on iPad. Also, enjoy the view from your Mac. The larger screen makes room for a new sidebar with a complete table of contents and quick access to other Swift files. Just tap, drag, or type text and numbers. Then interact with what you’ve created.

QuickType and coding keyboard.

Write an entire line of code with just a tap. With QuickType for code, the Shortcut Bar automatically and intelligently suggests commands as you go. When typing is the best option, iPad has an innovative keyboard designed for coding. Simply touch a key to access multiple characters, then drag to choose the one you want. Experience similar code suggestions on Mac, which comes with even more help to complete your code.

Snippets Library.

Quickly drag commonly used pieces of code from the Snippets Library to minimize typing.

Touch to edit.

Conveniently drag the boundaries of a statement around existing code.

Help is just a tap away.

If you come across a command that’s hard to understand, simply tap it and hold. A menu of options will appear. Choose the most relevant one and get the answer you need.

Jump-start your creativity with Starting Points.

Use what you’ve learned to create something brand new. With Starting Points, you can get a head start on more advanced coding, add multiple files to your playground at once, and use iPad features such as Multi-Touch interactions, accelerometer, and gyroscope. Personalize your project by adding graphics, audio, and more. Then easily share with friends, family, or the world. Students can also share code with classmates when teachers use Starting Points to create lessons.

Explore your creations in full screen.

Immerse yourself by using the vivid Retina displays of iPad or Mac. Simply tap the center divider, then drag to view your code or live project on the full screen. You can also customize built-in games like Battleship and Brick Breaker, then immerse yourself by letting them take up the whole screen.

See your code crawl, roll, or fly through the sky.

Watch your code spring to life by programming real robots, musical instruments, and drones. The Accessories channel is filled with engaging playgrounds that let you configure and control popular educational toys like LEGO® MINDSTORMS® EV3. And that’s just the beginning.

Sphero playgrounds let you guide this spherical robot through tricky courses, accelerate over jumps, and change colors.

Dash playgrounds challenge you to make it sing, dance and respond to sensor inputs to react to their environment.

MeeBot playgrounds guide you through coding Jimu Robot Meebot’s six robotic servo motors to make him move in lifelike ways. Or even dance.

Tello EDU playgrounds let you command multiple Tello drones to fly in a swarm, perform flips and other acrobatic movements, and push the limits of your creativity.

Explore robots, drones, and many other connected devices that support Swift Playgrounds.

Shop devices

Share your creation with
a friend. Or the world.

Send your code to a friend’s iPad using Mail, Messages, or AirDrop. Your friends can view it in Swift Playgrounds and even build on it by adding their own twists. You can also post a video of your running program to the web for the world to see.

Take things to Xcode.
Then take them further.

Because you’re working with real code, you can import and export directly between Swift Playgrounds and Xcode. So you can try out your ideas with the tool pros use to develop iOS and Mac apps.

Code is universal. So we teach it in many languages.

Swift Playgrounds is now available in 15 languages — Castilian and Latin American Spanish, Brazilian Portuguese, Traditional and Simplified Chinese, English, German, French, Italian, Korean, Japanese, Thai, Turkish, Dutch, and Swedish. Because we believe that everybody, everywhere should be able to learn to code.

Sours: https://www.apple.com/swift/playgrounds/

179 180 181 182 183