// main.swift // Lyrebird // // Copyright (c) 2026 Joshua Parmenter / realizedsound // SPDX-License-Identifier: MIT #if os(macOS) import AppKit // Program entry runs on the main thread; assert main-actor isolation for the // AppKit bootstrap rather than hopping asynchronously. `AppDelegate.init` builds // `@MainActor` synthesizers and UI. MainActor.assumeIsolated { let app: NSApplication = NSApplication.shared let delegate: AppDelegate = AppDelegate() app.setActivationPolicy(.regular) app.delegate = delegate app.activate(ignoringOtherApps: true) app.run() } #else // The ShoeGaze demo is a macOS AppKit application and has no iOS entry point. print("ShoeGazeDemo runs on macOS only.") #endif