Рет қаралды 9,565
In this video, we take a look at how to work with ScrollView for complex layouts. We'll start by looking at how to create a horizontal ScrollView with a sticky header. Then, we'll move on to creating a more complex layout with multiple nested ScrollViews. Finally, we'll take a look at some best practices for working with ScrollViews in SwiftUI.
00:00 what we are going to build
01:29 overview of the sample SwiftUI project
05:16 Using custom card views and cells
6:46 pinned section headers with LazyVStack
8:11 horizontal scrollable section
10:42 Grid layout with LazyHGrid
13:41 Section title formatting
18:04 Wrap up
If you liked what you learned and you want to see more, check out one of my courses!
👨💻 my SwiftUI course school.swiftyplace.com/course...
👨💻 my Core Data and SwiftUI course school.swiftyplace.com/course...
👩🏻💻 Combine course
school.swiftyplace.com/course...
⬇️ Blog Post and Project files: www.swiftyplace.com/blog/how-...
#SwiftUI #ScrollView