SwiftUI Weekly - Issue #107
The curated collection of links about SwiftUI. Delivered every Monday.
Mastering NavigationStack in SwiftUI. Navigator Pattern.
SwiftUI is the declarative data-driven framework allowing us to build complex user interfaces by defining the data rendering on the screen. Navigation was the main pain point of the framework from the very first day. Fortunately, things have changed since WWDC 22, and SwiftUI provides the new data-driven Navigation API. This week we will learn how to use the new Navigation API to build complex user flows.
WWDC 2022: Lessons from the SwiftUI Digital Lounges
This has been the second year of WWDC Digital Lounges. They gave us a good opportunity to try getting our questions directly answered by the makers of SwiftUI. Not everyone has been able to attend, probably due to other commitments, lack of time, failure to register, unfortunate timezones, etc.
Using the SwiftUI 4 ImageRenderer
SwiftUI 4 introduces a new ImageRenderer that can be used to render any SwiftUI view as an image in iOS 16.0, macOS 13.0, tvOS 16.0, and watchOS 9.0. Let’s take a quick look at how it works.
Using ViewThatFits to replace GeometryReader in SwiftUI
This article shows how to use the new ViewThatFits released at WWDC 2022 to replace GeometryReader when building views in SwiftUI.
Calendar view in SwiftUI with MultiDatePicker
In iOS 16, we have a new view to select multiple dates. Let's explore its capabilities.
Requesting App Store reviews in SwiftUI
Starting from iOS 16 and macOS 13 we have a SwiftUI API to request App Store reviews. We can read requestReview property from the environment and call it as a function at the appropriate time.
Build a 3D Bar Chart in SceneKit With SwiftUI
Creating the missing component of the new Apple Charts library.
Building a Photo Grid: Square Grid Cells
We start to build a photo grid view like in the stock Photos app, including gestures and transitions.