When you create a playground—either on a Mac with Xcode or using Playgrounds on an iPad—you can start writing your code right away. You can use import to bring in modules large and small, including ones that are focused on specific tasks such as managing audio or video or even playgrounds themselves (with PlaygroundSupport). You can control what parts of your code are visible in a playground by using markup commands such as //#-editable-code and //#-end-editable-code (see Chapters 4 and 6 for examples).
Playgrounds are actually packages of files that can include resources ...