Рет қаралды 2,361
Hello everyone, in this video we will learn about lazy grids in SwiftUI and building an Apple Watch home layout with retro icons. 📺
Content:
0:00 - Intro
0:57 - Requirements for a lazy grid
2:04 - Quick demo with LazyVGrid
2:55 - What is GridItem?
5:07 - Fixing Overlapping in a lazy grid
6:19 - LazyVGrid in detail
7:57 - Apple Watch Home demo
16:13 - Work to do
16:36 - Do you want to learn more?
------
Source code showed in the video:
github.com/pitt500/AppleWatch...
------
Resources:
* LazyVGrid: developer.apple.com/documenta...
* WWDC20: developer.apple.com/videos/pl...
* Majid Jabrayilov: swiftwithmajid.com/2020/07/08...
* SwiftUI Lab: swiftui-lab.com/impossible-gr...
* Retro iOS icons: iosiconpack.com/theme/Znfu6el...
* Hacking with Swift: www.hackingwithswift.com/quic...
* Alex Brown: www.swiftcompiled.com/swiftui...
------
Other videos in the channel:
* Why can't you use Int indices in a String?: • Why can't you use an I...
* LazyVStack: • Performance between La...
* How to display a gif in SwiftUI: • How to display a gif i...
* What's new in SwiftUI 3.0: • What's new in SwiftUI ...
* Swift Concurrency: • Swift Concurrency
-----
Don't forget to subscribe to the channel, like it, and follow me on social media:
Twitter:
/ swiftandtips
/ pitt500
Finally, ask me for a video you would like to see next 😄!
Credits:
- Music by Wataboi from pixabay.com/
- Video edited with LumaFusion