An Xcode template for SwiftUI playgrounds

· 41 words · 1 minute read

A while ago, I made an Xcode template for SwiftUI playgrounds, because Xcode still only comes with a UIKit template.

How to use it 🔗

  1. Clone the repo
  2. cd swiftui-playground-template
  3. make
  4. Open Xcode
  5. “File” -> “New” -> “Playground”
  6. Select “SwiftUI View”