SwiftUI Weekly - Issue #68
The curated collection of links about SwiftUI. Delivered every Monday.
News
What's new in Xcode 13 beta 3
Xcode 13 beta 3 has just been released, and it comes with new SwiftUI goodies: let's have a look at what's new!
Reading
Pull-to-Refresh in SwiftUI
Pull-to-refresh is a widespread User Interface pattern that we use to request a data update in our apps. The SwiftUI Release 3 provides a brand new way to set up a pull-to-refresh action using the new refreshable view modifier. This week, we will learn how to use the refreshable view modifier and provide a super custom experience with it.
Stroking and filling a SwiftUI shape at the same time
How to compose multiple SwiftUI views to render a shape that’s both stroked and filled at the same time.
A composable pattern for pure state machines with effects in Swift
State machines are everywhere in interactive systems, but they're rarely defined clearly and explicitly. Given some big blob of code including implicit state machines, which transitions are possible and under what conditions? What effects take place on what transitions?
SwiftUI Swipe Actions
Apple added table row swipe actions to UIKit back in iOS 11. In iOS 15 they come to SwiftUI, let’s see how to use them.
Code
SwiftUIRouter
With SwiftUI Router you can power your SwiftUI app with path based routing. By utilizing a path based system, navigation in your app becomes more flexible and easier to maintain.
Video
Staggered Grid With Matched Geometry Effect
In this video, I'm going to show how to created Staggered Grid With Matched Geometry Effect Using SwiftUI.
Podcast
“Cross-platform SwiftUI”, with special guest Malin Sundberg
Malin Sundberg joins John to talk about her experiences of using SwiftUI to build and ship the time-tracking and invoicing app Orbit on most of Apple’s platforms, and what sort of things that can be good to keep in mind when using SwiftUI in a cross-platform context.