Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import UIKit
- import PlaygroundSupport
- import SwiftUI
- struct ContentView: View {
- var body: some View {
- Text("Hello SwiftUI from macOS Mojave")
- }
- }
- let contentView = ContentView()
- PlaygroundPage.current.liveView = UIHostingController(rootView: contentView)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement