Files
__mahjong/hello/hello-platform/ver-mac/src/HPApp.swift
T
kornerr 1aa218d0bb Create hello-platform for macOS (#10)
Co-authored-by: Михаил Капелько <kornerr@gmail.com>
2026-11-01 05:01:36 +01:00

15 lines
285 B
Swift

import AppKit
import SwiftUI
@main
struct HPApp: App {
@NSApplicationDelegateAdaptor(HPAppDelegate.self) private var appDelegate
var body: some Scene {
WindowGroup {
HPView(appDelegate.hpVM)
}
.defaultSize(width: 640, height: 480)
}
}