iOS Newsletter
Hi folks,
OpenAI launched their GPT Store this week — an interesting pivot that has many of us curious (especially those in the EU still waiting for access… though a VPN might just work, not that I said anything 😏).
Meanwhile, Apple has quietly rolled out updates to the Developer Program License Agreement. If you have an account, take a moment to review and accept the changes - better safe than sorry when it comes to Apple agreements. 🍏
In this issue, we’re diving into Foundation Models streaming, exploring SwiftUI’s Liquid Glass design challenges, and discovering how to test private Swift members without breaking encapsulation.
AI
Building AI features using Foundation Models. Streaming.
Want real-time AI output in your app? Majid Jabrayilov demonstrates how to use streamResponse
with Foundation Models to display partial results as they’re generated.
Swift
How to add custom actions to iOS push and local notifications in SwiftUI
Want users to respond to notifications without opening your app? Natascha Fadeeva explains how to add custom actions using UNNotificationAction
in SwiftUI.
Testing Private Members in Swift using @_private(sourceFile:)
Need to test private members in Swift without breaking encapsulation? Kyle Ye details how @_private(sourceFile:)
enables safe unit testing access.
SwiftUI
Adopting Liquid Glass Design in iOS
Implementing the new Liquid Glass design in iOS 26? Weichao Deng tackles challenges like glass effect rotation, menu animations, and button hit-testing.
Performing search with SwiftData in a SwiftUI app
Want to add dynamic search to your SwiftData app? Letizia Granata walks through combining .searchable
with #Predicate
for efficient database-level filtering.
Learnable, Memorable, Accessible
Building custom SwiftUI controls? Jordan Morgan shares three essential principles: learnable, memorable, and accessible—plus the secret weapon .accessibilityRepresentation
.
SwiftUI: Container Relative Frame for A Little Easier View Sizing
Tired of wrestling with GeometryReader
for responsive layouts? Itsuki breaks down SwiftUI’s containerRelativeFrame
modifier as a cleaner alternative for view sizing.
Exploring Concentricity in SwiftUI
Matteo Altobello dives into the concept of concentricity in UI design, a key principle highlighted by Apple, and shows how to apply it in SwiftUI using the new ConcentricRectangle
structure to create visually harmonious interfaces.