A modern macOS SwiftUI template targeting macOS Tahoe (macOS 26) with Swift 6 and Xcode 26.
This app is released into the public domain under The Unlicense. See LICENSE file for more information.
This is a Github template repository that you can create your new repository from by clicking the big green "Use this template" button on Github.
What you get is an Xcode project with boilerplate code for a modern SwiftUI macOS app with these features already set up:
- NavigationSplitView sidebar with selection-driven detail panes and Liquid Glass design.
- MenuBarExtra scene for a native SwiftUI menu bar button.
- A sidebar search box and detail view pane-specific search in the window toolbar.
- A detail view pane with an example drop target for dropping files onto the window.
- A custom About window and Attributions window using SwiftUI
Windowscenes. - A menu option for toggling whether the window should always float on top of other windows.
- A custom menu for arbitrary menu options.
- An Export menu option replacement.
- A tabbed settings window using the modern Tab API.
This template uses current best practices:
NavigationSplitViewinstead of the deprecatedNavigationView#Previewmacro instead ofPreviewProviderMenuBarExtrascene instead of manualNSStatusItem- SwiftUI
Windowscenes instead ofNSWindowController - Modern
TabAPI instead of deprecatedtabItem() - Swift 6 with strict concurrency checking
- macOS 26 deployment target for Liquid Glass and latest APIs
