SwiftUI Weekly - Issue #31
The curated collection of links about SwiftUI. Delivered every Monday.
News
Announcing Swift Algorithms
I’m excited to announce Swift Algorithms, a new open-source package of sequence and collection algorithms, along with their related types.
Reading
Transactions in SwiftUI
Animations play a vital role in SwiftUI. We saw a lot of examples of complex animations that we can easily implement in SwiftUI. The guidance for building fluid animations in SwiftUI has the only one step: mutate your state, and SwiftUI will automatically animate changes in your views. Today we will talk about transactions, which is a hidden gem of SwiftUI.
Mastering transitions in SwiftUI
Transitions play a vital role in the user experience of our apps. They are visual keys signalizing that the app or screen context is changing.
Handling loading states within SwiftUI views
A few different patterns and approaches that can be used to handle and render asynchronous loading states within SwiftUI-based views.
Introducing the SwiftUI Layout System
In this series of stories I will cover everything you need to know about the SwiftUI Layout System.
Create a Custom List in SwiftUI
In this tutorial, we are going to create a custom list with two action buttons that will appear when you swipe a row to the left. We are going to start with one side button. It will be a delete button. Then we can add a second button to show how to add more buttons to the row.
Introducing @AppStorage in SwiftUI
There are times when we want our data to exist across launches of our app. This might be the case for user preferences or app settings. For this purpose we use @AppStorage.
Code
Parma
Display Markdown using pure SwiftUI components. Taking advantages of ViewBuilder to make custom appearances for Text and View.
Video
Routing in SwiftUI
In this video, Mohammad Azam will explain how to detach routing from SwiftUI views and place it in a navigator.
SwiftUI 2.0 - Mail Client App UI
Replicating Mail Client UI dribble design in SwiftUI 2.0