Showing Settings from macOS Menu Bar Items: A 5-Hour Journey
A developer's deep dive into the challenges of opening settings windows from macOS menu bar apps, covering SwiftUI limitations and workarounds.
A developer's deep dive into the challenges of opening settings windows from macOS menu bar apps, covering SwiftUI limitations and workarounds.
iOS 18 and macOS 15 include hidden automatic observation tracking for UIKit/AppKit, enabling views to update automatically when @Observable models change.
A Swift tutorial for macOS developers on how to add a background color to menu bar icons to make apps stand out.
A guide to extending SwiftUI's DocumentGroup for iOS apps, enabling custom toolbars, onboarding screens, and deeper UIKit integration.
A tutorial on customizing the default 'About' screen in Mac applications using two different methods for AppKit and SwiftUI.
A guide to implementing image resizing extensions for both UIKit (iOS) and AppKit (macOS) in Swift, enabling cross-platform code.
A guide to building a cross-platform rich text editor for Apple's UIKit, AppKit, and SwiftUI, including open-source library insights.
A Swift tutorial on how to fetch images from the AppKit NSPasteboard, making it behave more like UIKit's UIPasteboard.
Explores forbidden UIKit controls in Catalyst's 'Optimize Interface for Mac' mode, detailing workarounds and the new Mac idiom.
Analyzes SwiftUI's readiness for production, examining Apple's Fruta sample app and common crash issues in iOS 14 and macOS Big Sur.
A guide to creating configurable macOS Big Sur widgets using WidgetKit and custom Xcode templates for AppKit apps.
Explains how to handle macOS sandbox file permissions in AppKit, covering methods like NSOpenPanel and Full Disk Access for accessing folders outside an app's sandbox.
Explores Apple's Marzipan project for porting iOS UIKit apps to macOS, including architecture, hacks, and future SDK availability.