Go to https://squarespace.com/seanallen to save 10% off your first purchase of a website or domain using code SEANALLEN.
Today you will learn about LazyVGrids, LazyHGrids and static Grids (introduced in iOS 16). I will show you the differences between them and when to use each one. I start by explaining how LazyVGrids work with various column spacing parameters and pinned section headers. The we cover LazyHGrids followed by static Grids.
My iOS Dev Courses:
https://seanallen.teachable.com/
My Source Code:
https://seanallen.teachable.com/p/sou...
X (Twitter):
Sean Allen - / seanallen_dev
Hired.com:
https://hired.com/x/1n01g
Book and learning recommendations that help out the channel if you decide to purchase (Affiliate Links):
Mark Moeyken’s SwiftUI Books:
https://www.bigmountainstudio.com/a/f...
Paul Hudson's Hacking With Swift:
https://gumroad.com/a/762098803
RocketSim - Enhance Your Xcode Simulator:
https://gumroad.com/a/51797971/ftvbh
Objc.io Books (Thinking in SwiftUI & Advanced Swift):
https://gumroad.com/a/656585843
Timestamps:
0:00 - LazyVGrids, LazyHGrids, Static Grids
0:15 - Grids need Data (an array)
1:01 - Basic LazyVGrid (Vertical)
3:31 - What does Lazy mean?
3:58 - Flexible Columns
6:05 - Fixed Width Columns
6:40 - Adaptive Columns
8:07 - Spacing between items
8:51 - Pinned Section Headers
9:58 - LazyHGrids (Horizontal)
12:43 - Static vs. Lazy Grid Differences
13:29 - Common use of static Grids
13:55 - Basics of static Grids
15:38 - Spacing between elements
15:50 - Modifiers for customization
#swift #softwaredeveloper #iosdeveloper
Смотрите видео SwiftUI Grids - LazyVGrid, LazyHGrid, Static Grid онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sean Allen 30 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,58 раз и оно понравилось 42 людям.