Tweak the project settings to get previews working

This commit is contained in:
Maurice Parker
2020-06-28 21:05:49 -05:00
parent 8d5441759f
commit c40b7d8c05
4 changed files with 13 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
//
// NetNewsWire.swift
// MainApp.swift
// Shared
//
// Created by Maurice Parker on 6/27/20.
@@ -9,7 +9,7 @@
import SwiftUI
@main
struct NetNewsWire: App {
struct MainApp: App {
#if os(macOS)
@NSApplicationDelegateAdaptor(AppDelegate.self) private var delegate

View File

@@ -1,21 +0,0 @@
//
// SwiftUIView.swift
// NetNewsWire
//
// Created by Maurice Parker on 6/28/20.
// Copyright © 2020 Ranchero Software. All rights reserved.
//
import SwiftUI
struct SwiftUIView: View {
var body: some View {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}
struct SwiftUIView_Previews: PreviewProvider {
static var previews: some View {
SwiftUIView()
}
}