diff --git a/.DS_Store b/.DS_Store index b059d89..8cbc193 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/CalculMoy/.DS_Store b/CalculMoy/.DS_Store index 8b4cd59..4cd3da0 100644 Binary files a/CalculMoy/.DS_Store and b/CalculMoy/.DS_Store differ diff --git a/CalculMoy/CalculMoy.xcodeproj/project.pbxproj b/CalculMoy/CalculMoy.xcodeproj/project.pbxproj index 2f76332..8158b15 100644 --- a/CalculMoy/CalculMoy.xcodeproj/project.pbxproj +++ b/CalculMoy/CalculMoy.xcodeproj/project.pbxproj @@ -10,10 +10,6 @@ EC14918A2A20D64500B2D47A /* Block.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC1491892A20D64500B2D47A /* Block.swift */; }; EC14918D2A20DF2900B2D47A /* MySlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC14918C2A20DF2900B2D47A /* MySlider.swift */; }; EC14918F2A29F05A00B2D47A /* UsList.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC14918E2A29F05A00B2D47A /* UsList.swift */; }; - EC1491942A35B7CA00B2D47A /* Module.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC1491932A35B7CA00B2D47A /* Module.swift */; }; - EC1491962A35B91D00B2D47A /* UE.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC1491952A35B91D00B2D47A /* UE.swift */; }; - EC1491982A35BD3400B2D47A /* Stub.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC1491972A35BD3400B2D47A /* Stub.swift */; }; - EC14919A2A35D15000B2D47A /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC1491992A35D15000B2D47A /* Manager.swift */; }; EC14919D2A35F60000B2D47A /* ModuleVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC14919C2A35F60000B2D47A /* ModuleVM.swift */; }; EC14919F2A36022C00B2D47A /* UeVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC14919E2A36022C00B2D47A /* UeVM.swift */; }; EC1491A22A361B7600B2D47A /* ManagerVM.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC1491A12A361B7600B2D47A /* ManagerVM.swift */; }; @@ -24,6 +20,8 @@ EC243AB52A1FA0460017C10A /* CalculMoyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC243AB42A1FA0460017C10A /* CalculMoyTests.swift */; }; EC243ABF2A1FA0460017C10A /* CalculMoyUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC243ABE2A1FA0460017C10A /* CalculMoyUITests.swift */; }; EC243AC12A1FA0460017C10A /* CalculMoyUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC243AC02A1FA0460017C10A /* CalculMoyUITestsLaunchTests.swift */; }; + EC794BA32A39BF7100EEFA3B /* MyModel in Frameworks */ = {isa = PBXBuildFile; productRef = EC794BA22A39BF7100EEFA3B /* MyModel */; }; + EC794BA82A42F1BA00EEFA3B /* MyStub in Frameworks */ = {isa = PBXBuildFile; productRef = EC794BA72A42F1BA00EEFA3B /* MyStub */; }; EC97FE492A378E59007AEC0A /* UEView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FE482A378E59007AEC0A /* UEView.swift */; }; EC97FE4B2A3798B7007AEC0A /* ModuleView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FE4A2A3798B7007AEC0A /* ModuleView.swift */; }; EC97FE4D2A37A9F6007AEC0A /* UISliderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FE4C2A37A9F6007AEC0A /* UISliderView.swift */; }; @@ -52,10 +50,6 @@ EC1491892A20D64500B2D47A /* Block.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Block.swift; sourceTree = ""; }; EC14918C2A20DF2900B2D47A /* MySlider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MySlider.swift; sourceTree = ""; }; EC14918E2A29F05A00B2D47A /* UsList.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UsList.swift; sourceTree = ""; }; - EC1491932A35B7CA00B2D47A /* Module.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Module.swift; sourceTree = ""; }; - EC1491952A35B91D00B2D47A /* UE.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UE.swift; sourceTree = ""; }; - EC1491972A35BD3400B2D47A /* Stub.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Stub.swift; sourceTree = ""; }; - EC1491992A35D15000B2D47A /* Manager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Manager.swift; sourceTree = ""; }; EC14919C2A35F60000B2D47A /* ModuleVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModuleVM.swift; sourceTree = ""; }; EC14919E2A36022C00B2D47A /* UeVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UeVM.swift; sourceTree = ""; }; EC1491A12A361B7600B2D47A /* ManagerVM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ManagerVM.swift; sourceTree = ""; }; @@ -81,6 +75,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + EC794BA82A42F1BA00EEFA3B /* MyStub in Frameworks */, + EC794BA32A39BF7100EEFA3B /* MyModel in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -109,17 +105,6 @@ path = Utile; sourceTree = ""; }; - EC1491902A35B70500B2D47A /* Model */ = { - isa = PBXGroup; - children = ( - EC1491932A35B7CA00B2D47A /* Module.swift */, - EC1491952A35B91D00B2D47A /* UE.swift */, - EC1491972A35BD3400B2D47A /* Stub.swift */, - EC1491992A35D15000B2D47A /* Manager.swift */, - ); - path = Model; - sourceTree = ""; - }; EC14919B2A35E97F00B2D47A /* ViewModel */ = { isa = PBXGroup; children = ( @@ -135,12 +120,12 @@ children = ( EC97FE462A378D9C007AEC0A /* Views */, EC14919B2A35E97F00B2D47A /* ViewModel */, - EC1491902A35B70500B2D47A /* Model */, EC14918B2A20DEEB00B2D47A /* Utile */, EC243AA22A1FA0440017C10A /* CalculMoy */, EC243AB32A1FA0460017C10A /* CalculMoyTests */, EC243ABD2A1FA0460017C10A /* CalculMoyUITests */, EC243AA12A1FA0440017C10A /* Products */, + EC794BA12A39BF7100EEFA3B /* Frameworks */, ); sourceTree = ""; }; @@ -192,6 +177,13 @@ path = CalculMoyUITests; sourceTree = ""; }; + EC794BA12A39BF7100EEFA3B /* Frameworks */ = { + isa = PBXGroup; + children = ( + ); + name = Frameworks; + sourceTree = ""; + }; EC97FE462A378D9C007AEC0A /* Views */ = { isa = PBXGroup; children = ( @@ -228,6 +220,10 @@ dependencies = ( ); name = CalculMoy; + packageProductDependencies = ( + EC794BA22A39BF7100EEFA3B /* MyModel */, + EC794BA72A42F1BA00EEFA3B /* MyStub */, + ); productName = CalculMoy; productReference = EC243AA02A1FA0440017C10A /* CalculMoy.app */; productType = "com.apple.product-type.application"; @@ -344,21 +340,17 @@ files = ( EC97FE4B2A3798B7007AEC0A /* ModuleView.swift in Sources */, EC97FE4F2A38F028007AEC0A /* UesList.swift in Sources */, - EC1491962A35B91D00B2D47A /* UE.swift in Sources */, EC14918F2A29F05A00B2D47A /* UsList.swift in Sources */, EC14918A2A20D64500B2D47A /* Block.swift in Sources */, EC14919F2A36022C00B2D47A /* UeVM.swift in Sources */, EC97FE492A378E59007AEC0A /* UEView.swift in Sources */, EC1491A22A361B7600B2D47A /* ManagerVM.swift in Sources */, - EC1491982A35BD3400B2D47A /* Stub.swift in Sources */, EC97FE512A38FDC9007AEC0A /* UeDetails.swift in Sources */, EC243AA62A1FA0440017C10A /* ContentView.swift in Sources */, EC14918D2A20DF2900B2D47A /* MySlider.swift in Sources */, EC243AA42A1FA0440017C10A /* CalculMoyApp.swift in Sources */, - EC14919A2A35D15000B2D47A /* Manager.swift in Sources */, EC97FE4D2A37A9F6007AEC0A /* UISliderView.swift in Sources */, EC14919D2A35F60000B2D47A /* ModuleVM.swift in Sources */, - EC1491942A35B7CA00B2D47A /* Module.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -677,6 +669,17 @@ defaultConfigurationName = Release; }; /* End XCConfigurationList section */ + +/* Begin XCSwiftPackageProductDependency section */ + EC794BA22A39BF7100EEFA3B /* MyModel */ = { + isa = XCSwiftPackageProductDependency; + productName = MyModel; + }; + EC794BA72A42F1BA00EEFA3B /* MyStub */ = { + isa = XCSwiftPackageProductDependency; + productName = MyStub; + }; +/* End XCSwiftPackageProductDependency section */ }; rootObject = EC243A982A1FA0440017C10A /* Project object */; } diff --git a/CalculMoy/CalculMoy.xcodeproj/project.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate b/CalculMoy/CalculMoy.xcodeproj/project.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate index 01bb646..14736f3 100644 Binary files a/CalculMoy/CalculMoy.xcodeproj/project.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate and b/CalculMoy/CalculMoy.xcodeproj/project.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/CalculMoy/CalculMoy.xcodeproj/xcshareddata/xcschemes/CalculMoy.xcscheme b/CalculMoy/CalculMoy.xcodeproj/xcshareddata/xcschemes/CalculMoy.xcscheme new file mode 100644 index 0000000..16f50da --- /dev/null +++ b/CalculMoy/CalculMoy.xcodeproj/xcshareddata/xcschemes/CalculMoy.xcscheme @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CalculMoy/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist b/CalculMoy/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist index 8724348..d3953e4 100644 --- a/CalculMoy/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/CalculMoy/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,7 +7,25 @@ CalculMoy.xcscheme_^#shared#^_ orderHint - 0 + 2 + + + SuppressBuildableAutocreation + + EC243A9F2A1FA0440017C10A + + primary + + + EC243AAF2A1FA0460017C10A + + primary + + + EC243AB92A1FA0460017C10A + + primary + diff --git a/CalculMoy/CalculMoy/.DS_Store b/CalculMoy/CalculMoy/.DS_Store index 745f6cf..72fd9bd 100644 Binary files a/CalculMoy/CalculMoy/.DS_Store and b/CalculMoy/CalculMoy/.DS_Store differ diff --git a/CalculMoy/CalculMoy/CalculMoyApp.swift b/CalculMoy/CalculMoy/CalculMoyApp.swift index 2c7aa1e..f6e8865 100644 --- a/CalculMoy/CalculMoy/CalculMoyApp.swift +++ b/CalculMoy/CalculMoy/CalculMoyApp.swift @@ -6,12 +6,14 @@ // import SwiftUI +import MyModel +import MyStub @main struct CalculMoyApp: App { - var managerVM:ManagerVM=ManagerVM(manager: Manager(ues: Stub.uesData) ) + var managerVM:ManagerVM=ManagerVM(manager: Manager(ues: MyStub.uesData) ) var body: some Scene { WindowGroup { diff --git a/CalculMoy/Model/Manager.swift b/CalculMoy/Model/Manager.swift deleted file mode 100644 index 1fd23ae..0000000 --- a/CalculMoy/Model/Manager.swift +++ /dev/null @@ -1,23 +0,0 @@ -// -// Manager.swift -// CalculMoy -// -// Created by etudiant on 11/06/2023. -// - -import Foundation - -struct Manager { - public var ues:[UE] - - - public init(ues: [UE]) { - self.ues = ues - } - - mutating func getData(){ - self.ues = Stub.uesData - } - - -} diff --git a/CalculMoy/Model/Module.swift b/CalculMoy/Model/Module.swift deleted file mode 100644 index 793c0bd..0000000 --- a/CalculMoy/Model/Module.swift +++ /dev/null @@ -1,15 +0,0 @@ -// -// Module.swift -// CalculMoy -// -// Created by etudiant on 11/06/2023. -// - -import Foundation - -struct Module{ - let id: UUID - var moduleName: String - var coef: Int - var note: Double? -} diff --git a/CalculMoy/Model/UE.swift b/CalculMoy/Model/UE.swift deleted file mode 100644 index b11f7d9..0000000 --- a/CalculMoy/Model/UE.swift +++ /dev/null @@ -1,18 +0,0 @@ -// -// UE.swift -// CalculMoy -// -// Created by etudiant on 11/06/2023. -// - -import Foundation - -struct UE { - let id: UUID - var ueName: String - var coef: Int - var note: Double? - var modules: [Module] - - -} diff --git a/CalculMoy/ViewModel/ManagerVM.swift b/CalculMoy/ViewModel/ManagerVM.swift index 5f6a71d..c114136 100644 --- a/CalculMoy/ViewModel/ManagerVM.swift +++ b/CalculMoy/ViewModel/ManagerVM.swift @@ -6,6 +6,8 @@ // import Foundation +import MyStub +import MyModel class ManagerVM:ObservableObject{ @Published var ueList: [UeVM] @@ -14,6 +16,7 @@ class ManagerVM:ObservableObject{ init(ueList: [UeVM]) { self.ueList = ueList self.moyGeneral = getMoyGeneral() + } init(manager:Manager){ @@ -26,7 +29,7 @@ class ManagerVM:ObservableObject{ init(){ ueList=[] - addUEs(ues: Stub.uesData) + addUEs(ues: MyStub.uesData) self.moyGeneral = getMoyGeneral() } diff --git a/CalculMoy/ViewModel/ModuleVM.swift b/CalculMoy/ViewModel/ModuleVM.swift index 0f98c9e..2989c6f 100644 --- a/CalculMoy/ViewModel/ModuleVM.swift +++ b/CalculMoy/ViewModel/ModuleVM.swift @@ -6,6 +6,7 @@ // import Foundation +import MyModel diff --git a/CalculMoy/ViewModel/UeVM.swift b/CalculMoy/ViewModel/UeVM.swift index e44922b..1d3143a 100644 --- a/CalculMoy/ViewModel/UeVM.swift +++ b/CalculMoy/ViewModel/UeVM.swift @@ -6,6 +6,7 @@ // import Foundation +import MyModel class UeVM:ObservableObject{ diff --git a/CalculMoy/Views/Components/ModuleView.swift b/CalculMoy/Views/Components/ModuleView.swift index d475023..a465896 100644 --- a/CalculMoy/Views/Components/ModuleView.swift +++ b/CalculMoy/Views/Components/ModuleView.swift @@ -6,6 +6,8 @@ // import SwiftUI +import MyModel +import MyStub final class Slider: UISlider { @@ -110,11 +112,11 @@ struct ModuleView: View { struct ModuleView_Previews: PreviewProvider { static var managerData:ManagerVM=ManagerVM( - manager: Manager(ues: Stub.uesData) + manager: Manager(ues: MyStub.uesData) ) static var previews: some View { ModuleView( - moduleVM: ModuleVM(module: Stub.uesData[0].modules[0]), ueVm: UeVM(ue: Stub.uesData[0]), managerVm: managerData + moduleVM: ModuleVM(module: MyStub.uesData[0].modules[0]), ueVm: UeVM(ue: MyStub.uesData[0]), managerVm: managerData ) } } diff --git a/CalculMoy/Views/Components/UEView.swift b/CalculMoy/Views/Components/UEView.swift index d9f7c6f..4ed3811 100644 --- a/CalculMoy/Views/Components/UEView.swift +++ b/CalculMoy/Views/Components/UEView.swift @@ -6,6 +6,8 @@ // import SwiftUI +import MyModel +import MyStub struct UEView: View { @@ -43,12 +45,12 @@ struct UEView: View { struct UEView_Previews: PreviewProvider { static var managerData:ManagerVM=ManagerVM( - manager: Manager(ues: Stub.uesData) + manager: Manager(ues: MyStub.uesData) ) static var previews: some View { UEView( - ueVm: UeVM(ue: Stub.uesData[0]) , managerVm: managerData + ueVm: UeVM(ue: MyStub.uesData[0]) , managerVm: managerData ) } } diff --git a/CalculMoy/Views/UeDetails.swift b/CalculMoy/Views/UeDetails.swift index 18402f3..c8b18e2 100644 --- a/CalculMoy/Views/UeDetails.swift +++ b/CalculMoy/Views/UeDetails.swift @@ -6,6 +6,8 @@ // import SwiftUI +import MyModel +import MyStub struct UeDetails: View { @@ -42,7 +44,7 @@ struct UeDetails: View { struct UeDetails_Previews: PreviewProvider { static var managerData:ManagerVM=ManagerVM( - manager: Manager(ues: Stub.uesData) + manager: Manager(ues: MyStub.uesData) ) static var previews: some View { UeDetails(managerVM: managerData,ue: managerData.ueList[0]) diff --git a/CalculMoy/Views/UesList.swift b/CalculMoy/Views/UesList.swift index 8289b71..e90a1ae 100644 --- a/CalculMoy/Views/UesList.swift +++ b/CalculMoy/Views/UesList.swift @@ -6,6 +6,8 @@ // import SwiftUI +import MyModel +import MyStub struct UesList: View { @@ -70,7 +72,7 @@ struct UesList: View { struct UesList_Previews: PreviewProvider { static var managerData:ManagerVM=ManagerVM( - manager: Manager(ues: Stub.uesData) + manager: Manager(ues: MyStub.uesData) ) static var previews: some View { UesList(managerVM: managerData) diff --git a/CalculMoy2/.DS_Store b/CalculMoy2/.DS_Store new file mode 100644 index 0000000..cfb4fd5 Binary files /dev/null and b/CalculMoy2/.DS_Store differ diff --git a/CalculMoy2/CalculMoy.xcodeproj/project.pbxproj b/CalculMoy2/CalculMoy.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e1408fc --- /dev/null +++ b/CalculMoy2/CalculMoy.xcodeproj/project.pbxproj @@ -0,0 +1,582 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + EC97FECE2A39BEBD007AEC0A /* CalculMoyApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FECD2A39BEBD007AEC0A /* CalculMoyApp.swift */; }; + EC97FED02A39BEBD007AEC0A /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FECF2A39BEBD007AEC0A /* ContentView.swift */; }; + EC97FED22A39BEBE007AEC0A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EC97FED12A39BEBE007AEC0A /* Assets.xcassets */; }; + EC97FED52A39BEBE007AEC0A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EC97FED42A39BEBE007AEC0A /* Preview Assets.xcassets */; }; + EC97FEDF2A39BEBE007AEC0A /* CalculMoyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FEDE2A39BEBE007AEC0A /* CalculMoyTests.swift */; }; + EC97FEE92A39BEBE007AEC0A /* CalculMoyUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FEE82A39BEBE007AEC0A /* CalculMoyUITests.swift */; }; + EC97FEEB2A39BEBE007AEC0A /* CalculMoyUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FEEA2A39BEBE007AEC0A /* CalculMoyUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + EC97FEDB2A39BEBE007AEC0A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EC97FEC22A39BEBD007AEC0A /* Project object */; + proxyType = 1; + remoteGlobalIDString = EC97FEC92A39BEBD007AEC0A; + remoteInfo = CalculMoy; + }; + EC97FEE52A39BEBE007AEC0A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EC97FEC22A39BEBD007AEC0A /* Project object */; + proxyType = 1; + remoteGlobalIDString = EC97FEC92A39BEBD007AEC0A; + remoteInfo = CalculMoy; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + EC97FECA2A39BEBD007AEC0A /* CalculMoy.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CalculMoy.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EC97FECD2A39BEBD007AEC0A /* CalculMoyApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalculMoyApp.swift; sourceTree = ""; }; + EC97FECF2A39BEBD007AEC0A /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + EC97FED12A39BEBE007AEC0A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EC97FED42A39BEBE007AEC0A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + EC97FEDA2A39BEBE007AEC0A /* CalculMoyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CalculMoyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EC97FEDE2A39BEBE007AEC0A /* CalculMoyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalculMoyTests.swift; sourceTree = ""; }; + EC97FEE42A39BEBE007AEC0A /* CalculMoyUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CalculMoyUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EC97FEE82A39BEBE007AEC0A /* CalculMoyUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalculMoyUITests.swift; sourceTree = ""; }; + EC97FEEA2A39BEBE007AEC0A /* CalculMoyUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CalculMoyUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EC97FEC72A39BEBD007AEC0A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FED72A39BEBE007AEC0A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEE12A39BEBE007AEC0A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EC97FEC12A39BEBD007AEC0A = { + isa = PBXGroup; + children = ( + EC97FECC2A39BEBD007AEC0A /* CalculMoy */, + EC97FEDD2A39BEBE007AEC0A /* CalculMoyTests */, + EC97FEE72A39BEBE007AEC0A /* CalculMoyUITests */, + EC97FECB2A39BEBD007AEC0A /* Products */, + ); + sourceTree = ""; + }; + EC97FECB2A39BEBD007AEC0A /* Products */ = { + isa = PBXGroup; + children = ( + EC97FECA2A39BEBD007AEC0A /* CalculMoy.app */, + EC97FEDA2A39BEBE007AEC0A /* CalculMoyTests.xctest */, + EC97FEE42A39BEBE007AEC0A /* CalculMoyUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + EC97FECC2A39BEBD007AEC0A /* CalculMoy */ = { + isa = PBXGroup; + children = ( + EC97FECD2A39BEBD007AEC0A /* CalculMoyApp.swift */, + EC97FECF2A39BEBD007AEC0A /* ContentView.swift */, + EC97FED12A39BEBE007AEC0A /* Assets.xcassets */, + EC97FED32A39BEBE007AEC0A /* Preview Content */, + ); + path = CalculMoy; + sourceTree = ""; + }; + EC97FED32A39BEBE007AEC0A /* Preview Content */ = { + isa = PBXGroup; + children = ( + EC97FED42A39BEBE007AEC0A /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + EC97FEDD2A39BEBE007AEC0A /* CalculMoyTests */ = { + isa = PBXGroup; + children = ( + EC97FEDE2A39BEBE007AEC0A /* CalculMoyTests.swift */, + ); + path = CalculMoyTests; + sourceTree = ""; + }; + EC97FEE72A39BEBE007AEC0A /* CalculMoyUITests */ = { + isa = PBXGroup; + children = ( + EC97FEE82A39BEBE007AEC0A /* CalculMoyUITests.swift */, + EC97FEEA2A39BEBE007AEC0A /* CalculMoyUITestsLaunchTests.swift */, + ); + path = CalculMoyUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EC97FEC92A39BEBD007AEC0A /* CalculMoy */ = { + isa = PBXNativeTarget; + buildConfigurationList = EC97FEEE2A39BEBE007AEC0A /* Build configuration list for PBXNativeTarget "CalculMoy" */; + buildPhases = ( + EC97FEC62A39BEBD007AEC0A /* Sources */, + EC97FEC72A39BEBD007AEC0A /* Frameworks */, + EC97FEC82A39BEBD007AEC0A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CalculMoy; + productName = CalculMoy; + productReference = EC97FECA2A39BEBD007AEC0A /* CalculMoy.app */; + productType = "com.apple.product-type.application"; + }; + EC97FED92A39BEBE007AEC0A /* CalculMoyTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EC97FEF12A39BEBE007AEC0A /* Build configuration list for PBXNativeTarget "CalculMoyTests" */; + buildPhases = ( + EC97FED62A39BEBE007AEC0A /* Sources */, + EC97FED72A39BEBE007AEC0A /* Frameworks */, + EC97FED82A39BEBE007AEC0A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EC97FEDC2A39BEBE007AEC0A /* PBXTargetDependency */, + ); + name = CalculMoyTests; + productName = CalculMoyTests; + productReference = EC97FEDA2A39BEBE007AEC0A /* CalculMoyTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + EC97FEE32A39BEBE007AEC0A /* CalculMoyUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EC97FEF42A39BEBE007AEC0A /* Build configuration list for PBXNativeTarget "CalculMoyUITests" */; + buildPhases = ( + EC97FEE02A39BEBE007AEC0A /* Sources */, + EC97FEE12A39BEBE007AEC0A /* Frameworks */, + EC97FEE22A39BEBE007AEC0A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EC97FEE62A39BEBE007AEC0A /* PBXTargetDependency */, + ); + name = CalculMoyUITests; + productName = CalculMoyUITests; + productReference = EC97FEE42A39BEBE007AEC0A /* CalculMoyUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EC97FEC22A39BEBD007AEC0A /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1430; + LastUpgradeCheck = 1430; + TargetAttributes = { + EC97FEC92A39BEBD007AEC0A = { + CreatedOnToolsVersion = 14.3; + }; + EC97FED92A39BEBE007AEC0A = { + CreatedOnToolsVersion = 14.3; + TestTargetID = EC97FEC92A39BEBD007AEC0A; + }; + EC97FEE32A39BEBE007AEC0A = { + CreatedOnToolsVersion = 14.3; + TestTargetID = EC97FEC92A39BEBD007AEC0A; + }; + }; + }; + buildConfigurationList = EC97FEC52A39BEBD007AEC0A /* Build configuration list for PBXProject "CalculMoy" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EC97FEC12A39BEBD007AEC0A; + productRefGroup = EC97FECB2A39BEBD007AEC0A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EC97FEC92A39BEBD007AEC0A /* CalculMoy */, + EC97FED92A39BEBE007AEC0A /* CalculMoyTests */, + EC97FEE32A39BEBE007AEC0A /* CalculMoyUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EC97FEC82A39BEBD007AEC0A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FED52A39BEBE007AEC0A /* Preview Assets.xcassets in Resources */, + EC97FED22A39BEBE007AEC0A /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FED82A39BEBE007AEC0A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEE22A39BEBE007AEC0A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EC97FEC62A39BEBD007AEC0A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FED02A39BEBD007AEC0A /* ContentView.swift in Sources */, + EC97FECE2A39BEBD007AEC0A /* CalculMoyApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FED62A39BEBE007AEC0A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FEDF2A39BEBE007AEC0A /* CalculMoyTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEE02A39BEBE007AEC0A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FEEB2A39BEBE007AEC0A /* CalculMoyUITestsLaunchTests.swift in Sources */, + EC97FEE92A39BEBE007AEC0A /* CalculMoyUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + EC97FEDC2A39BEBE007AEC0A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EC97FEC92A39BEBD007AEC0A /* CalculMoy */; + targetProxy = EC97FEDB2A39BEBE007AEC0A /* PBXContainerItemProxy */; + }; + EC97FEE62A39BEBE007AEC0A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EC97FEC92A39BEBD007AEC0A /* CalculMoy */; + targetProxy = EC97FEE52A39BEBE007AEC0A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + EC97FEEC2A39BEBE007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EC97FEED2A39BEBE007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EC97FEEF2A39BEBE007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"CalculMoy/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.CalculMoy; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EC97FEF02A39BEBE007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"CalculMoy/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.CalculMoy; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + EC97FEF22A39BEBE007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.CalculMoyTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CalculMoy.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/CalculMoy"; + }; + name = Debug; + }; + EC97FEF32A39BEBE007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.CalculMoyTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/CalculMoy.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/CalculMoy"; + }; + name = Release; + }; + EC97FEF52A39BEBE007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.CalculMoyUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = CalculMoy; + }; + name = Debug; + }; + EC97FEF62A39BEBE007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.CalculMoyUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = CalculMoy; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EC97FEC52A39BEBD007AEC0A /* Build configuration list for PBXProject "CalculMoy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEEC2A39BEBE007AEC0A /* Debug */, + EC97FEED2A39BEBE007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EC97FEEE2A39BEBE007AEC0A /* Build configuration list for PBXNativeTarget "CalculMoy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEEF2A39BEBE007AEC0A /* Debug */, + EC97FEF02A39BEBE007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EC97FEF12A39BEBE007AEC0A /* Build configuration list for PBXNativeTarget "CalculMoyTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEF22A39BEBE007AEC0A /* Debug */, + EC97FEF32A39BEBE007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EC97FEF42A39BEBE007AEC0A /* Build configuration list for PBXNativeTarget "CalculMoyUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEF52A39BEBE007AEC0A /* Debug */, + EC97FEF62A39BEBE007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EC97FEC22A39BEBD007AEC0A /* Project object */; +} diff --git a/CalculMoy2/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist b/CalculMoy2/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f8f3668 --- /dev/null +++ b/CalculMoy2/CalculMoy.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + CalculMoy.xcscheme_^#shared#^_ + + orderHint + 2 + + + + diff --git a/CalculMoy2/CalculMoy/Assets.xcassets/AccentColor.colorset/Contents.json b/CalculMoy2/CalculMoy/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/CalculMoy2/CalculMoy/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/CalculMoy2/CalculMoy/Assets.xcassets/AppIcon.appiconset/Contents.json b/CalculMoy2/CalculMoy/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/CalculMoy2/CalculMoy/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/CalculMoy2/CalculMoy/Assets.xcassets/Contents.json b/CalculMoy2/CalculMoy/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/CalculMoy2/CalculMoy/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/CalculMoy2/CalculMoy/CalculMoyApp.swift b/CalculMoy2/CalculMoy/CalculMoyApp.swift new file mode 100644 index 0000000..f4d0471 --- /dev/null +++ b/CalculMoy2/CalculMoy/CalculMoyApp.swift @@ -0,0 +1,17 @@ +// +// CalculMoyApp.swift +// CalculMoy +// +// Created by etudiant on 14/06/2023. +// + +import SwiftUI + +@main +struct CalculMoyApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/CalculMoy2/CalculMoy/ContentView.swift b/CalculMoy2/CalculMoy/ContentView.swift new file mode 100644 index 0000000..0f53bd5 --- /dev/null +++ b/CalculMoy2/CalculMoy/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// CalculMoy +// +// Created by etudiant on 14/06/2023. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/CalculMoy2/CalculMoy/Preview Content/Preview Assets.xcassets/Contents.json b/CalculMoy2/CalculMoy/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/CalculMoy2/CalculMoy/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/CalculMoy2/CalculMoyTests/CalculMoyTests.swift b/CalculMoy2/CalculMoyTests/CalculMoyTests.swift new file mode 100644 index 0000000..ff5274f --- /dev/null +++ b/CalculMoy2/CalculMoyTests/CalculMoyTests.swift @@ -0,0 +1,36 @@ +// +// CalculMoyTests.swift +// CalculMoyTests +// +// Created by etudiant on 14/06/2023. +// + +import XCTest +@testable import CalculMoy + +final class CalculMoyTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/CalculMoy2/CalculMoyUITests/CalculMoyUITests.swift b/CalculMoy2/CalculMoyUITests/CalculMoyUITests.swift new file mode 100644 index 0000000..580f36e --- /dev/null +++ b/CalculMoy2/CalculMoyUITests/CalculMoyUITests.swift @@ -0,0 +1,41 @@ +// +// CalculMoyUITests.swift +// CalculMoyUITests +// +// Created by etudiant on 14/06/2023. +// + +import XCTest + +final class CalculMoyUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/CalculMoy2/CalculMoyUITests/CalculMoyUITestsLaunchTests.swift b/CalculMoy2/CalculMoyUITests/CalculMoyUITestsLaunchTests.swift new file mode 100644 index 0000000..01b349d --- /dev/null +++ b/CalculMoy2/CalculMoyUITests/CalculMoyUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// CalculMoyUITestsLaunchTests.swift +// CalculMoyUITests +// +// Created by etudiant on 14/06/2023. +// + +import XCTest + +final class CalculMoyUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +} diff --git a/MyModel/.gitignore b/MyModel/.gitignore new file mode 100644 index 0000000..3b29812 --- /dev/null +++ b/MyModel/.gitignore @@ -0,0 +1,9 @@ +.DS_Store +/.build +/Packages +/*.xcodeproj +xcuserdata/ +DerivedData/ +.swiftpm/config/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc diff --git a/MyModel/Package.swift b/MyModel/Package.swift new file mode 100644 index 0000000..2fdbbe7 --- /dev/null +++ b/MyModel/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version: 5.8 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "MyModel", + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "MyModel", + targets: ["MyModel"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "MyModel", + dependencies: []), + .testTarget( + name: "MyModelTests", + dependencies: ["MyModel"]), + ] +) diff --git a/MyModel/README.md b/MyModel/README.md new file mode 100644 index 0000000..17f4afe --- /dev/null +++ b/MyModel/README.md @@ -0,0 +1,3 @@ +# MyModel + +A description of this package. diff --git a/MyModel/Sources/MyModel/Manager.swift b/MyModel/Sources/MyModel/Manager.swift new file mode 100644 index 0000000..6dc0c4d --- /dev/null +++ b/MyModel/Sources/MyModel/Manager.swift @@ -0,0 +1,22 @@ +// +// File.swift +// +// +// Created by etudiant on 14/06/2023. +// + +import Foundation + +public struct Manager { + public var ues:[UE] + public var moyGeneral: Double? + + + public init(ues: [UE]) { + self.ues = ues + } + + + + +} diff --git a/MyModel/Sources/MyModel/Module.swift b/MyModel/Sources/MyModel/Module.swift new file mode 100644 index 0000000..85ca81f --- /dev/null +++ b/MyModel/Sources/MyModel/Module.swift @@ -0,0 +1,23 @@ +// +// Module.swift +// CalculMoy +// +// Created by etudiant on 11/06/2023. +// + +import Foundation + +public struct Module{ + public let id: UUID + public var moduleName: String + public var coef: Int + public var note: Double? + + public init(id: UUID, moduleName: String, coef: Int, note: Double? = nil) { + self.id = id + self.moduleName = moduleName + self.coef = coef + self.note = note + } + +} diff --git a/MyModel/Sources/MyModel/UE.swift b/MyModel/Sources/MyModel/UE.swift new file mode 100644 index 0000000..6bb9fc2 --- /dev/null +++ b/MyModel/Sources/MyModel/UE.swift @@ -0,0 +1,24 @@ +// +// File.swift +// +// +// Created by etudiant on 14/06/2023. +// + +import Foundation +public struct UE { + public let id: UUID + public var ueName: String + public var coef: Int + public var note: Double? + public var modules: [Module] + + public init(id: UUID, ueName: String, coef: Int, modules: [Module]) { + self.id = id + self.ueName = ueName + self.coef = coef + self.modules = modules + } + + +} diff --git a/MyModel/Tests/MyModelTests/MyModelTests.swift b/MyModel/Tests/MyModelTests/MyModelTests.swift new file mode 100644 index 0000000..c80055d --- /dev/null +++ b/MyModel/Tests/MyModelTests/MyModelTests.swift @@ -0,0 +1,11 @@ +import XCTest +@testable import MyModel + +final class MyModelTests: XCTestCase { + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct + // results. + XCTAssertEqual(MyModel().text, "Hello, World!") + } +} diff --git a/MyPlayground.playground/playground.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate b/MyPlayground.playground/playground.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate index e860b98..b9efcaa 100644 Binary files a/MyPlayground.playground/playground.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate and b/MyPlayground.playground/playground.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/MyPlayground.playground/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist b/MyPlayground.playground/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..e87a8f5 --- /dev/null +++ b/MyPlayground.playground/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,16 @@ + + + + + SchemeUserState + + MyPlayground (Playground).xcscheme + + isShown + + orderHint + 0 + + + + diff --git a/MyStub/.gitignore b/MyStub/.gitignore new file mode 100644 index 0000000..3b29812 --- /dev/null +++ b/MyStub/.gitignore @@ -0,0 +1,9 @@ +.DS_Store +/.build +/Packages +/*.xcodeproj +xcuserdata/ +DerivedData/ +.swiftpm/config/registries.json +.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +.netrc diff --git a/MyStub/Package.swift b/MyStub/Package.swift new file mode 100644 index 0000000..2e3fb90 --- /dev/null +++ b/MyStub/Package.swift @@ -0,0 +1,29 @@ +// swift-tools-version: 5.8 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "MyStub", + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "MyStub", + targets: ["MyStub"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + .package(path: "../MyModel") + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "MyStub", + dependencies: ["MyModel"]), + .testTarget( + name: "MyStubTests", + dependencies: ["MyStub", "MyModel"]), + ] +) diff --git a/MyStub/README.md b/MyStub/README.md new file mode 100644 index 0000000..55bcdb7 --- /dev/null +++ b/MyStub/README.md @@ -0,0 +1,3 @@ +# MyStub + +A description of this package. diff --git a/CalculMoy/Model/Stub.swift b/MyStub/Sources/MyStub/MyStub.swift similarity index 80% rename from CalculMoy/Model/Stub.swift rename to MyStub/Sources/MyStub/MyStub.swift index eff1ee5..5d5687e 100644 --- a/CalculMoy/Model/Stub.swift +++ b/MyStub/Sources/MyStub/MyStub.swift @@ -1,14 +1,20 @@ -// -// Stub.swift -// CalculMoy -// -// Created by etudiant on 11/06/2023. -// - +import MyModel import Foundation -struct Stub{ - static let uesData:[UE] = [ + +public struct MyStub { + public static let uesData:[UE] = [ + UE( + id: UUID(), + ueName: "UE - 1", + coef: 9, + modules: [ + Module(id: UUID(), moduleName: "Module - 1", coef: 2, note: 4), + Module(id: UUID(), moduleName: "Module - 2", coef: 3, note: 14), + Module(id: UUID(), moduleName: "Module - 3", coef: 5, note: 10), + Module(id: UUID(), moduleName: "Module - 4", coef: 2, note: 9), + ] + ), UE( id: UUID(), ueName: "UE - 1", @@ -66,4 +72,7 @@ struct Stub{ ), ] + + public init() { + } } diff --git a/MyStub/Tests/MyStubTests/MyStubTests.swift b/MyStub/Tests/MyStubTests/MyStubTests.swift new file mode 100644 index 0000000..0b2fe8c --- /dev/null +++ b/MyStub/Tests/MyStubTests/MyStubTests.swift @@ -0,0 +1,11 @@ +import XCTest +@testable import MyStub + +final class MyStubTests: XCTestCase { + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct + // results. + XCTAssertEqual(MyStub().text, "Hello, World!") + } +} diff --git a/ProjetCalculette.xcworkspace/contents.xcworkspacedata b/ProjetCalculette.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..c767ef3 --- /dev/null +++ b/ProjetCalculette.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/ProjetCalculette.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ProjetCalculette.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ProjetCalculette.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ProjetCalculette.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate b/ProjetCalculette.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..66b82ca Binary files /dev/null and b/ProjetCalculette.xcworkspace/xcuserdata/etudiant.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/test/.DS_Store b/test/.DS_Store new file mode 100644 index 0000000..3235dae Binary files /dev/null and b/test/.DS_Store differ diff --git a/test/test.xcodeproj/project.pbxproj b/test/test.xcodeproj/project.pbxproj new file mode 100644 index 0000000..cdb2677 --- /dev/null +++ b/test/test.xcodeproj/project.pbxproj @@ -0,0 +1,582 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + EC97FE982A39BDFA007AEC0A /* testApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FE972A39BDFA007AEC0A /* testApp.swift */; }; + EC97FE9A2A39BDFA007AEC0A /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FE992A39BDFA007AEC0A /* ContentView.swift */; }; + EC97FE9C2A39BDFB007AEC0A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EC97FE9B2A39BDFB007AEC0A /* Assets.xcassets */; }; + EC97FE9F2A39BDFB007AEC0A /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EC97FE9E2A39BDFB007AEC0A /* Preview Assets.xcassets */; }; + EC97FEA92A39BDFB007AEC0A /* testTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FEA82A39BDFB007AEC0A /* testTests.swift */; }; + EC97FEB32A39BDFB007AEC0A /* testUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FEB22A39BDFB007AEC0A /* testUITests.swift */; }; + EC97FEB52A39BDFB007AEC0A /* testUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC97FEB42A39BDFB007AEC0A /* testUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + EC97FEA52A39BDFB007AEC0A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EC97FE8C2A39BDFA007AEC0A /* Project object */; + proxyType = 1; + remoteGlobalIDString = EC97FE932A39BDFA007AEC0A; + remoteInfo = test; + }; + EC97FEAF2A39BDFB007AEC0A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = EC97FE8C2A39BDFA007AEC0A /* Project object */; + proxyType = 1; + remoteGlobalIDString = EC97FE932A39BDFA007AEC0A; + remoteInfo = test; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + EC97FE942A39BDFA007AEC0A /* test.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = test.app; sourceTree = BUILT_PRODUCTS_DIR; }; + EC97FE972A39BDFA007AEC0A /* testApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = testApp.swift; sourceTree = ""; }; + EC97FE992A39BDFA007AEC0A /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + EC97FE9B2A39BDFB007AEC0A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + EC97FE9E2A39BDFB007AEC0A /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + EC97FEA42A39BDFB007AEC0A /* testTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = testTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EC97FEA82A39BDFB007AEC0A /* testTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = testTests.swift; sourceTree = ""; }; + EC97FEAE2A39BDFB007AEC0A /* testUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = testUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + EC97FEB22A39BDFB007AEC0A /* testUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = testUITests.swift; sourceTree = ""; }; + EC97FEB42A39BDFB007AEC0A /* testUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = testUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + EC97FE912A39BDFA007AEC0A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEA12A39BDFB007AEC0A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEAB2A39BDFB007AEC0A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + EC97FE8B2A39BDFA007AEC0A = { + isa = PBXGroup; + children = ( + EC97FE962A39BDFA007AEC0A /* test */, + EC97FEA72A39BDFB007AEC0A /* testTests */, + EC97FEB12A39BDFB007AEC0A /* testUITests */, + EC97FE952A39BDFA007AEC0A /* Products */, + ); + sourceTree = ""; + }; + EC97FE952A39BDFA007AEC0A /* Products */ = { + isa = PBXGroup; + children = ( + EC97FE942A39BDFA007AEC0A /* test.app */, + EC97FEA42A39BDFB007AEC0A /* testTests.xctest */, + EC97FEAE2A39BDFB007AEC0A /* testUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + EC97FE962A39BDFA007AEC0A /* test */ = { + isa = PBXGroup; + children = ( + EC97FE972A39BDFA007AEC0A /* testApp.swift */, + EC97FE992A39BDFA007AEC0A /* ContentView.swift */, + EC97FE9B2A39BDFB007AEC0A /* Assets.xcassets */, + EC97FE9D2A39BDFB007AEC0A /* Preview Content */, + ); + path = test; + sourceTree = ""; + }; + EC97FE9D2A39BDFB007AEC0A /* Preview Content */ = { + isa = PBXGroup; + children = ( + EC97FE9E2A39BDFB007AEC0A /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + EC97FEA72A39BDFB007AEC0A /* testTests */ = { + isa = PBXGroup; + children = ( + EC97FEA82A39BDFB007AEC0A /* testTests.swift */, + ); + path = testTests; + sourceTree = ""; + }; + EC97FEB12A39BDFB007AEC0A /* testUITests */ = { + isa = PBXGroup; + children = ( + EC97FEB22A39BDFB007AEC0A /* testUITests.swift */, + EC97FEB42A39BDFB007AEC0A /* testUITestsLaunchTests.swift */, + ); + path = testUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + EC97FE932A39BDFA007AEC0A /* test */ = { + isa = PBXNativeTarget; + buildConfigurationList = EC97FEB82A39BDFB007AEC0A /* Build configuration list for PBXNativeTarget "test" */; + buildPhases = ( + EC97FE902A39BDFA007AEC0A /* Sources */, + EC97FE912A39BDFA007AEC0A /* Frameworks */, + EC97FE922A39BDFA007AEC0A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = test; + productName = test; + productReference = EC97FE942A39BDFA007AEC0A /* test.app */; + productType = "com.apple.product-type.application"; + }; + EC97FEA32A39BDFB007AEC0A /* testTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EC97FEBB2A39BDFB007AEC0A /* Build configuration list for PBXNativeTarget "testTests" */; + buildPhases = ( + EC97FEA02A39BDFB007AEC0A /* Sources */, + EC97FEA12A39BDFB007AEC0A /* Frameworks */, + EC97FEA22A39BDFB007AEC0A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EC97FEA62A39BDFB007AEC0A /* PBXTargetDependency */, + ); + name = testTests; + productName = testTests; + productReference = EC97FEA42A39BDFB007AEC0A /* testTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + EC97FEAD2A39BDFB007AEC0A /* testUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = EC97FEBE2A39BDFB007AEC0A /* Build configuration list for PBXNativeTarget "testUITests" */; + buildPhases = ( + EC97FEAA2A39BDFB007AEC0A /* Sources */, + EC97FEAB2A39BDFB007AEC0A /* Frameworks */, + EC97FEAC2A39BDFB007AEC0A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + EC97FEB02A39BDFB007AEC0A /* PBXTargetDependency */, + ); + name = testUITests; + productName = testUITests; + productReference = EC97FEAE2A39BDFB007AEC0A /* testUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + EC97FE8C2A39BDFA007AEC0A /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1430; + LastUpgradeCheck = 1430; + TargetAttributes = { + EC97FE932A39BDFA007AEC0A = { + CreatedOnToolsVersion = 14.3; + }; + EC97FEA32A39BDFB007AEC0A = { + CreatedOnToolsVersion = 14.3; + TestTargetID = EC97FE932A39BDFA007AEC0A; + }; + EC97FEAD2A39BDFB007AEC0A = { + CreatedOnToolsVersion = 14.3; + TestTargetID = EC97FE932A39BDFA007AEC0A; + }; + }; + }; + buildConfigurationList = EC97FE8F2A39BDFA007AEC0A /* Build configuration list for PBXProject "test" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = EC97FE8B2A39BDFA007AEC0A; + productRefGroup = EC97FE952A39BDFA007AEC0A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + EC97FE932A39BDFA007AEC0A /* test */, + EC97FEA32A39BDFB007AEC0A /* testTests */, + EC97FEAD2A39BDFB007AEC0A /* testUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + EC97FE922A39BDFA007AEC0A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FE9F2A39BDFB007AEC0A /* Preview Assets.xcassets in Resources */, + EC97FE9C2A39BDFB007AEC0A /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEA22A39BDFB007AEC0A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEAC2A39BDFB007AEC0A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + EC97FE902A39BDFA007AEC0A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FE9A2A39BDFA007AEC0A /* ContentView.swift in Sources */, + EC97FE982A39BDFA007AEC0A /* testApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEA02A39BDFB007AEC0A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FEA92A39BDFB007AEC0A /* testTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EC97FEAA2A39BDFB007AEC0A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + EC97FEB52A39BDFB007AEC0A /* testUITestsLaunchTests.swift in Sources */, + EC97FEB32A39BDFB007AEC0A /* testUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + EC97FEA62A39BDFB007AEC0A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EC97FE932A39BDFA007AEC0A /* test */; + targetProxy = EC97FEA52A39BDFB007AEC0A /* PBXContainerItemProxy */; + }; + EC97FEB02A39BDFB007AEC0A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EC97FE932A39BDFA007AEC0A /* test */; + targetProxy = EC97FEAF2A39BDFB007AEC0A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + EC97FEB62A39BDFB007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + EC97FEB72A39BDFB007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + EC97FEB92A39BDFB007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"test/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.test; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + EC97FEBA2A39BDFB007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"test/Preview Content\""; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.test; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + EC97FEBC2A39BDFB007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.testTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/test.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/test"; + }; + name = Debug; + }; + EC97FEBD2A39BDFB007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.testTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/test.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/test"; + }; + name = Release; + }; + EC97FEBF2A39BDFB007AEC0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.testUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = test; + }; + name = Debug; + }; + EC97FEC02A39BDFB007AEC0A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = fr.uca.iut.testUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = test; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + EC97FE8F2A39BDFA007AEC0A /* Build configuration list for PBXProject "test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEB62A39BDFB007AEC0A /* Debug */, + EC97FEB72A39BDFB007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EC97FEB82A39BDFB007AEC0A /* Build configuration list for PBXNativeTarget "test" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEB92A39BDFB007AEC0A /* Debug */, + EC97FEBA2A39BDFB007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EC97FEBB2A39BDFB007AEC0A /* Build configuration list for PBXNativeTarget "testTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEBC2A39BDFB007AEC0A /* Debug */, + EC97FEBD2A39BDFB007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + EC97FEBE2A39BDFB007AEC0A /* Build configuration list for PBXNativeTarget "testUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + EC97FEBF2A39BDFB007AEC0A /* Debug */, + EC97FEC02A39BDFB007AEC0A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = EC97FE8C2A39BDFA007AEC0A /* Project object */; +} diff --git a/test/test.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist b/test/test.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..91893ee --- /dev/null +++ b/test/test.xcodeproj/xcuserdata/etudiant.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + test.xcscheme_^#shared#^_ + + orderHint + 1 + + + + diff --git a/test/test/Assets.xcassets/AccentColor.colorset/Contents.json b/test/test/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/test/test/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/test/test/Assets.xcassets/AppIcon.appiconset/Contents.json b/test/test/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/test/test/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,13 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/test/test/Assets.xcassets/Contents.json b/test/test/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/test/test/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/test/test/ContentView.swift b/test/test/ContentView.swift new file mode 100644 index 0000000..a0cc188 --- /dev/null +++ b/test/test/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// test +// +// Created by etudiant on 14/06/2023. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundColor(.accentColor) + Text("Hello, world!") + } + .padding() + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/test/test/Preview Content/Preview Assets.xcassets/Contents.json b/test/test/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/test/test/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/test/test/testApp.swift b/test/test/testApp.swift new file mode 100644 index 0000000..b5bc31e --- /dev/null +++ b/test/test/testApp.swift @@ -0,0 +1,17 @@ +// +// testApp.swift +// test +// +// Created by etudiant on 14/06/2023. +// + +import SwiftUI + +@main +struct testApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/test/testTests/testTests.swift b/test/testTests/testTests.swift new file mode 100644 index 0000000..61594a2 --- /dev/null +++ b/test/testTests/testTests.swift @@ -0,0 +1,36 @@ +// +// testTests.swift +// testTests +// +// Created by etudiant on 14/06/2023. +// + +import XCTest +@testable import test + +final class testTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/test/testUITests/testUITests.swift b/test/testUITests/testUITests.swift new file mode 100644 index 0000000..fce187e --- /dev/null +++ b/test/testUITests/testUITests.swift @@ -0,0 +1,41 @@ +// +// testUITests.swift +// testUITests +// +// Created by etudiant on 14/06/2023. +// + +import XCTest + +final class testUITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/test/testUITests/testUITestsLaunchTests.swift b/test/testUITests/testUITestsLaunchTests.swift new file mode 100644 index 0000000..eff06df --- /dev/null +++ b/test/testUITests/testUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// testUITestsLaunchTests.swift +// testUITests +// +// Created by etudiant on 14/06/2023. +// + +import XCTest + +final class testUITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +}