What do $ and _ mean in SwiftUI?

Published: 28 December 2024
on channel: Paul Solt
211
17

When do you use $ and when do you use _ with SwiftUI and Swift?
Want to MAKE iPhone apps? Go here: https://super-easy-apps.kit.com/iphon...
Between SwiftUI and Swift you will see different uses of the dollar sign ($) and the underscore (_) symbol. They are used in closures which are a cornerstone of SwiftUI development, with property wrappers, state, and argument names. You can omit parameter names by using the underscore.

Join my new SwiftUI course for iOS 18:

iPhone Apps 101: https://super-easy-apps.kit.com/iphon...

#swiftuideveloper #Swift #Xcode #Tutorial #Xcode16


Watch video What do $ and _ mean in SwiftUI? online without registration, duration hours minute second in high quality. This video was added by user Paul Solt 28 December 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 211 once and liked it 17 people.