How to customize stack layouts with alignment and spacing - SwiftUI by Example

preview_player
Показать описание
You can add spacing inside your SwiftUI stacks by providing a value in the initializer.
Рекомендации по теме
Комментарии
Автор

Questions? Comments? Tweet me @twostraws.

twostraws
Автор

This looks great, Paul! Thank you! The syntax is a bit hurting but nothing we can’t get used to, right?
Sorry to hear your voice so tired...

TheBardsCorner
Автор

Great! But then I just can’t seem to put text elements at the top of the view! They are always on the “middle”... Cheers -> you have the best videos on SwiftUI!

jayseb