Add an iPhone client sharing the macOS app's SwiftUI code

This commit is contained in:
Ian Gulliver
2026-10-21 22:00:54 -07:00
parent 57d660c57f
commit 9e81e9107d
46 changed files with 1625 additions and 287 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
import AppKit
import SwiftUI
import UserNotifications
@MainActor
@@ -11,7 +11,9 @@ final class Notifier: NSObject, UNUserNotificationCenterDelegate {
}
private func open(_ origin: String, _ taskId: String) {
#if os(macOS)
NSApp.activate()
#endif
Servers.shared.show(origin)
pending = (origin, taskId)
deliver()