Software:Swift Playgrounds

From HandWiki
Revision as of 09:41, 9 February 2024 by Jslovo (talk | contribs) (url)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Development environment for Swift
Swift Playgrounds
App Store icon for Swift Playgrounds.png
Developer(s)Developer Tools Department
Apple Inc
Initial releaseiPad
September 13, 2016; 8 years ago (2016-09-13)
macOS
February 11, 2020; 4 years 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

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

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]

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

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

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]

December 2021 4.0 Apps can be built with SwiftUI
May 2022 4.1 Guided walkthroughs teach SwiftUI app building basics

Build and run apps on macOS 12.4

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

References

  1. 1.0 1.1 "Getting Started with Swift - WWDC 2016 - Videos" (in en). http://developer.apple.com/videos/play/wwdc2016/404/. 
  2. 2.0 2.1 Lyles, Taylor (2020-02-12). "Apple's free learn-to-code Swift Playgrounds sandbox arrives on Mac" (in en). https://www.theverge.com/2020/2/12/21135573/apple-swift-playgrounds-coding-app-available-mac. 
  3. "Education - K-12 - Teaching Code". https://www.apple.com/education/k12/teaching-code/. Retrieved November 24, 2020. 
  4. 4.0 4.1 4.2 "Create Your Own Swift Playgrounds Subscription - WWDC 2018 - Videos". https://developer.apple.com/videos/play/wwdc2018/413/. Retrieved November 24, 2020. 
  5. 5.0 5.1 5.2 5.3 "Apple releases Swift Playgrounds 2.0 with playground subscription options, more" (in en). https://appleinsider.com/articles/18/01/24/apple-releases-swift-playgrounds-20-with-playground-subscription-options-more. 
  6. 6.0 6.1 "Swift Playgrounds" (in en). https://www.apple.com/swift/playgrounds/#subsection-robots. 
  7. 7.0 7.1 7.2 Apple Inc. (September 2017). "Swift Playgrounds Curriculum Guide". https://www.apple.com/education/docs/Swift_Playgrounds_Curriculum_Guide.pdf. 
  8. "Swift Playgrounds: Previewing Apple's remarkable new portal to code" (in en). March 27, 2018. https://www.imore.com/swift-playgrounds. 
  9. "Learning to code with Swift Playgrounds as an adult" (in en). April 6, 2018. https://www.macworld.com/article/3268086/application-development/learning-to-code-with-swift-playgrounds-as-an-adult.html. 
  10. "What's New in Swift Playgrounds - WWDC 2017 - Videos" (in en). http://developer.apple.com/videos/play/wwdc2017/408/. 
  11. "Coding Skills: Programming Robots with Swift Playgrounds". https://www.apple.com/today/event/coding-skills-robots-swift-playground/. Retrieved November 25, 2020. 
  12. "Apple brings Everyone Can Code to schools serving blind and dead students". https://www.apple.com/newsroom/2018/05/apple-brings-everyone-can-code-to-schools-serving-blind-and-deaf-students/. Retrieved November 25, 2020. 
  13. "Coding and design starter kit". https://developer.apple.com/news/?id=w70xqndi. Retrieved November 25, 2020. 
  14. 14.0 14.1 Mayo, Benjamin (June 13, 2016). "Apple announces Swift Playgrounds for iPad at WWDC, public release in fall" (in en-US). https://9to5mac.com/2016/06/13/apple-announces-swift-playgrounds-for-ipad/. 
  15. "Swift Playgrounds" (in en-us). https://itunes.apple.com/us/app/swift-playgrounds/id908519492?mt=8. 
  16. Mayo, Benjamin (June 13, 2016). "Apple announces Swift Playgrounds for iPad at WWDC, public release in fall" (in en-US). https://9to5mac.com/2016/06/13/apple-announces-swift-playgrounds-for-ipad/. 
  17. "Create Swift Playgrounds content for iPad and Mac - WWDC 2020 - Videos". https://developer.apple.com/videos/play/wwdc2020/10654/. Retrieved November 25, 2020. 
  18. "Chris Lattner's Homepage". http://nondot.org/~sabre/. 
  19. 19.0 19.1 Singer, Natasha (September 12, 2016). "Apple Offers Free App to Teach Children Coding (iPads Sold Separately)" (in en-US). The New York Times. ISSN 0362-4331. https://www.nytimes.com/2016/09/13/technology/apple-coding-app-swift-playgrounds.html. 
  20. Ravipati, Sri. "Apple Launches Everyone Can Code Initiative and Apple Teacher Program -" (in en-US). https://thejournal.com/articles/2016/09/09/apple-launches-everyone-can-code-initiative-and-apple-teacher-program.aspx. 
  21. 21.0 21.1 Chambers, Bradley (May 19, 2018). "Making The Grade: Is Swift Playgrounds a useful tool in K-12?" (in en-US). https://9to5mac.com/2018/05/19/making-the-grade-swift-playgrounds-k12/. 
  22. "Apple launches app development curriculum for high school and community college students" (in en). https://www.apple.com/newsroom/2017/05/apple-launches-app-development-curriculum-for-high-school-community-college-students/. 
  23. Hall, Zac (July 30, 2018). "New Swift certification program validates coding skills for students" (in en-US). https://9to5mac.com/2018/07/30/certiport-app-development-swift-certification/. 
  24. Evans, Jonny (January 24, 2019). "Apple's 'Everyone Can Code' courses are now available in braille" (in en). https://www.computerworld.com/article/3336179/apple-ios/apple-s-everyone-can-code-courses-are-now-available-in-braille.html. 
  25. "Apple brings Everyone Can Code to schools serving blind and deaf students" (in en-US). https://www.apple.com/newsroom/2018/05/apple-brings-everyone-can-code-to-schools-serving-blind-and-deaf-students/. 
  26. "Apple's new Swift Playgrounds 1.5 includes controls for robots and drones" (in en). June 1, 2017. https://www.macworld.com/article/3199264/application-development/swift-playgrounds-robots-drones.html. 
  27. Owen, Malcolm (27 September 2018). "Swift Playgrounds could help users build controllable robots in coding lessons" (in en). https://appleinsider.com/articles/18/09/27/swift-playgrounds-could-help-users-build-controllable-robots-in-coding-lessons. 
  28. 28.0 28.1 28.2 28.3 28.4 "-Release Notes - Swift Playgrounds". https://developer.apple.com/swift-playgrounds/release-notes/. Retrieved November 25, 2020. 
  29. "Swift Playgrounds - AppAnnie report". https://www.appannie.com/en/apps/ios/app/908519492/. 
  30. Biersdorfer, J. D. (October 21, 2016). "Want to make your own app? There are free classes for that" (in en-US). The New York Times. ISSN 0362-4331. https://www.nytimes.com/2016/10/22/technology/personaltech/want-to-make-your-own-app-there-are-free-classes-for-that.html. 
  31. "Learning to code with Swift Playgrounds as an adult" (in en). April 6, 2018. https://www.macworld.com/article/3268086/application-development/learning-to-code-with-swift-playgrounds-as-an-adult.html. 
  32. "Apple launches Swift Playgrounds for iPad to teach kids to code" (in en-US). 13 June 2016. http://social.techcrunch.com/2016/06/13/apple-launches-swift-playgrounds-for-ipad-to-teach-kids-to-code/. 
  33. "Swift Playgrounds brings iOS app development to the masses" (in en). June 13, 2016. https://www.macworld.com/article/3083079/application-development/swift-playgrounds-brings-ios-app-development-to-the-masses.html. 
  34. Dilger, Daniel Eran (22 June 2016). "Apple's new Swift Playgrounds for iPad is a killer app for teaching code" (in en). https://appleinsider.com/articles/16/06/22/apples-new-swift-playgrounds-for-ipad-is-a-killer-app-for-teaching-code. 
  35. Carman, Ashley (June 14, 2016). "Swift Playgrounds sells coding as simple and fun — just like rest of Apple's products". https://www.theverge.com/2016/6/14/11926306/swift-playgrounds-coding-app-apple-kids-marketing. 
  36. Higgins, Michelle (March 20, 2017). "Travel Apps and Games for Children on the Go" (in en-US). The New York Times. ISSN 0362-4331. https://www.nytimes.com/2017/03/20/travel/travel-apps-and-games-for-children.html. 
  37. Swanner, Nate (July 14, 2016). "Here's why Apple really created Swift Playgrounds" (in en-us). https://thenextweb.com/apple/2016/07/14/apple-swift-playgrounds-preview/. 
  38. Miller, Paul (March 29, 2018). "The Xcode cliff: is Apple teaching kids to code, or just about code?". https://www.theverge.com/2018/3/29/17173362/apple-swift-playgrounds-xcode-cliff-ipad-learn-to-code-education. 
  39. "Swift Playgrounds Review for Teachers" (in en). September 27, 2016. https://www.commonsense.org/education/app/swift-playgrounds. 

External links