first commit for PadelClub \o/

multistore
Laurent 2 years ago
parent edb66f2d77
commit 28cd6abd86
  1. 98
      .gitignore
  2. 651
      PadelClub.xcodeproj/project.pbxproj
  3. 7
      PadelClub.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  4. 11
      PadelClub/Assets.xcassets/AccentColor.colorset/Contents.json
  5. 13
      PadelClub/Assets.xcassets/AppIcon.appiconset/Contents.json
  6. 6
      PadelClub/Assets.xcassets/Contents.json
  7. 29
      PadelClub/ContentView.swift
  8. 17
      PadelClub/PadelClubApp.swift
  9. 6
      PadelClub/Preview Content/Preview Assets.xcassets/Contents.json
  10. 36
      PadelClubTests/PadelClubTests.swift
  11. 41
      PadelClubUITests/PadelClubUITests.swift
  12. 32
      PadelClubUITests/PadelClubUITestsLaunchTests.swift

98
.gitignore vendored

@ -1,92 +1,16 @@
# ---> Swift
# Xcode
#
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
.DS_Store
*/.DS_Store
**/*/.DS*
## User settings
xcuserdata/
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
DerivedData/
*.moved-aside
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
## Obj-C/Swift specific
*.hmap
## App packaging
*.ipa
*.dSYM.zip
*.dSYM
## Playgrounds
timeline.xctimeline
playground.xcworkspace
# Swift Package Manager
#
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
# Packages/
# Package.pins
# Package.resolved
# *.xcodeproj
#
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm
.build/
# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# Pods/
#
# Add this line if you want to avoid checking in source code from the Xcode workspace
# *.xcworkspace
# Carthage
#
# Add this line if you want to avoid checking in source code from Carthage dependencies.
# Carthage/Checkouts
Carthage/Build/
# Accio dependency management
Dependencies/
.accio/
# fastlane
#
# It is recommended to not store the screenshots in the git repo.
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/#source-control
fastlane/report.xml
fastlane/Preview.html
fastlane/screenshots/**/*.png
fastlane/test_output
# Code Injection
#
# After new code Injection tools there's a generated folder /iOSInjectionProject
# https://github.com/johnno1962/injectionforxcode
*.xcodeproj/.pbxuser
*.xcodeproj/.mode1v3
iOSInjectionProject/
*.xcodeproj/xcuserdata/*
*.xcodeproj/project.xcworkspace/xcuserdata/*
*.xcworkspace/xcuserdata/*
Pods/Pods.xcodeproj/xcuserdata/*
*.xcworkspace/xcshareddata/*
*.xcodeproj/project.xcworkspace/xcshareddata/*

@ -0,0 +1,651 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 56;
objects = {
/* Begin PBXBuildFile section */
C425D4012B6D249D002A7B48 /* PadelClubApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = C425D4002B6D249D002A7B48 /* PadelClubApp.swift */; };
C425D4032B6D249D002A7B48 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C425D4022B6D249D002A7B48 /* ContentView.swift */; };
C425D4052B6D249E002A7B48 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C425D4042B6D249E002A7B48 /* Assets.xcassets */; };
C425D4082B6D249E002A7B48 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C425D4072B6D249E002A7B48 /* Preview Assets.xcassets */; };
C425D4122B6D249E002A7B48 /* PadelClubTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C425D4112B6D249E002A7B48 /* PadelClubTests.swift */; };
C425D41C2B6D249E002A7B48 /* PadelClubUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C425D41B2B6D249E002A7B48 /* PadelClubUITests.swift */; };
C425D41E2B6D249E002A7B48 /* PadelClubUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C425D41D2B6D249E002A7B48 /* PadelClubUITestsLaunchTests.swift */; };
C425D45A2B6D255B002A7B48 /* LeStorage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C425D4542B6D24E2002A7B48 /* LeStorage.framework */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
C425D40E2B6D249E002A7B48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C425D3F52B6D249D002A7B48 /* Project object */;
proxyType = 1;
remoteGlobalIDString = C425D3FC2B6D249D002A7B48;
remoteInfo = PadelClub;
};
C425D4182B6D249E002A7B48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C425D3F52B6D249D002A7B48 /* Project object */;
proxyType = 1;
remoteGlobalIDString = C425D3FC2B6D249D002A7B48;
remoteInfo = PadelClub;
};
C425D4532B6D24E2002A7B48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C425D44E2B6D24E1002A7B48 /* LeStorage.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = C425D4342B6D24E1002A7B48;
remoteInfo = LeStorage;
};
C425D4552B6D24E2002A7B48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C425D44E2B6D24E1002A7B48 /* LeStorage.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = C425D43E2B6D24E1002A7B48;
remoteInfo = LeStorageTests;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
C425D3FD2B6D249D002A7B48 /* PadelClub.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PadelClub.app; sourceTree = BUILT_PRODUCTS_DIR; };
C425D4002B6D249D002A7B48 /* PadelClubApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PadelClubApp.swift; sourceTree = "<group>"; };
C425D4022B6D249D002A7B48 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
C425D4042B6D249E002A7B48 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
C425D4072B6D249E002A7B48 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
C425D40D2B6D249E002A7B48 /* PadelClubTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PadelClubTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
C425D4112B6D249E002A7B48 /* PadelClubTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PadelClubTests.swift; sourceTree = "<group>"; };
C425D4172B6D249E002A7B48 /* PadelClubUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PadelClubUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
C425D41B2B6D249E002A7B48 /* PadelClubUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PadelClubUITests.swift; sourceTree = "<group>"; };
C425D41D2B6D249E002A7B48 /* PadelClubUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PadelClubUITestsLaunchTests.swift; sourceTree = "<group>"; };
C425D44E2B6D24E1002A7B48 /* LeStorage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = LeStorage.xcodeproj; path = ../../LeStorage/LeStorage.xcodeproj; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
C425D3FA2B6D249D002A7B48 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C425D45A2B6D255B002A7B48 /* LeStorage.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C425D40A2B6D249E002A7B48 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C425D4142B6D249E002A7B48 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
C425D3F42B6D249D002A7B48 = {
isa = PBXGroup;
children = (
C425D3FF2B6D249D002A7B48 /* PadelClub */,
C425D4102B6D249E002A7B48 /* PadelClubTests */,
C425D41A2B6D249E002A7B48 /* PadelClubUITests */,
C425D3FE2B6D249D002A7B48 /* Products */,
C425D4592B6D255B002A7B48 /* Frameworks */,
);
sourceTree = "<group>";
};
C425D3FE2B6D249D002A7B48 /* Products */ = {
isa = PBXGroup;
children = (
C425D3FD2B6D249D002A7B48 /* PadelClub.app */,
C425D40D2B6D249E002A7B48 /* PadelClubTests.xctest */,
C425D4172B6D249E002A7B48 /* PadelClubUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
C425D3FF2B6D249D002A7B48 /* PadelClub */ = {
isa = PBXGroup;
children = (
C425D44E2B6D24E1002A7B48 /* LeStorage.xcodeproj */,
C425D4002B6D249D002A7B48 /* PadelClubApp.swift */,
C425D4022B6D249D002A7B48 /* ContentView.swift */,
C425D4042B6D249E002A7B48 /* Assets.xcassets */,
C425D4062B6D249E002A7B48 /* Preview Content */,
);
path = PadelClub;
sourceTree = "<group>";
};
C425D4062B6D249E002A7B48 /* Preview Content */ = {
isa = PBXGroup;
children = (
C425D4072B6D249E002A7B48 /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
C425D4102B6D249E002A7B48 /* PadelClubTests */ = {
isa = PBXGroup;
children = (
C425D4112B6D249E002A7B48 /* PadelClubTests.swift */,
);
path = PadelClubTests;
sourceTree = "<group>";
};
C425D41A2B6D249E002A7B48 /* PadelClubUITests */ = {
isa = PBXGroup;
children = (
C425D41B2B6D249E002A7B48 /* PadelClubUITests.swift */,
C425D41D2B6D249E002A7B48 /* PadelClubUITestsLaunchTests.swift */,
);
path = PadelClubUITests;
sourceTree = "<group>";
};
C425D44F2B6D24E1002A7B48 /* Products */ = {
isa = PBXGroup;
children = (
C425D4542B6D24E2002A7B48 /* LeStorage.framework */,
C425D4562B6D24E2002A7B48 /* LeStorageTests.xctest */,
);
name = Products;
sourceTree = "<group>";
};
C425D4592B6D255B002A7B48 /* Frameworks */ = {
isa = PBXGroup;
children = (
);
name = Frameworks;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
C425D3FC2B6D249D002A7B48 /* PadelClub */ = {
isa = PBXNativeTarget;
buildConfigurationList = C425D4212B6D249E002A7B48 /* Build configuration list for PBXNativeTarget "PadelClub" */;
buildPhases = (
C425D3F92B6D249D002A7B48 /* Sources */,
C425D3FA2B6D249D002A7B48 /* Frameworks */,
C425D3FB2B6D249D002A7B48 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = PadelClub;
productName = PadelClub;
productReference = C425D3FD2B6D249D002A7B48 /* PadelClub.app */;
productType = "com.apple.product-type.application";
};
C425D40C2B6D249E002A7B48 /* PadelClubTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = C425D4242B6D249E002A7B48 /* Build configuration list for PBXNativeTarget "PadelClubTests" */;
buildPhases = (
C425D4092B6D249E002A7B48 /* Sources */,
C425D40A2B6D249E002A7B48 /* Frameworks */,
C425D40B2B6D249E002A7B48 /* Resources */,
);
buildRules = (
);
dependencies = (
C425D40F2B6D249E002A7B48 /* PBXTargetDependency */,
);
name = PadelClubTests;
productName = PadelClubTests;
productReference = C425D40D2B6D249E002A7B48 /* PadelClubTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
C425D4162B6D249E002A7B48 /* PadelClubUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = C425D4272B6D249E002A7B48 /* Build configuration list for PBXNativeTarget "PadelClubUITests" */;
buildPhases = (
C425D4132B6D249E002A7B48 /* Sources */,
C425D4142B6D249E002A7B48 /* Frameworks */,
C425D4152B6D249E002A7B48 /* Resources */,
);
buildRules = (
);
dependencies = (
C425D4192B6D249E002A7B48 /* PBXTargetDependency */,
);
name = PadelClubUITests;
productName = PadelClubUITests;
productReference = C425D4172B6D249E002A7B48 /* PadelClubUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
C425D3F52B6D249D002A7B48 /* Project object */ = {
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1520;
LastUpgradeCheck = 1520;
TargetAttributes = {
C425D3FC2B6D249D002A7B48 = {
CreatedOnToolsVersion = 15.2;
};
C425D40C2B6D249E002A7B48 = {
CreatedOnToolsVersion = 15.2;
TestTargetID = C425D3FC2B6D249D002A7B48;
};
C425D4162B6D249E002A7B48 = {
CreatedOnToolsVersion = 15.2;
TestTargetID = C425D3FC2B6D249D002A7B48;
};
};
};
buildConfigurationList = C425D3F82B6D249D002A7B48 /* Build configuration list for PBXProject "PadelClub" */;
compatibilityVersion = "Xcode 14.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = C425D3F42B6D249D002A7B48;
productRefGroup = C425D3FE2B6D249D002A7B48 /* Products */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = C425D44F2B6D24E1002A7B48 /* Products */;
ProjectRef = C425D44E2B6D24E1002A7B48 /* LeStorage.xcodeproj */;
},
);
projectRoot = "";
targets = (
C425D3FC2B6D249D002A7B48 /* PadelClub */,
C425D40C2B6D249E002A7B48 /* PadelClubTests */,
C425D4162B6D249E002A7B48 /* PadelClubUITests */,
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
C425D4542B6D24E2002A7B48 /* LeStorage.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = LeStorage.framework;
remoteRef = C425D4532B6D24E2002A7B48 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
C425D4562B6D24E2002A7B48 /* LeStorageTests.xctest */ = {
isa = PBXReferenceProxy;
fileType = wrapper.cfbundle;
path = LeStorageTests.xctest;
remoteRef = C425D4552B6D24E2002A7B48 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
C425D3FB2B6D249D002A7B48 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C425D4082B6D249E002A7B48 /* Preview Assets.xcassets in Resources */,
C425D4052B6D249E002A7B48 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C425D40B2B6D249E002A7B48 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
C425D4152B6D249E002A7B48 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
C425D3F92B6D249D002A7B48 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C425D4032B6D249D002A7B48 /* ContentView.swift in Sources */,
C425D4012B6D249D002A7B48 /* PadelClubApp.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C425D4092B6D249E002A7B48 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C425D4122B6D249E002A7B48 /* PadelClubTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
C425D4132B6D249E002A7B48 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
C425D41C2B6D249E002A7B48 /* PadelClubUITests.swift in Sources */,
C425D41E2B6D249E002A7B48 /* PadelClubUITestsLaunchTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
C425D40F2B6D249E002A7B48 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C425D3FC2B6D249D002A7B48 /* PadelClub */;
targetProxy = C425D40E2B6D249E002A7B48 /* PBXContainerItemProxy */;
};
C425D4192B6D249E002A7B48 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = C425D3FC2B6D249D002A7B48 /* PadelClub */;
targetProxy = C425D4182B6D249E002A7B48 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
C425D41F2B6D249E002A7B48 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
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;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
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 = 17.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
};
name = Debug;
};
C425D4202B6D249E002A7B48 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
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;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
GCC_C_LANGUAGE_STANDARD = gnu17;
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 = 17.2;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = iphoneos;
SWIFT_COMPILATION_MODE = wholemodule;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
C425D4222B6D249E002A7B48 /* 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 = "\"PadelClub/Preview Content\"";
DEVELOPMENT_TEAM = 526E96RFNP;
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 = com.staxriver.PadelClub;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
C425D4232B6D249E002A7B48 /* 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 = "\"PadelClub/Preview Content\"";
DEVELOPMENT_TEAM = 526E96RFNP;
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 = com.staxriver.PadelClub;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
C425D4252B6D249E002A7B48 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 526E96RFNP;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.staxriver.PadelClubTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PadelClub.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/PadelClub";
};
name = Debug;
};
C425D4262B6D249E002A7B48 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 526E96RFNP;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.staxriver.PadelClubTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PadelClub.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/PadelClub";
};
name = Release;
};
C425D4282B6D249E002A7B48 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 526E96RFNP;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.staxriver.PadelClubUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = PadelClub;
};
name = Debug;
};
C425D4292B6D249E002A7B48 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 526E96RFNP;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.staxriver.PadelClubUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = PadelClub;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
C425D3F82B6D249D002A7B48 /* Build configuration list for PBXProject "PadelClub" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C425D41F2B6D249E002A7B48 /* Debug */,
C425D4202B6D249E002A7B48 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C425D4212B6D249E002A7B48 /* Build configuration list for PBXNativeTarget "PadelClub" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C425D4222B6D249E002A7B48 /* Debug */,
C425D4232B6D249E002A7B48 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C425D4242B6D249E002A7B48 /* Build configuration list for PBXNativeTarget "PadelClubTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C425D4252B6D249E002A7B48 /* Debug */,
C425D4262B6D249E002A7B48 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C425D4272B6D249E002A7B48 /* Build configuration list for PBXNativeTarget "PadelClubUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C425D4282B6D249E002A7B48 /* Debug */,
C425D4292B6D249E002A7B48 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = C425D3F52B6D249D002A7B48 /* Project object */;
}

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>

@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,13 @@
{
"images" : [
{
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,29 @@
//
// ContentView.swift
// PadelClub
//
// Created by Laurent Morvillier on 02/02/2024.
//
import SwiftUI
import LeStorage
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")
.imageScale(.large)
.foregroundStyle(.tint)
Text("Hello, world!")
}
.padding()
}
func test() {
let s = Store()
}
}
#Preview {
ContentView()
}

@ -0,0 +1,17 @@
//
// PadelClubApp.swift
// PadelClub
//
// Created by Laurent Morvillier on 02/02/2024.
//
import SwiftUI
@main
struct PadelClubApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
}
}

@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}

@ -0,0 +1,36 @@
//
// PadelClubTests.swift
// PadelClubTests
//
// Created by Laurent Morvillier on 02/02/2024.
//
import XCTest
@testable import PadelClub
final class PadelClubTests: 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.
}
}
}

@ -0,0 +1,41 @@
//
// PadelClubUITests.swift
// PadelClubUITests
//
// Created by Laurent Morvillier on 02/02/2024.
//
import XCTest
final class PadelClubUITests: 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 its 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()
}
}
}
}

@ -0,0 +1,32 @@
//
// PadelClubUITestsLaunchTests.swift
// PadelClubUITests
//
// Created by Laurent Morvillier on 02/02/2024.
//
import XCTest
final class PadelClubUITestsLaunchTests: 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)
}
}
Loading…
Cancel
Save