Skip to content

Instantly share code, notes, and snippets.

@Abizern
Forked from paulweichhart/Template.swift
Created December 8, 2019 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Abizern/9a9801f16985875e2f2a398b076b4c34 to your computer and use it in GitHub Desktop.
Save Abizern/9a9801f16985875e2f2a398b076b4c34 to your computer and use it in GitHub Desktop.
SwiftUI Playground Template
import Foundation
import PlaygroundSupport
import SwiftUI
struct Content: View {
var body: some View {
Text("👋🏻, 🌍!")
}
}
PlaygroundPage.current.liveView = UIHostingController(rootView: Content())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment