Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.28 KB | None | 0 0
  1. import UIKit
  2. import PlaygroundSupport
  3. import SwiftUI
  4.  
  5. struct ContentView: View {
  6.     var body: some View {
  7.         Text("Hello SwiftUI from macOS Mojave")
  8.     }
  9. }
  10.  
  11. let contentView = ContentView()
  12. PlaygroundPage.current.liveView = UIHostingController(rootView: contentView)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement