mirror of
https://github.com/burakgon/OpenScreens.git
synced 2026-12-02 19:39:43 +08:00
A UIKit remote canvas with touch and trackpad pointer modes, two-finger scrolling with momentum, pinch zoom, Apple Pencil, mouse and trackpad support, hardware and on-screen keyboards with a key bar, and a locally drawn pointer. The session screen floats its controls on glass above the remote screen and adds a trackpad deck that takes the lower half on a foldable held half open. Also: deep links, App Intents for Shortcuts, Siri and Spotlight, a Type Text sheet, a Mac menu bar item, an isolated data directory for development runs, and debug sample data.
14 lines
235 B
Swift
14 lines
235 B
Swift
import OpenScreensUI
|
|
import SwiftUI
|
|
|
|
@main
|
|
struct OpenScreensApp: App {
|
|
@State private var model = AppModel.shared
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
OpenScreensMobileRoot(model: model)
|
|
}
|
|
}
|
|
}
|