Automatic Observation Tracking in UIKit and AppKit: The Feature Apple Forgot to Mention
iOS 18 and macOS 15 include hidden automatic observation tracking for UIKit/AppKit, enabling views to update automatically when @Observable models change.
iOS 18 and macOS 15 include hidden automatic observation tracking for UIKit/AppKit, enabling views to update automatically when @Observable models change.
Explains unexpected scaling behavior of UIFontMetrics and @ScaledMetric in iOS/iPadOS and provides a workaround for proportional UI scaling.
A tutorial on using iOS 17's new UIPageControlTimerProgress class to build an auto-advancing page carousel similar to Instagram Stories.
A tutorial on implementing the new iOS 17 palette picker menu style in both SwiftUI and UIKit for displaying compact, scrollable option rows.
A guide to extending SwiftUI's DocumentGroup for iOS apps, enabling custom toolbars, onboarding screens, and deeper UIKit integration.
A guide to enabling landscape orientation for a single screen (like a gallery) in a UIKit iOS app while keeping the rest of the app portrait-only.
A developer shares insights from building a production app with SwiftUI, comparing its strengths and weaknesses against UIKit for iOS development.
A tutorial on implementing swipe actions (like delete and favorite) in iOS Collection Views using UICollectionLayoutListConfiguration.
A tutorial on implementing and customizing the iOS 16+ UICalendarView for single and multi-date selection in UIKit apps.
A guide to building a cross-platform rich text editor for Apple's UIKit, AppKit, and SwiftUI, including open-source library insights.
A tutorial on customizing the height of UIKit bottom sheets in iOS 16 using the new custom detent API.
Explains how to use iOS 16's new UIHostingConfiguration to embed SwiftUI views within UITableView and UICollectionView cells.
A technical guide to fully customizing the UINavigationBar in UIKit, covering background, title, button colors, and status bar style.
A tutorial on implementing single and multiple selection in UITableView using UIKit's diffable data sources.
A tutorial on implementing gradient borders for UIViews in UIKit using CAGradientLayer and UIColor patterns.
Explains the differences between loadView and viewDidLoad in UIKit, focusing on memory management and weak vs. strong subviews.
A guide to correctly implementing gradient text in UIKit's UILabel, covering common pitfalls and solutions for proper rendering.
A collection of 10 modern UIKit tips for iOS developers, covering dark mode support, trait collection changes, and UIButton context menus.
A Swift extension simplifies rounding specific corners of a CALayer by providing more intuitive constant names like .bottomLeft.
A guide to fixing iOS 15's default transparent navigation bar behavior in apps using UINavigationBarAppearance.