Created
July 17, 2020 12:49
-
-
Save MrLotU/4da032be88f7743419e01e26ddeefb8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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