What do $ and _ mean in SwiftUI?

Опубликовано: 28 Декабрь 2024
на канале: 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


Смотрите видео What do $ and _ mean in SwiftUI? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Solt 28 Декабрь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 211 раз и оно понравилось 17 людям.