iOS 15: Why does SwiftUI use “some View” for its view type? – Views and Modifiers 4/10

preview_player
Показать описание

Other parts in Project 3:

4. Why does SwiftUI use “some View” for its view type?: This video

Рекомендации по теме
Комментарии
Автор

This is the kinda content I love, getting into the weeds a bit and really understanding how it's functioning. I find this knowledge invaluable when running into bugs and errors. thank you for the great content as always

jordancalhouncom
Автор

Superb. Excellent explanation. Thank you for making it simple.

rahulek
Автор

Instead of tuple view if, they use array then there will be no limit, asking for just curiosity, I am sure there must be a reason, @Paul if you have any idea?, again thanks for sharing amazing knowledge ❤

Prashant-
Автор

Do I understand it wrong? I mean without the VStack it returns four independent View, that's why I have four Preview in the xcode. So, the body should have always one View, am I right? You said that the @ViewBuilder does the same thing as the VStack, but it doesn't, without VStack it is rendered four times.

venndi
Автор

6:34 how to open this on swift playground?

thalmy
join shbcf.ru