ghostty/macos/Sources/App/iOS/iOSApp.swift
2024-01-13 22:26:51 -08:00

28 lines
473 B
Swift

import SwiftUI
@main
struct Ghostty_iOSApp: App {
var body: some Scene {
WindowGroup {
iOS_ContentView()
}
}
}
struct iOS_ContentView: View {
var body: some View {
VStack {
Image("AppIconImage")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(maxHeight: 96)
Text("Ghostty")
}
.padding()
}
}
#Preview {
iOS_ContentView()
}