Discover more from SwiftUI Weekly
SwiftUI Weekly - Issue #44
The curated collection of links about SwiftUI. Delivered every Monday.
Update your apps to use new features, and test your apps against API changes.
Most of our apps are more than just a single screen app. We use the navigation to connect different screens inside the app. SwiftUI provides us NavigationLink struct that we can use to link views. This week we will learn how to use NavigationLink more efficiently than before by making it lazy.
keyboardShortcut is a convenient way to add shortcuts in SwiftUI. However, it likely won’t work. I’ve been curious why that is, so let’s follow me for a round of SwiftUI debugging! Spoiler: the workaround is at the end of this article.
SwiftUI already made it pretty easy to create view animation. In iOS 14, the new matchedGeometryEffect modifier takes view animation to the next level.
Button is no doubt one of the most popular SwiftUI elements, it’s also very special, as it is the only component with two different style protocols: ButtonStyle and PrimitiveButtonStyle.
Multiple solutions to one of the most commonly faced problems when working with SwiftUI.
Decide which property wrapper is the right choice for your needs.
A tutorial on how you can write custom modifiers in SwiftUI for better code reusability. We provide you two examples including how to build reusable view components (e.g. a custom ProgressView) and how to combine several frequently used modifiers into one etc.
A macOS app to control the Xcode Simulator.
Learn to zoom in / zoom out image using SwiftUI.