SwiftUI Weekly - Issue #147
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
What’s new in SwiftUI for iOS 17
This is another huge year of updates, delivering many highly requested features such as advanced scroll view effects, container relative sizing, and even Metal shaders.
Mastering ScrollView in SwiftUI. Transitions
The fifth iteration of the SwiftUI framework brings a lot of new APIs related to ScrollView, making it much more powerful than before. This week will begin the series of posts about new abilities of the ScrollView in SwiftUI, and we will start with scroll transitions.
Interpolate text with custom foreground style in SwiftUI
SwiftUI lets us style portions of text by interpolating Text inside another Text and applying available text modifiers, such as foregroundColor() or font(). Starting from iOS 17 we can apply more intricate styling to ranges within a Text view with foregroundStyle().
SwiftUI Prefers Semantics
SwiftUI receives amazing updates every year. If you however have to support old OS versions, you may be unable to use the new tools for some years, or jump through hoops to make it work. In this post, let’s look at a semantic approach to use new, non-critical features in apps that targets old OS versions.
Videos
MatchedGeometryEffect in SwiftUI
In this video, I will introduce you to NameSpaces and the SwiftUI matchedGeometryEffect method where you can create stunning transitions from one view to another and make your apps sparkle and fun to use.