Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import SwiftUI
- struct GameRootView: View {
- var body: some View {
- TabView {
- ForEach(Platform.allCases, id: \.self) { p in
- GameListView(platform: p).tag(p)
- .tabItem {
- Image(p.assetName)
- Text(p.description)
- }
- }
- }
- .edgesIgnoringSafeArea(.top)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement