Swift Playgrounds Explained

Swift Playgrounds
Developer:Developer Tools Department
Apple Inc
Platform:iPadOS, macOS
Released:iPad

macOS
Language:Dutch, English, French, German, Italian, Japanese, Korean, Portuguese, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish
Genre:Education App

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]

Features

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]

History

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.

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. In January 2018, Apple introduced subscriptions to the iPad application, allowing users to subscribe to playgrounds developed by third parties.[4]

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

Development

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

In 2020, Apple launches the Swift Student Challenge, a competition in which students can submit code written in Swift through Swift Playgrounds.[26] [27]

In February 2022, Apple launches Swift Playgrounds 3.2 for Mac as a dedicated app on the AppStore, keeping the same focus of helping kids to learn to code with Apple's Swift programming language.[28]

Version history

!Date!Version!Description
June 2016Apple announces Swift Playgrounds for iPad - version for Apple Developers is released
July 2016Public beta version released
September 20161.0First version is released
March 20171.2Language support for Simplified Chinese, Japanese, French, German and Latin American Spanish;Support for MapKit framework
June 20171.5Possibility to write code to control robots and drones (Lego Mindstorms EV3, Parrot, Sphero...)[29] [30]
September 20171.6Support for ARKit (Augmented Reality)Support for Swift 4Access to camera
January 20182.0Subscriptions for third-party playgrounds made available.
April 20182.1Support for Swift 4.1
November 20182.2Support for Swift 4.2
May 20193.0Support for Swift 5Shared Swift files
October 20193.1Support for Swift 5.1SwiftUI framework included
February 20203.2 (macOS-only)[31] Support for macOS
April 20203.3Support for iPadOS cursor
November 20203.4Console area shows the output of print statementsExport as new playground feature
December 20214.0Apps can be built with SwiftUI
May 20224.1Guided walkthroughs teach SwiftUI app building basicsBuild and run apps on macOS 12.4
October 20224.2Customizable toolbar to have favorite itemsApp Preview tabs for multiple previews
April 20234.3Support for Swift 5.8
September 20234.4Support for Swift 5.9
April 20244.5In-app navigation tools includes Open Quickly, Quick Actions, and Jump to LineSupport for Swift 5.10

Reception

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.[32] [33] [34] [35] [36] [37] [38] [39] 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.[40] [41] Common Sense Media rates Swift Playgrounds with a 5/5 ranking score.[42]

Notes and References

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