SwiftUI Weekly - Issue #197
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
What's New in SwiftUI - WWDC24
SwiftUI continues to evolve, bringing a host of new features and improvements in 2024. This year, there are significant updates across various aspects of the framework, enhancing the development experience and enabling the creation of more powerful and engaging apps.
Tracking geometry changes in SwiftUI
The SwiftUI framework became a mature tool for building apps on all Apple platforms. The recent WWDC introduced missing APIs, adding more value to the framework. One of them is even backward compatible with previous versions of Apple platforms. This week, we will discuss tracking geometry changes of any view in SwiftUI.
Hyper Advanced Link Techniques Using openURL
On the surface, displaying links in SwiftUI feels restricted to just Link
. And it could feel tricky to control or override a link should we want to reroute for some reason, especially if that link is coming from dynamic content.
Customizing the appearance of symbol images in SwiftUI
Symbol images are vector-based icons from Apple's SF Symbols library, designed for use across Apple platforms. These scalable images adapt to different sizes and weights, ensuring consistent, high-quality icons throughout our apps. Using symbol images in SwiftUI is straightforward with the Image
view and the system name of the desired symbol.
Videos
MeshGradients in iOS 18
In this video, I want to introduce you to a new gradient type introduced for iOS and iPad 18 as well as for MacOS 15, and that is a MeshGradient. Let me take you through some explorations of the new gradient and show you you can create some pretty impressive background and custom styles for your projects.