This commit is contained in:
Maximilian Roider
2025-11-14 12:04:24 +01:00
parent 73bee649f3
commit 8a65339d30
26 changed files with 330 additions and 103 deletions

View File

@@ -0,0 +1,31 @@
//
// GameView.swift
// Clemens Playground
//
// Created by Maximilian Roider on 14.11.25.
//
import SwiftUI
struct GameView: View {
private let game: Game
init(_ game: Game) {
self.game = game
}
var body: some View {
// Use this for >= Xcode 26 and remove commentary in "NewWebView.swift"
// NewWebView(game.url)
// Use this for < Xcode 26
OldWebView(game.url)
.frame(
minWidth: 0,
maxWidth: .infinity,
minHeight: 0,
maxHeight: .infinity,
alignment: .topLeading
)
}
}