A powerful macOS framework that enables views to be displayed above all other windows using private SkyLight APIs.

.moveToSky() modifier for any SwiftUI viewAdd the following to your Package.swift file:
dependencies: [
.package(url: "https://github.com/Lakr233/SkyLightWindow", from: "1.0.0"),
]
To enable the OpenSwiftUI package trait, use:
dependencies: [
.package(
url: "https://github.com/Lakr233/SkyLightWindow",
from: "1.0.0",
traits: ["OpenSwiftUI"]
),
]
This uses OpenSwiftUI-spm
binary package. Import OpenSwiftUI instead of SwiftUI in your app. At the
time of writing, OpenSwiftUI's macOS binary support requires macOS 15.0 or newer.
In Xcode, add the package dependency and enable the OpenSwiftUI trait in the package settings.
To enable trait in your Xcode project, Xcode 26.4+ is required.

Platform compatibility for default trait:
Platform compatibility for OpenSwiftUI trait:
import SwiftUI
import SkyLightWindow
struct ContentView: View {
var body: some View {
Text("This view is always on top!")
.moveToSky()
}
}
Usage is identical to the SwiftUI integration above. Import OpenSwiftUI instead of SwiftUI:
import OpenSwiftUI
import SkyLightWindow
struct ContentView: View {
var body: some View {
Text("This view is always on top!")
.moveToSky()
}
}
You can also create topmost windows programmatically:
import SkyLightWindow
let screen = NSScreen.main!
let view = AnyView(Text("Overlay Content"))
let controller = SkyLightOperator.shared.delegateView(view, toScreen: screen)
// or you can just delegate a window
SkyLightWindow uses macOS's private SkyLight framework to:
The framework handles:
⚠️ Privacy & Security: This framework uses private APIs but works without special entitlements and is available to the Mac App Store.
⚠️ System Compatibility: The default SwiftUI integration supports macOS
11.0 or newer. The OpenSwiftUI trait requires macOS 15.0 or newer. Private
APIs can change between system updates.
cd Example
open MoveToSky.xcworkspace
The Example directory contains two Xcode projects that share the same example
sources:
MoveToSky.xcodeproj uses the default SwiftUI integration.MoveToSkyOpenSwiftUI.xcodeproj enables the OpenSwiftUI trait and requires
Xcode 26.4 or newer.Open the project for the integration you want to test.
This project is licensed under the MIT License. See the LICENSE file for details.
LookInside helps you inspect a running iOS or macOS app UI from your Mac.
Copyright 2025 © Lakr Aream. All rights reserved.
Swift
100.0%
A powerful macOS framework that enables views to be displayed above all other windows using private SkyLight APIs.

.moveToSky() modifier for any SwiftUI viewAdd the following to your Package.swift file:
dependencies: [
.package(url: "https://github.com/Lakr233/SkyLightWindow", from: "1.0.0"),
]
To enable the OpenSwiftUI package trait, use:
dependencies: [
.package(
url: "https://github.com/Lakr233/SkyLightWindow",
from: "1.0.0",
traits: ["OpenSwiftUI"]
),
]
This uses OpenSwiftUI-spm
binary package. Import OpenSwiftUI instead of SwiftUI in your app. At the
time of writing, OpenSwiftUI's macOS binary support requires macOS 15.0 or newer.
In Xcode, add the package dependency and enable the OpenSwiftUI trait in the package settings.
To enable trait in your Xcode project, Xcode 26.4+ is required.

Platform compatibility for default trait:
Platform compatibility for OpenSwiftUI trait:
import SwiftUI
import SkyLightWindow
struct ContentView: View {
var body: some View {
Text("This view is always on top!")
.moveToSky()
}
}
Usage is identical to the SwiftUI integration above. Import OpenSwiftUI instead of SwiftUI:
import OpenSwiftUI
import SkyLightWindow
struct ContentView: View {
var body: some View {
Text("This view is always on top!")
.moveToSky()
}
}
You can also create topmost windows programmatically:
import SkyLightWindow
let screen = NSScreen.main!
let view = AnyView(Text("Overlay Content"))
let controller = SkyLightOperator.shared.delegateView(view, toScreen: screen)
// or you can just delegate a window
SkyLightWindow uses macOS's private SkyLight framework to:
The framework handles:
⚠️ Privacy & Security: This framework uses private APIs but works without special entitlements and is available to the Mac App Store.
⚠️ System Compatibility: The default SwiftUI integration supports macOS
11.0 or newer. The OpenSwiftUI trait requires macOS 15.0 or newer. Private
APIs can change between system updates.
cd Example
open MoveToSky.xcworkspace
The Example directory contains two Xcode projects that share the same example
sources:
MoveToSky.xcodeproj uses the default SwiftUI integration.MoveToSkyOpenSwiftUI.xcodeproj enables the OpenSwiftUI trait and requires
Xcode 26.4 or newer.Open the project for the integration you want to test.
This project is licensed under the MIT License. See the LICENSE file for details.
LookInside helps you inspect a running iOS or macOS app UI from your Mac.
Copyright 2025 © Lakr Aream. All rights reserved.
Swift
100.0%