Hello guys, Welcome to another video!
I wanted to share a quick video about what I learned this week at #WWDC21. We will answer why we can return "multiple" views using ViewBuilder since opaque types cannot allow you to do that.
Is it just magic? ... actually no, let's find out 😉!
------
Resources:
Demystify SwiftUI: https://developer.apple.com/videos/pl...
Opaque types: • Opaque types: Masking your concrete t...
ViewBuilder: • Tip: @ViewBuilder in functions
------
Other videos in the channel:
State management in SwiftUI: • State Management in SwiftUI
UIKit in SwiftUI: • UIKit in SwiftUI
Generics: • Generics
The power of Combine: • The power of Combine
Never type in Swift & SwiftUI: • Never Type in SwiftUI: Exploring its ...
-----
Don't forget to subscribe to the channel, like it, and follow me on social media:
Twitter:
/ swiftandtips
/ pitt500
Finally, ask me for a video you would like to see next 😄!
Credits:
Music by Wataboi from https://pixabay.com/
Video edited with LumaFusion
Смотрите видео What I learned at онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Swift and Tips 12 Июнь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,499 раз и оно понравилось 53 людям.