Debian Codegraph @

Tests/RunCMake/XcodeProject-Device/dummy_main.swift

raw
1 #if os(iOS)
2 import UIKit
3
4 @UIApplicationMain
5 class MyApp: UIResponder, UIApplicationDelegate {
6 }
7
8 #elseif os(macOS)
9 import SwiftUI
10
11 @main
12 struct MyApp: App {
13 var body: some Scene {
14 WindowGroup {
15 }
16 }
17 }
18 #endif