List Selection and JSON datasource

This commit is contained in:
Maximilian Roider
2025-11-14 10:57:06 +01:00
parent 3c6ed00379
commit d47326e984
9 changed files with 135 additions and 11 deletions

View File

@@ -0,0 +1,25 @@
//
// GameRow.swift
// Clemens Playground
//
// Created by Maximilian Roider on 14.11.25.
//
import SwiftUI
struct GameRow: View {
var game: Game
init(_ game: Game) {
self.game = game
}
var body: some View {
HStack {
Text(game.name)
Spacer()
Image(systemName: "chevron.forward")
}
}
}