Build a Nice Horizontal List with SwiftUI

Lawrence Tan
2 min readMay 14, 2020

SwiftUI revolves around three main stacks to build your views:

  1. ZStack
  2. VStack
  3. 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…

--

--

Lawrence Tan

Googler. Loves God, Loves my wife, Loves my Family & Corgis.