SwiftUI Weekly - Issue #155
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Mastering StoreKit 2. ProductView and StoreView.
We started a series of posts about StoreKit 2 last week. We learned the basics of StoreKit 2 and how easily we can monetize our apps. This week, we will continue the topic by learning about StoreKit views in SwiftUI. The StoreKit 2 introduces SwiftUI views, allowing us to quickly build paywalls or digital product shop screens.
Adaptative Views That Fit Anywhere in SwiftUI
You are given a layout that has a view that needs to behave differently depending on the frame it was inserted.
Delightful SwiftUI image drag & drop for a macOS app
I have recently finished a new feature for my app QReate that allows users to add images to their custom QR codes. I wanted to make the experience as native and intuitive as possible, so I decided to add support for dragging and dropping images directly onto the editor and, much to my surprise coming from a UIKit background, it was a breeze to implement in SwiftU
Mistakes to Avoid When Implementing Quick Tips with SwiftUI’s TipKit
The Problem – The DOs and don’t when using TipKit. You want to use quick tips in your project.
Videos
See How To Store An Image In SwiftData
In this SwiftData tutorial, we'll be looking at how to store an image in SwiftData. We'll be using the SwiftUI PhotosPicker to see how to store data in SwiftData.