In the “Learn to Code” Swift Playground, at the end of the Intro cut-scene which was developed using Hype, there is a “Start Coding” button which, when tapped, takes the student to the first Swift Playground page.
Can anyone shed some light on how this is done? Is there a hyperlink to the first playground, for example?
This is likely calling a JavaScript function which displays the next page. Each of these files can be downloaded to inspect the source code if you wish, but I don't think I should be reverse engineering it. Here's how you can download the individual books: Playgrounds Part II — Erica Sadun
You can find the Hype documents within the contents of each playground book:
Yes! That’s it, exactly. To make a link that goes to another page in a Swift Playground, make an action on an object that does ‘Go to URL’ and have it link to @next or @previous without opening a new window.
Select File-> New Playground(name and iOS/OSX/tvOS). Choosing iOS will import UIKit, while OSX imports Cocoa. Third one will let you use tvOS as base environment.