SwiftUI Weekly - Issue #87
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Structural identity in SwiftUI
Structural identity is the type of identity that SwiftUI uses to understand your views without an explicit identifier by using your layout description. This week we will learn how to improve performance and eliminate unwanted animations by using inert view modifiers in SwiftUI.
SwiftUI Text Field: Deep Dive
TextField is a control that displays an editable text interface. TextField creates an input field that users can interact with. TextField provides the ability to read and write text for apps. UITextField is its counterpart in UIKit.
Implement YouTube-like filtering in SwiftUI
Implementation of YouTube-like filtering in SwiftUI using generics and closures.
Delaying an asynchronous Swift Task
How we can use the built-in Task type to delay certain operations when using Swift’s new concurrency system.
iOS App Architecture in 2022
Since we're about to start a new year, I thought it would be good to write about what I think it's the best approach for building iOS apps nowadays.
30 tips to make you a better iOS developer
I’ve compiled a list of dev tips that I feel every iOS developer should know. Ready? Here we go!
Code
AsyncCompatibilityKit
iOS 13-compatible backports of commonly used async/await-based system APIs that are only available from iOS 15 by default. - GitHub - JohnSundell/AsyncCompatibilityKit: iOS 13-compatible backports of commonly used async/await-based system APIs that are only available from iOS 15 by default.
Video
Animations and Transactions
We show how animations in SwiftUI are implemented using transactions.
Modularization: Part 1
We've talked about modularity a lot in the past, but we've never devoted full episodes to show how we approach the subject. We will define and explore various kinds of modularity, and we’ll show how to modularize a complex application from scratch using modern build tools.