SwiftUI Weekly - Issue #155
The curated collection of links about SwiftUI. Delivered every Monday.
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.
You are given a layout that has a view that needs to behave differently depending on the frame it was inserted.
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
The Problem – The DOs and don’t when using TipKit. You want to use quick tips in your project.
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.