Files
t3code/apps/swift-ios/App/T3CodeApp.swift
T

22 lines
476 B
Swift

import SwiftUI
@main
@MainActor
struct T3CodeApp: App {
@UIApplicationDelegateAdaptor(T3PlatformAppDelegate.self) private var appDelegate
@State private var model: FeatureRootModel
init() {
let client = NativeFeatureClient()
_model = State(initialValue: FeatureRootModel(client: client))
}
var body: some Scene {
WindowGroup {
RootView {
PlatformRootView(model: model)
}
}
}
}