This commit is contained in:
Maximilian Roider
2025-11-14 09:26:55 +01:00
parent 73bee649f3
commit 2c602e6f0d
3 changed files with 35 additions and 25 deletions

View File

@@ -246,6 +246,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 899Z9C75C8;
ENABLE_APP_SANDBOX = YES;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
@@ -288,6 +289,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 899Z9C75C8;
ENABLE_APP_SANDBOX = YES;
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;

View File

@@ -6,12 +6,44 @@
//
import SwiftUI
import WebKit
@main
struct Clemens_PlaygroundApp: App {
private var url = "https://fressnapf-dev-gameassets.gamegame-server.de/"
@State private var page = WebPage()
var body: some Scene {
WindowGroup {
ContentView()
VStack {
// remove this lines
Text("Handy Games sucks!")
.bold()
.italic()
Text(page.title)
// and some greetings from my cat:
// ouranojjaöreognaubergoinbilllnsdbaf
/*
*/
// Only this needs to stay
WebView(page)
}
.onAppear {
page.load(URLRequest(url: URL(string: url)!))
}
}
}
}

View File

@@ -1,24 +0,0 @@
//
// ContentView.swift
// Clemens Playground
//
// Created by Maximilian Roider on 14.11.25.
//
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
}
}
#Preview {
ContentView()
}