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 Pie Charts
Apple added pie charts to SwiftUI in iOS 17. Here’s an example to get you started.
-
Fetching OSLog Messages in Swift
Using the OSLog framework for logging in your Apps? How do you retrieve those logs at runtime to show them in your App? Here’s what worked for me.
-
Xcode Bookmarks
Xcode 15 added a new way to bookmark source code annotations and search queries.
-
SwiftUI Inverting A Boolean Binding
How do you change a SwiftUI binding to a boolean to give the inverted value?
-
SwiftUI Tasks Blocking the MainActor
I find it way too easy to accidentally block the MainActor, and hang the user interface, with a long-running task that I thought was on a background thread. Here’s a recent example.
-
Xcode Console and Unified Logging
If you’re still using print statements to debug your App it’s time you moved to the unified OS logging framework.
-
Disabling Core Data CloudKit Logging
How do you stop the Core Data CloudKit sync logging from filling the Xcode console?
-
Getting Started With App Intents
Apple added the App Intents framework in iOS 16 giving us a way to programmatically make an app’s content and actions available to the Shortcuts app, Siri, Widgets, and Spotlight. Here’s my quick guide to get started.