Swift Playgrounds

Last updated • 4 min readFrom Wikipedia, The Free Encyclopedia
Swift Playgrounds
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)
Platform iPadOS, macOS
Available inDutch, English, French, German, Italian, Japanese, Korean, Portuguese, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish
Type Education App
Website www.apple.com/swift/playgrounds/   OOjs UI icon edit-ltr-progressive.svg

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.

Contents

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. Screenshot of Swift Playgrounds for iPad.jpg
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]

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

DateVersionDescription
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 4 Access to camera

January 20182.0Subscriptions for third-party playgrounds made available. [5]
April 20182.1Support for Swift 4.1
November 20182.2Support for Swift 4.2
May 20193.0Support for Swift 5

Shared Swift files

October 20193.1Support for Swift 5.1

SwiftUI framework included

February 20203.2 (macOS-only) [31] Support for macOS [31]
April 20203.3Support for iPadOS cursor [31]
November 20203.4Console area shows the output of print() statements [31]

Export as new playground feature [31]

December 20214.0Apps can be built with SwiftUI
May 20224.1Guided walkthroughs teach SwiftUI app building basics

Build and run apps on macOS 12.4

October 20224.2Customizable toolbar to have favorite items

App 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 Line

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

Related Research Articles

<span class="mw-page-title-main">Safari (web browser)</span> Web browser by Apple

Safari is a web browser developed by Apple. It is built into several of Apple's operating systems, including macOS, iOS, iPadOS and visionOS, and uses Apple's open-source browser engine WebKit, which was derived from KHTML.

<span class="mw-page-title-main">Xcode</span> IDE including tools for developing software for Apple platforms

Xcode is Apple's integrated development environment (IDE) for macOS, used to develop software for macOS, iOS, iPadOS, watchOS, tvOS, and visionOS. It was initially released in late 2003; the latest stable release is version 16, released on September 16, 2024, and is available free of charge via the Mac App Store and the Apple Developer website. Registered developers can also download preview releases and prior versions of the suite through the Apple Developer website. Xcode includes command-line tools that enable UNIX-style development via the Terminal app in macOS. They can also be downloaded and installed without the GUI.

The Worldwide Developers Conference (WWDC) is an information technology conference held annually by Apple Inc. The conference is usually held at Apple Park in California. The event is usually used to showcase new software and technologies in the macOS, iOS, iPadOS, watchOS, tvOS, and visionOS families as well as other Apple software; new hardware products are sometimes announced as well. WWDC is also an event hosted for third-party software developers that work on apps for iPhones, iPads, Macs, and other Apple devices. Attendees can participate in hands-on labs with Apple engineers and attend in-depth sessions covering a wide variety of topics.

The Apple community consists of the users, media, and third party companies interested in Apple Inc. and its products. They discuss rumors, future products, news stories, and support of Apple's products. Apple has a devoted following, especially for the Apple II, Mac, iPod, iPhone, and luminary staff members. The personal computer revolution, mixed with Apple's vertical integration of its products and services, has increased popularity. Apple's corporate policy of extreme secrecy about future products intensify interest in the company's activities.

<span class="mw-page-title-main">Panic Inc.</span> American software company and video game publisher

Panic Inc. is an American software development and video game publishing company based in Portland, Oregon. The company specializes in macOS and iOS applications and began publishing video games in 2016.

<span class="mw-page-title-main">Things (software)</span> Task management software

Things is a task management app for macOS, iPadOS, iOS, watchOS, and visionOS made by Cultured Code, a software startup based in Stuttgart, Germany. It first released for Mac as an alpha that went out in late 2007 to 12,000 people and quickly gained popularity. The following July, when the App Store launched, it was among the first 552 apps available for iPhone. It was then released alongside the iPad in 2010, the Apple Watch in 2015, and the Apple Vision Pro in 2024.

iOS Mobile operating system by Apple

iOS is a mobile operating system developed by Apple exclusively for its devices. It was unveiled in January 2007 for the first-generation iPhone, which launched in June 2007. Major versions of iOS are released annually; the current stable version, iOS 18, was released to the public on September 16, 2024.

iOS SDK Software development kit for iOS

The iOS SDK, formerly the iPhone SDK, is a software development kit (SDK) developed by Apple Inc. The kit allows for the development of mobile apps on Apple's iOS and iPadOS operating systems.

iOS is a mobile operating system developed by Apple Inc. and was first released as iPhone OS in June 2007, coinciding with the launch of the first generation iPhone. iPhone OS was renamed iOS following the release of the iPad, starting with iOS 4. With iOS 13, Apple began offering a separate operating system, iPadOS, for the iPad. iOS is also the foundation of the newer audioOS and tvOS, and shares some of its code with macOS. New iOS versions are released yearly, alongside new iPhone models. From the launch of the iPhone in 2007 until the launch of iPhone 4 in 2010, this occurred in June or July; since then, new major versions are usually released in September, with the exception of iOS 5, which released in October 2011. Since the launch of the iPhone in June 2007, there have been 18 major releases of iOS, with the current major version being iOS 18, released on September 16, 2024.

iPadOS Mobile operating system for iPad tablets

iPadOS is a mobile operating system developed by Apple Inc. for its iPad line of tablet computers. It was given a name distinct from iOS, the operating system used by Apple's iPhones to reflect the diverging features of the two product lines, such as multitasking. It was introduced as iPadOS 13, reflecting its status as the successor to iOS 12 for the iPad, and first released to the public on September 24, 2019. Major versions of iPadOS are released annually; the current stable version, iPadOS 18, was released to the public on September 16, 2024.

<span class="mw-page-title-main">Craig Federighi</span> American software engineer

Craig Federighi is an American engineer and business executive who is the senior vice president (SVP) of software engineering at Apple Inc. He oversees the development of Apple's operating systems. His teams are responsible for delivering the software of Apple's products, including the user interface, applications, and frameworks.

<span class="mw-page-title-main">Apple Maps</span> Map application operated by Apple Inc.

Apple Maps is a web mapping service developed by Apple Inc. As the default map system of iOS, iPadOS, macOS, and watchOS, it provides directions and estimated times of arrival for driving, walking, cycling, and public transportation navigation. A "Flyover" mode shows certain urban centers and other places of interest in a 3D landscape composed of models of buildings and structures.

<span class="mw-page-title-main">Apple News</span> News aggregator app

Apple News is a news aggregator app developed by Apple Inc., for its iOS, iPadOS, watchOS, and macOS operating systems. The iOS version was launched with the release of iOS 9. It is the successor to the Newsstand app included in previous versions of iOS. Users can read news articles with it, based on publishers, websites and topics they select, such as technology or politics.

tvOS Operating system for the Apple TV

tvOS is an operating system developed by Apple Inc. for the Apple TV, a digital media player. In the first-generation Apple TV, Apple TV Software was based on Mac OS X. Starting with the second generation, the software is based on the iOS operating system and has many similar frameworks, technologies, and concepts.

<span class="mw-page-title-main">Airmail (email client)</span> Mac and iOS email client

Airmail is an email client for iPhone and macOS by Italian company Bloop SRL. It was based originally on the Sparrow client.

iOS 13 2019 mobile operating system

iOS 13 is the thirteenth major release of the iOS mobile operating system developed by Apple for the iPhone, iPod Touch and HomePod. The successor to iOS 12, it was announced at the company's Worldwide Developers Conference (WWDC) on June 3, 2019, and released on September 19, 2019. It was succeeded by iOS 14, released on September 16, 2020.

macOS Monterey 18th major version of the macOS operating system

macOS Monterey is the eighteenth major release of macOS, Apple's desktop operating system for Macintosh computers. The successor to macOS Big Sur, it was announced at WWDC 2021 on June 7, 2021, and released on October 25, 2021. macOS Monterey was succeeded by macOS Ventura, which was released on October 24, 2022.

iPadOS 16 2022 tablet operating system by Apple Inc.

iPadOS 16 is the fourth major release of the iPadOS operating system developed by Apple for its iPad line of tablet computers. The successor to iPadOS 15, it was announced at the company's Worldwide Developers Conference (WWDC) on June 6, 2022, along with iOS 16, macOS Ventura, watchOS 9, and tvOS 16. It received numerous new features, improving multitasking and many other aspects of the operating system, most notably on iPads with Apple's M1 SoC and later.

SwiftUI is a declarative framework for building user interfaces for iOS, iPadOS, watchOS, tvOS, visionOS and macOS, developed by Apple Inc. for the Swift programming language.

References

  1. 1 2 "Getting Started with Swift - WWDC 2016 - Videos". Apple Developer. Retrieved January 29, 2019.
  2. 1 2 Lyles, 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. 1 2 3 "Create Your Own Swift Playgrounds Subscription - WWDC 2018 - Videos". Apple Developer. Retrieved November 24, 2020.
  5. 1 2 3 4 "Apple releases Swift Playgrounds 2.0 with playground subscription options, more". AppleInsider. 25 January 2018. Retrieved February 10, 2019.
  6. 1 2 "Swift Playgrounds". Apple. Retrieved November 24, 2020.
  7. 1 2 3 Apple 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. 1 2 Mayo, 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. 1 2 Singer, 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. 1 2 Chambers, 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 WWDC20 Swift Student Challenge winners determined to shape the future". Apple Newsroom. Retrieved 2024-04-28.
  27. "Build your first app in Swift Playgrounds - WWDC22 - Videos". Apple Developer. Retrieved 2024-04-28.
  28. "Swift Playgrounds Now Available on Mac - Latest News - Apple Developer". developer.apple.com. Retrieved 2024-04-28.
  29. "Apple's new Swift Playgrounds 1.5 includes controls for robots and drones". Macworld. June 1, 2017. Retrieved January 31, 2019.
  30. Owen, Malcolm (27 September 2018). "Swift Playgrounds could help users build controllable robots in coding lessons". AppleInsider. Retrieved February 1, 2019.
  31. 1 2 3 4 5 "-Release Notes - Swift Playgrounds". Apple Developer. Retrieved November 25, 2020.
  32. "Swift Playgrounds - AppAnnie report". www.appannie.com. Retrieved February 10, 2019.
  33. 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.
  34. "Learning to code with Swift Playgrounds as an adult". Macworld. April 6, 2018. Retrieved January 29, 2019.
  35. "Apple launches Swift Playgrounds for iPad to teach kids to code". TechCrunch. 13 June 2016. Retrieved January 29, 2019.
  36. "Swift Playgrounds brings iOS app development to the masses". Macworld. June 13, 2016. Retrieved January 29, 2019.
  37. Dilger, Daniel Eran (22 June 2016). "Apple's new Swift Playgrounds for iPad is a killer app for teaching code". AppleInsider. Retrieved January 29, 2019.
  38. 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.
  39. 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.
  40. Swanner, Nate (July 14, 2016). "Here's why Apple really created Swift Playgrounds". The Next Web. Retrieved February 5, 2019.
  41. Miller, Paul (March 29, 2018). "The Xcode cliff: is Apple teaching kids to code, or just about code?". The Verge. Retrieved February 1, 2019.
  42. "Swift Playgrounds Review for Teachers". Common Sense Education. September 27, 2016. Retrieved February 10, 2019.