Latest Updates
Read my latest articles. Browse the archives. Follow the RSS feed. Subscribe to the newsletter to get the latest posts direct to your inbox.
-
SwiftUI SplitView Compact Column Control
In iOS 17, Apple added control over which column shows when a Split View collapses to a single column.
-
Custom Traits and SwiftUI
Starting with iOS 17 you can add your own custom traits to the UIKit trait environment and have them interoperate with the SwiftUI environment.
-
Registering For Trait Changes
Apple deprecated traitCollectionDidChange in iOS 17, replacing it with a method to register for specific trait changes. Let’s see how that works.
-
Content Unavailable Views
In iOS 17, Apple added a content unavailable view for when you need to show an empty state. It’s available for both SwiftUI and UIKit.
-
Replacing IBDesignable with Xcode Previews
If you’re still using IBDesignable and IBInspectable it’s time to migrate to Xcode Previews.
-
UIKit View Lifecycle - viewIsAppearing
Apple added a new view controller lifecycle callback in iOS 17 that’s back-deployable to iOS 13. Here’s a quick guide to viewIsAppearing.
-
iPhone 15 Screen Sizes
Everyone gets the dynamic island. Here’s a recap of what’s new with the 2023 iPhone 15 screen sizes.
-
Strict Concurrency Checking in Swift Packages
How do you enable strict concurrency checking for all targets in a Swift Package?