Core AppKit patterns for macOS apps: NSWindow/NSWindowController lifecycle, NSView/NSViewController hierarchy, responder chain event flow, NSDocument architecture, custom view drawing with layer-backing, drag & drop, and printing. Use when building or refactoring any AppKit-based macOS app, managing windows and view…
On-device AI on macOS — Foundation Models (LanguageModelSession, @Generable, tool calling, SystemLanguageModel), CoreML (MLModel, MLTensor, Neural Engine), MLX Swift, llama.cpp. MLComputeUnits (CPU+NE+GPU), model deployment in bundle vs on-demand resources, XPC isolation for model inference. Use when implementing…
CloudKit on macOS — CKContainer/CKDatabase/CKRecord/CKQuery/CKSubscription, CKSyncEngine, NSPersistentCloudKitContainer, push-based sync, CloudKit entitlement + sandbox, iCloud Drive document sync, multi-window conflict resolution. Use when syncing data via CloudKit on macOS.
Core Data on macOS — NSPersistentContainer, NSManagedObject, fetch requests, NSFetchedResultsController, batch operations, history tracking, staged migration, NSPersistentCloudKitContainer, multi-process via NSPersistentHistoryTracking. Use when persisting data with Core Data in macOS apps.
Debugging on macOS — LLDB for AppKit, Memory Graph Debugger, Instruments (Hangs, Time Profiler, Allocations, Metal System Trace), oslog/ossignpost, dtrace, crash report symbolication, sandbox violation debugging, Address Sanitizer, Thread Sanitizer. Use when debugging performance, memory, or crash issues in macOS apps.
File system patterns for macOS 26+ with Swift 6.3. Covers sandbox entitlements for file access, security-scoped bookmarks for persistent access, NSOpenPanel/NSSavePanel and SwiftUI fileImporter/fileExporter, NSFileCoordinator/NSFilePresenter for coordinated reads and writes, NSMetadataQuery for Spotlight integration…
Inter-process communication on macOS — XPC services (NSXPCConnection, NSXPCInterface, @objc protocol), privilege separation with XPC, App Groups (com.apple.security.application-groups), DistributedNotificationCenter, CFMessagePort. Use when implementing XPC services, helper tools, or inter-process communication on…
Build and customize macOS menu bar menus, keyboard shortcuts, context menus, dock menus, and services integration using SwiftUI commands. Covers .commands placement, CommandMenu, CommandGroup, Button.keyboardShortcut, .contextMenu, NSMenu escape hatch, menu validation, and first-responder routing. Use when adding or…
Metal GPU programming for macOS: MTKView integration via NSViewRepresentable, render and compute pipelines, MTLHeap resource management, GPU selection and family feature detection, synchronization with fences and events, CAMetalLayer direct rendering, and MSL shader conventions. Use when building GPU-accelerated…
TextKit 2 architecture, NSTextView configuration, NSAttributedString editing, find bar with NSTextFinder, keyboard event handling via NSTextInputClient, font panel integration, and wrapping NSTextView as NSViewRepresentable for SwiftUI. Use when building rich text editors, code editors, or any custom text input…
Design and implement macOS multi-window architectures using WindowGroup, Window, Settings, MenuBarExtra, openWindow/dismissWindow, scene styles, and DocumentGroup. Use when building apps with multiple windows, custom window chrome, menu bar utilities, parameterized window opening, state restoration, or document-based…
Networking on macOS — URLSession async/await, background sessions for daemons, Network.framework (NWConnection/NWListener/NWBrowser), WebSocket, Bonjour/mDNS, NWPathMonitor, App Transport Security, local network entitlement. Use when implementing network communication in macOS apps.
Swift API Design Guidelines for macOS — naming conventions for AppKit-style delegates, NS-prefixed type interop, @objc protocol design, error types (POSIXError, CocoaError), Swift package design for macOS libraries. When designing Swift APIs for macOS frameworks or libraries.
Architecture patterns for macOS apps — MV with @Observable, MVVM, NSDocument-based architecture, multi-window state, NSApplicationDelegate lifecycle, scene-based vs delegate-based app entry points, dependency injection. Use when structuring the architecture of a macOS app.
Swift Charts on macOS — all chart types (BarMark, LineMark, PointMark, AreaMark, RectangleMark, RuleMark), ChartProxy, selection, scrollableAxes, chartOverlay, annotations, dark mode colors, print-ready chart rendering, accessibility for charts. Use when creating data visualizations with Swift Charts on macOS.
Swift Codable on macOS — Codable, JSONDecoder/JSONEncoder, PropertyListDecoder, CodingKeys, custom encode/decode, NSCoding migration, NSKeyedArchiver bridge, NSUserDefaults Codable storage, NSDocument Codable model serialization. Use when serializing/deserializing data or migrating from NSCoding in macOS apps.
Swift concurrency for macOS — actors, @MainActor, Task/TaskGroup, AsyncStream, Sendable, strict concurrency migration, and AppKit bridging patterns (DispatchQueue, NSRunLoop, XPC service concurrency). Use when writing async Swift code that interacts with AppKit, daemons, or XPC services on macOS.
★not rated 2 3mo agoA74 tokens
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: