cmake/Tests/RunCMake/XcodeProject/dummy_main.swift

19 lines
232 B
Swift
Raw Normal View History

2021-09-14 00:13:48 +02:00
#if os(iOS)
import UIKit
@UIApplicationMain
class MyApp: UIResponder, UIApplicationDelegate {
}
#elseif os(macOS)
import SwiftUI
@main
struct MyApp: App {
var body: some Scene {
WindowGroup {
}
}
}
#endif