Xcode Playgrounds Getting Started with Playground


  1. Create a new playground file:

    • First option: From Xcode welcome screen, select the first option (Get started with a playground).

    get started with playground

    • Second option: From menu select FileNewPlayground (⌥⇧⌘N).
  2. Name your playground and select the platform (iOS/macOS/tvOS), then click Next.

enter image description here

  1. On the next screen, choose where you want to save your playground, then click Create.