Created
May 3, 2025 17:15
-
-
Save donpark/3105c2cc306c80d3707341cf796ab299 to your computer and use it in GitHub Desktop.
macOS window with see-through background.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ClearViewApp.swift | |
// ClearView | |
// | |
// Created by Don Park on 5/3/25. | |
// | |
import SwiftUI | |
@main | |
struct ClearViewApp: App { | |
var body: some Scene { | |
WindowGroup { | |
ContentView() | |
.containerBackground(.clear, for: .window) // <-- one-liner meat | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment