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.
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.