Swift Playgrounds Lesson Book
2.0 | 1 Vote
What is a PLAYGROUNDBOOK file?
A PLAYGROUNDBOOK file is a lesson book used by the iOS version of Apple Swift Playgrounds. It contains chapters, pages, and lesson-related executable Swift code. Developers create PLAYGROUNDBOOK files in Apple Xcode, to share with Swift Playgrounds users.
Swift Playgrounds is an iPad and Mac app that teaches novice developers how to code with Swift, a programming language used to create apps for Apple devices. Teachers and other experienced developers who want to create new Swift Playgrounds lesson books can do using Apple Xcode and the Swift Playgrounds Author Template. After filling in the template with their lesson and related Swift code, developers must save their lesson book as a PLAYGROUNDBOOK file.
Only the iPad version of Swift Playgrounds uses PLAYGROUNDBOOK files. The Mac version of Swift Playgrounds cannot open them. To share a PLAYGROUNDBOOK file with an iPad user, Mac users typically either AirDrop the file or share it from a cloud storage service. When a Playgrounds user opens a PLAYGROUNDBOOK file, it appears as a lesson book, complete with interactive lessons and a live code previewer.
How to open a PLAYGROUNDBOOK file
You can open a PLAYGROUNDBOOK file in the iOS version of Swift Playgrounds. To do so, share the file with an iPad that has Playgrounds installed. Playgrounds will then automatically open your PLAYGROUNDBOOK file.