SwiftUI Weekly - Issue #154
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Mastering StoreKit 2
StoreKit provides us with an opportunity to make revenue from our apps. It allows us to set up the purchase flow for in-app purchases and subscriptions. StoreKit 2 introduces a modern Swift-based API to build type-safe in-app purchases. This week we will start the series of posts about StoreKit 2.
Applying metal shader to text in SwiftUI
WWDC ’23 introduced view modifiers for applying shaders to SwiftUI views. In this post, we are going to have a look at what it takes to apply a shader to text. What we will not cover is how to use each of the new view modifiers, what were mentioned before.
Migrating to the Observation framework in SwiftUI
Introduced at WWDC23, Observation is a new Swift framework for tracking changes of properties. It uses the new macro system in Swift to transform Swift types to observable objects.
ContentUnavailableView in SwiftUI
In iOS17, SwiftUI got a new view dedicated to presenting an empty state of your app, ContentUnavailableView
.
MapKit for SwiftUI
In iOS 17, Apple introduced a more SwiftUI friendly API for MapKit.
Videos
Discover How To Save Your API Response Into SwiftData
In this SwiftData Tutorial we'll be taking a look at how to save JSON into SwiftData. But specifically using an API. We'll how how SwiftData works with API calls and also how we can use swiftdata and codable to help boost the performence of our apps.