swift-macos

Solid

macOS apps with Swift 6.3, SwiftUI, SwiftData, Swift Concurrency, Foundation Models, Swift Testing, and ScreenCaptureKit. Use when building native Mac apps - windows, menus, SwiftData, on-device AI, capture, AppKit bridges, notarization.

AI & Automation 36 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# macOS App Development - Swift 6.3 Build native macOS apps with Swift 6.3 (latest: 6.3.3, bundled in Xcode 26.6, Jun 2026), SwiftUI, SwiftData, and macOS 26 Tahoe (26.6.2 current). Target macOS 14+ for SwiftData/@Observable, macOS 15+ for latest SwiftUI, macOS 26 for Liquid Glass and Foundation Models. Note Xcode 26.6 still bundles the macOS **26.5** SDK, so 26.6-only API is not yet buildable. For the WWDC 2026 beta stack (macOS 27, Xcode 27, Swift 6.4, shipping fall 2026), see `references/fall-2026-releases.md`. ## Quick Start ```swift import SwiftUI import SwiftData @Model final class Project { var name: String var createdAt: Date // Named ProjectTask, not Task - `Task` would shadow `Swift.Task` @Relationship(deleteRule: .cascade) var tasks: [ProjectTask] = [] init(name: String) { self.name = name self.createdAt = .now } } @Model final class ProjectTask { var title: String var isComplete: Bool var project: Project? init(title: String) { self.title = title self.isComplete = false } } @main struct MyApp: App { var body: some Scene { WindowGroup("Projects") { ContentView() } .modelContainer(for: [Project.self, ProjectTask.self]) .defaultSize(width: 900, height: 600) #if os(macOS) Settings { SettingsView() } MenuBarExtra("Status", systemImage: "circle.fill") { MenuBarView() } .menuBarExtraStyle...

Details

Author
tenequm
Repository
tenequm/skills
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category