Login required for access
In order to watch this lesson, you'll need to login to the website.
Horizontal ScrollView and Handling Selection
Maps UIKit SwiftUI
Building out a horizontal scrollview carousel mechanism in SwiftUI is surprisingly very easy compared to the UIKit UICollectionView counterpart. I'll first show you how to implement this using ScrollView, HStack, and ForEach loops. Finally once we have our views rendered out as map items, we'll discuss how to properly handle the selection of each block so that the map reacts correctly.

Comments (2)
4 years ago
4 years ago
HELP & SUPPORT