In this tutorial video, we'll learn about the fundamentals of the LazyVGrid and GridItem, difference between grid item type such as fixed, flexible, and adaptive using the live preview.
Using the fundamentals, we’re going to build an iOS app that uses a single Vertical Grid to build a list that supports 3 different layouts. We should be able to switch the layout in the runtime using a segmented picker.
#swiftui2 #iosdev #lazyvgrid #swiftui
GitHub Project Repository:
[ Ссылка ]
Timeline:
00:00 Introduction
00:52 LazyVGrid & GridItem Documentation
03:10 Setting up LazyVGrid
04:20 Example - Fixed Size Grid Item
05:32 Example - Flexible Size Grid Item
07:10 Example - Adaptive Size Grid Item
08:43 App Demo
09:42 Building The iOS App
16:50 Closing
WWDC 2020 Video Session - Stack, Grid, Outline
[ Ссылка ]
Social Media:
Website: [ Ссылка ]
GitHub: [ Ссылка ]
Twitter: [ Ссылка ]
LinkedIn: [ Ссылка ]
Thank you for watching!
Subscribe at: [ Ссылка ]
Ещё видео!