Skip to content
0:00 / 0:00

#swiftui#lazyvgrid#applewatch

How to replicate Apple Watch home layout with Lazy Grids? #SwiftUI

Swift and Tips

13K subscribers • 12 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Pedro Rojas
  • Linked in the descriptionpitt500/AppleWatchHome

Intermediate. Assumes working knowledge.

3K views5 years ago1 recommendation

Mobile developmentSwiftiOS and SwiftUI

Pedro Rojas demonstrates how to use SwiftUI Lazy Grids to build an Apple Watch home screen layout with retro icons.

Hello everyone, in this video we will learn about lazy grids in SwiftUI and building an Apple Watch home layout with retro icons. 📺 Content: - Intro - Requirements for a lazy grid - Quick demo with LazyVGrid - What is GridItem? - Fixing Overlapping in a lazy grid - LazyVGrid in detail - Apple Watch Home demo - Work to do - Do you want to learn more? ------ Source code showed in the video: github.com/pitt500/AppleWatchHome/tree/main/LazyGrids ------ Resources: * LazyVGrid: developer.apple.com/documentation/swiftui/lazyvgrid * WWDC20: developer.apple.com/videos/play/wwdc2020/10031/ * Majid Jabrayilov: swiftwithmajid.com/2020/07/08/mastering-grids-in-swiftui/ * SwiftUI Lab: swiftui-lab.com/impossible-grids/ * Retro iOS icons: iosiconpack.com/theme/Znfu6elqnrD8/43-ios-6-icons * Hacking with Swift: hackingwithswift.com/quick-start/swiftui/how-to-position-vie… * Alex Brown: swiftcompiled.com/swiftui-grids/ ------ Other videos in the channel: * Why can't you use Int indices in a String?: youtu.be/k35T7E1hxeQ * LazyVStack: youtu.be/yrly21IFQdY * How to display a gif in SwiftUI: youtu.be/9fz8EW-dX-I * What's new in SwiftUI 3.0: youtu.be/ewIeL1Trd5o * Swift Concurrency: youtube.com/playlist?list=PLHWvYoDHvsOUsGazZVW_ZdehusA0diIxs ----- Don't forget to subscribe to the channel, like it, and follow me on social media: Twitter: twitter.com/swiftandtips twitter.com/pitt500 Finally, ask me for a video you would like to see next 😄! Credits: - Music by Wataboi from pixabay.com/ - Video edited with LumaFusion

Why it's here

1 person recommends this

u/pitt500in r/swift • Recommends

How to replicate Apple Watch home layout with Lazy Grids?