SwiftUI: How to create a Horizontal Paging ScrollView?
SwiftUI 2.0 made it so easy that you can build a Page view in less than 20 line. All we need to do is:
- Create a TabView
- Set TabView Style PageTabViewStyle
- Embed Row content inside table view either with for each or custom
- Embed this TabView to HStack (or LazyHStack).