The iOS Weekly Brief – Issue #5
ChatGPT's new macOS integration, singleton pitfalls, navigation state persistence, and what’s coming in Swift 6.2.
🆕 What’s New
ChatGPT's 'Work With Apps on macOS' feature
ChatGPT can now read and edit code directly in Xcode and other IDEs on macOS. Select a block, and ChatGPT will suggest a diff - no copy-pasting is needed within your editor. It works via the macOS Accessibility API, activates with Option + Space, and focuses on the active editor pane.
Feels like the most natural way to bring AI into your daily dev workflow.
📚 Must Read
Using singletons in Swift 6
Swift 6 enforces strict rules around global mutable state. This article explains why static var shared now triggers concurrency errors and shows how to fix them using MainActor, Sendable, actor and other modern solutions.
How to persist navigation state in SwiftUI
Want to restore exactly where your user left off in a SwiftUI app? This article shows how to persist NavigationPath using Codable, JSONEncoder, and UserDefaults, making seamless multi-screen state restoration across launches possible.
Swift 6.2: A first look at how it’s changing Concurrency
Swift 6.2 is changing how we use concurrency - with fewer warnings, smarter defaults like MainActor, and a clear path from simple code to async and parallelism. This article explains what’s coming and why it might finally make Swift Concurrency easier to use.
🛠️ Toolbox
A fast, lightweight replacement for SwiftData
Point-Free just released an update to SharingGRDB, a SQL-powered library offering APIs similar to @Model, @Query, and #Predicate, but with direct access to the database for better performance and flexibility. The new @Table macro works with value types, providing compile-time safety and a powerful query builder. There’s also a #sql macro for safe, hand-written SQL.
I prefer SwiftData, but this looks like a strong alternative worth keeping an eye on.
🍬 One More Thing…
UIApplication delegate deprecation coming in iOS 19 SDK
Apple is deprecating UIApplicationDelegate methods in the upcoming iOS 19 SDK, signaling a full shift to UISceneDelegate. The change was spotted in a WebKit commit ahead of WWDC.
🗳️ Weekly Poll
👋 That’s it for this week
If you enjoyed this issue of The iOS Weekly Brief, consider forwarding it to a colleague!
Until next Friday — keep shipping 🍏


