Files
YuJiWatch/YuJiWatchApp/YuJiWatchApp.swift
T

15 lines
312 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import SwiftUI
/// 语记手表版入口:watchOS 10+,SwiftUI
@main
struct YuJiWatchApp: App {
@StateObject private var sessionManager = WatchSessionManager()
var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(sessionManager)
}
}
}