From 2c602e6f0dd7218cc2a06f9d811bda186d038caf Mon Sep 17 00:00:00 2001 From: Maximilian Roider Date: Fri, 14 Nov 2025 09:26:55 +0100 Subject: [PATCH] Init --- Clemens Playground.xcodeproj/project.pbxproj | 2 ++ .../Clemens_PlaygroundApp.swift | 34 ++++++++++++++++++- Clemens Playground/ContentView.swift | 24 ------------- 3 files changed, 35 insertions(+), 25 deletions(-) delete mode 100644 Clemens Playground/ContentView.swift diff --git a/Clemens Playground.xcodeproj/project.pbxproj b/Clemens Playground.xcodeproj/project.pbxproj index 3d1b894..ab16a76 100644 --- a/Clemens Playground.xcodeproj/project.pbxproj +++ b/Clemens Playground.xcodeproj/project.pbxproj @@ -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; diff --git a/Clemens Playground/Clemens_PlaygroundApp.swift b/Clemens Playground/Clemens_PlaygroundApp.swift index caef733..dbebaf9 100644 --- a/Clemens Playground/Clemens_PlaygroundApp.swift +++ b/Clemens Playground/Clemens_PlaygroundApp.swift @@ -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)!)) + } } } } diff --git a/Clemens Playground/ContentView.swift b/Clemens Playground/ContentView.swift deleted file mode 100644 index ab66f93..0000000 --- a/Clemens Playground/ContentView.swift +++ /dev/null @@ -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() -}