From 2799b702a63d7216486feec33ec2cdac94fc3598 Mon Sep 17 00:00:00 2001 From: "remi.regnault" Date: Thu, 16 May 2024 11:58:35 +0200 Subject: [PATCH] :bricks: starting the project with files and repertories --- .../DouShouQi_App.xcodeproj/project.pbxproj | 24 +++++++++++++++++++ .../Components/MainMenuButton.swift | 20 ++++++++++++++++ .../DouShouQi_App/Views/MainMenuView.swift | 20 ++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 DouShouQi_App/DouShouQi_App/Components/MainMenuButton.swift create mode 100644 DouShouQi_App/DouShouQi_App/Views/MainMenuView.swift diff --git a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj index 3586973..afd54af 100644 --- a/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj +++ b/DouShouQi_App/DouShouQi_App.xcodeproj/project.pbxproj @@ -16,6 +16,8 @@ 645834792BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */; }; 645834882BF5FEA000E18321 /* DSQ.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 645834872BF5FEA000E18321 /* DSQ.xcframework */; }; 645834892BF5FEA000E18321 /* DSQ.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 645834872BF5FEA000E18321 /* DSQ.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 649ABF5B2BF60D78002E8894 /* MainMenuView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649ABF5A2BF60D78002E8894 /* MainMenuView.swift */; }; + 649ABF602BF60F2D002E8894 /* MainMenuButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 649ABF5F2BF60F2D002E8894 /* MainMenuButton.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -62,6 +64,8 @@ 645834782BF5F92600E18321 /* DouShouQi_AppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DouShouQi_AppUITestsLaunchTests.swift; sourceTree = ""; }; 645834852BF5FE1400E18321 /* DouShouQi-App-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = "DouShouQi-App-Info.plist"; sourceTree = SOURCE_ROOT; }; 645834872BF5FEA000E18321 /* DSQ.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = DSQ.xcframework; sourceTree = ""; }; + 649ABF5A2BF60D78002E8894 /* MainMenuView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainMenuView.swift; sourceTree = ""; }; + 649ABF5F2BF60F2D002E8894 /* MainMenuButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainMenuButton.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -114,6 +118,8 @@ 6458345A2BF5F92300E18321 /* DouShouQi_App */ = { isa = PBXGroup; children = ( + 649ABF5E2BF60ED5002E8894 /* Components */, + 649ABF592BF60D13002E8894 /* Views */, 645834852BF5FE1400E18321 /* DouShouQi-App-Info.plist */, 6458345B2BF5F92300E18321 /* DouShouQi_AppApp.swift */, 6458345D2BF5F92300E18321 /* ContentView.swift */, @@ -156,6 +162,22 @@ name = Frameworks; sourceTree = ""; }; + 649ABF592BF60D13002E8894 /* Views */ = { + isa = PBXGroup; + children = ( + 649ABF5A2BF60D78002E8894 /* MainMenuView.swift */, + ); + path = Views; + sourceTree = ""; + }; + 649ABF5E2BF60ED5002E8894 /* Components */ = { + isa = PBXGroup; + children = ( + 649ABF5F2BF60F2D002E8894 /* MainMenuButton.swift */, + ); + path = Components; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -288,7 +310,9 @@ buildActionMask = 2147483647; files = ( 6458345E2BF5F92300E18321 /* ContentView.swift in Sources */, + 649ABF602BF60F2D002E8894 /* MainMenuButton.swift in Sources */, 6458345C2BF5F92300E18321 /* DouShouQi_AppApp.swift in Sources */, + 649ABF5B2BF60D78002E8894 /* MainMenuView.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/DouShouQi_App/DouShouQi_App/Components/MainMenuButton.swift b/DouShouQi_App/DouShouQi_App/Components/MainMenuButton.swift new file mode 100644 index 0000000..289207f --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/Components/MainMenuButton.swift @@ -0,0 +1,20 @@ +// +// MainMenuButton.swift +// DouShouQi_App +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import SwiftUI + +struct MainMenuButton: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +struct MainMenuButton_Previews: PreviewProvider { + static var previews: some View { + MainMenuButton() + } +} diff --git a/DouShouQi_App/DouShouQi_App/Views/MainMenuView.swift b/DouShouQi_App/DouShouQi_App/Views/MainMenuView.swift new file mode 100644 index 0000000..b1f1ac4 --- /dev/null +++ b/DouShouQi_App/DouShouQi_App/Views/MainMenuView.swift @@ -0,0 +1,20 @@ +// +// MainMenuView.swift +// DouShouQi_App +// +// Created by Rémi REGNAULT on 16/05/2024. +// + +import SwiftUI + +struct MainMenuView: View { + var body: some View { + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) + } +} + +struct MainMenuView_Previews: PreviewProvider { + static var previews: some View { + MainMenuView() + } +}