dummy_main.swift 232 B

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