SwiftUI Weekly - Issue #96
The curated collection of links about SwiftUI. Delivered every Monday.
News
Swift 5.6 Released!
Swift 5.6 is now officially released!
Reading
State restoration in SwiftUI
We always want to provide a great user experience in our apps. The system can shut down your app when the user leaves it and when the user relaunches your app, the system creates it from scratch, and the current state of your app is lost. This is a bad user experience. To avoid this kind of situation, we should provide a state restoration mechanism. This week we will learn how to implement state restoration in SwiftUI.
Using a UISheetPresentationController in SwiftUI
This article explores how you can create a layered and customized sheet experience in SwiftUI.
SwiftUI Confirmation Dialogs
In iOS 15, SwiftUI added a convenient view modifier to present a confirmation dialog to the user.
Using Xcode Previews for UIKit
Xcode previews are incredibly useful for SwiftUI development. But, we can also cross over to UIKit and still reap their benefits.
SwiftPM + CoreData: Failing SwiftUI Previews? Here Are 5 Tips to Fix
Fixing Xcode bugs that make SwiftUI previews fail in apps modularized with SwiftPM and that are using CoreData.
Using the LocationButton in SwiftUI for One Time Location Access
With this reference, you will be able to use the LocationButton in a SwiftUI app to conveniently access the user's location data.
Video
Learning SwiftUI Spring Animations: The Basics and Beyond
Unlock the secrets of iOS spring animations using SwiftUI. Learn about all the SwiftUI spring animation types, understand their parameters, discover how to create organic and fine-grained spring animations to enhance the user experience of your next iOS app.
Build A Powerful Login Screen in SwiftUI
How to build login form in SwiftUI with Combine.