Skip to content

Instantly share code, notes, and snippets.

@MrLotU
Created July 17, 2020 12:49
Show Gist options
  • Save MrLotU/4da032be88f7743419e01e26ddeefb8a to your computer and use it in GitHub Desktop.
Save MrLotU/4da032be88f7743419e01e26ddeefb8a to your computer and use it in GitHub Desktop.
import SwiftUI
struct ScrollCeption: View {
var body: some View {
ScrollView {
VStack {
ForEach(0..<10) { _ in
ScrollView(.horizontal) {
HStack {
ForEach(0..<5) { _ in
Circle()
.frame(width: 100, height: 50, alignment: .center)
}
}
}
Rectangle()
.frame(width: 100, height: 100, alignment: .center)
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment