#swiftui
Read more stories on Hashnode
Articles with this tag
The key path like \.example is almost inevitable when developing apps with Swift. Today, I will explain this important syntax. Overview In Swift, a...
Today, I will show what the @Environment keyword is and how it works. Overview @Environment is a property wrapper in SwiftUI. It is used to access and...
@Binding is an almost essential tool for developing apps with SwiftUI. Today, I will show what the @Binding is and how to use it. TL; DR @Binding is a...
The "self" keyword is a way to refer to an instance of a type (struct, class, and enum) within its own methods or initializers, similar to "self" in...
Today, I will explain what "$" is both in SwiftUI and pure Swift. When it comes to SwiftUI We can pass a variable by reference into a function so that...
Every time we create a Swift project using SwiftUI, we can see: import SwiftUI @main struct LandmarksApp: App { var body: some Scene { ...