Build a Nice Horizontal List with SwiftUI
2 min readMay 14, 2020
SwiftUI revolves around three main stacks to build your views:
- ZStack
- VStack
- HStack
In this article, we will look at how to make use HStack
with ScrollView
to create a scroller that looks like this:
Firstly, you need a struct
which conforms to Identifiable
so that you can use ForEach
to load…