Creating custom SwiftUI Containers - ReservApp Part 2

preview_player
Показать описание
Layout was made available on iOS 16. This means that we can create View Containers others than HStack and VStack when we want to layout views in a more complex way. Today we will create two different layouts to place guests around a table

Chapters:
0:00 Creating Custom Layouts in SwiftUI
0:28 Demo of GuestTableView
2:20 Creating a RectangularLayout
9:30 Creating a CircularLayout
14:45 Using AnyLayout to switch Layouts
16:20 Polishing and Adding Animation

Рекомендации по теме