mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Tweak the project settings to get previews working
This commit is contained in:
@@ -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
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user