SwiftUI Weekly - Issue #104
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Mastering TimelineView in SwiftUI
TimelineView is a SwiftUI view type that updates its body according to a provided schedule. We used to see SwiftUI views updating its body whenever the data it presents changes. TimelineView doesn’t follow this rule and allows us to build a super-custom schedule to update its content in a precise way. We will learn how to use TimelineView to create time-based views this week.
Using the isEnabled environment value in iOS 14
SwiftUI is amazing, but has a history of seriously buggy behavior. Even if you follow the documentation and your code compiles, you must still verify that it actually works if you target older iOS versions. As an example, let’s take a look at using the isEnabled environment value with custom button styles.
How to Make a Game Like Wordle in SwiftUI
Learn how to create your own Wordle word-game clone in SwiftUI. Understand game logic as you build an onscreen keyboard and letter tile game board.
SwiftUI: Understanding identity via transitions
There is a lot to learn about identity in SwiftUI. One way to go about it is to understand the role of identity in transitions.
Code
ciaranrobrien/SwiftUIPageView
SwiftUI stack views with paged scrolling behavior.
Video
Build an Onboarding Flow in SwiftUI with @AppStorage, Transition, Login & Logout
In this video, we're going to take a look at how we can create a SwiftUI onboarding example. This SwiftUI onboarding flow will allow users to see user information using a SwiftUI TabView's, SwiftUI pagetabviewstyle which allows us to get a swiftui page view in SwiftUI for free.
Podcast
The evolution of SwiftUI
Chris Eidhof returns to the podcast to talk about how SwiftUI has evolved since its initial release, to share several key learnings from using it over the past few years, and to discuss concepts like app architecture and state management.