diff --git a/src/Podcasts.xcworkspace/contents.xcworkspacedata b/src/Podcasts.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..9c2aedf --- /dev/null +++ b/src/Podcasts.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/src/Podcasts.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/src/Podcasts.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/src/Podcasts.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/src/PodcastsApp/PodcastsApp.xcodeproj/project.pbxproj b/src/PodcastsApp/PodcastsApp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..834f101 --- /dev/null +++ b/src/PodcastsApp/PodcastsApp.xcodeproj/project.pbxproj @@ -0,0 +1,582 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 1EFF14972A10E76A0018278E /* PodcastsAppApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EFF14962A10E76A0018278E /* PodcastsAppApp.swift */; }; + 1EFF14992A10E76A0018278E /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EFF14982A10E76A0018278E /* ContentView.swift */; }; + 1EFF149B2A10E76C0018278E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1EFF149A2A10E76C0018278E /* Assets.xcassets */; }; + 1EFF149E2A10E76C0018278E /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1EFF149D2A10E76C0018278E /* Preview Assets.xcassets */; }; + 1EFF14A82A10E76D0018278E /* PodcastsAppTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EFF14A72A10E76D0018278E /* PodcastsAppTests.swift */; }; + 1EFF14B22A10E76D0018278E /* PodcastsAppUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EFF14B12A10E76D0018278E /* PodcastsAppUITests.swift */; }; + 1EFF14B42A10E76D0018278E /* PodcastsAppUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EFF14B32A10E76D0018278E /* PodcastsAppUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1EFF14A42A10E76D0018278E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1EFF148B2A10E76A0018278E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1EFF14922A10E76A0018278E; + remoteInfo = PodcastsApp; + }; + 1EFF14AE2A10E76D0018278E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1EFF148B2A10E76A0018278E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1EFF14922A10E76A0018278E; + remoteInfo = PodcastsApp; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1EFF14932A10E76A0018278E /* PodcastsApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PodcastsApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1EFF14962A10E76A0018278E /* PodcastsAppApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PodcastsAppApp.swift; sourceTree = ""; }; + 1EFF14982A10E76A0018278E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 1EFF149A2A10E76C0018278E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 1EFF149D2A10E76C0018278E /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 1EFF14A32A10E76D0018278E /* PodcastsAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PodcastsAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1EFF14A72A10E76D0018278E /* PodcastsAppTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PodcastsAppTests.swift; sourceTree = ""; }; + 1EFF14AD2A10E76D0018278E /* PodcastsAppUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PodcastsAppUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1EFF14B12A10E76D0018278E /* PodcastsAppUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PodcastsAppUITests.swift; sourceTree = ""; }; + 1EFF14B32A10E76D0018278E /* PodcastsAppUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PodcastsAppUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1EFF14902A10E76A0018278E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1EFF14A02A10E76D0018278E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1EFF14AA2A10E76D0018278E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1EFF148A2A10E76A0018278E = { + isa = PBXGroup; + children = ( + 1EFF14952A10E76A0018278E /* PodcastsApp */, + 1EFF14A62A10E76D0018278E /* PodcastsAppTests */, + 1EFF14B02A10E76D0018278E /* PodcastsAppUITests */, + 1EFF14942A10E76A0018278E /* Products */, + ); + sourceTree = ""; + }; + 1EFF14942A10E76A0018278E /* Products */ = { + isa = PBXGroup; + children = ( + 1EFF14932A10E76A0018278E /* PodcastsApp.app */, + 1EFF14A32A10E76D0018278E /* PodcastsAppTests.xctest */, + 1EFF14AD2A10E76D0018278E /* PodcastsAppUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1EFF14952A10E76A0018278E /* PodcastsApp */ = { + isa = PBXGroup; + children = ( + 1EFF14962A10E76A0018278E /* PodcastsAppApp.swift */, + 1EFF14982A10E76A0018278E /* ContentView.swift */, + 1EFF149A2A10E76C0018278E /* Assets.xcassets */, + 1EFF149C2A10E76C0018278E /* Preview Content */, + ); + path = PodcastsApp; + sourceTree = ""; + }; + 1EFF149C2A10E76C0018278E /* Preview Content */ = { + isa = PBXGroup; + children = ( + 1EFF149D2A10E76C0018278E /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 1EFF14A62A10E76D0018278E /* PodcastsAppTests */ = { + isa = PBXGroup; + children = ( + 1EFF14A72A10E76D0018278E /* PodcastsAppTests.swift */, + ); + path = PodcastsAppTests; + sourceTree = ""; + }; + 1EFF14B02A10E76D0018278E /* PodcastsAppUITests */ = { + isa = PBXGroup; + children = ( + 1EFF14B12A10E76D0018278E /* PodcastsAppUITests.swift */, + 1EFF14B32A10E76D0018278E /* PodcastsAppUITestsLaunchTests.swift */, + ); + path = PodcastsAppUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1EFF14922A10E76A0018278E /* PodcastsApp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1EFF14B72A10E76D0018278E /* Build configuration list for PBXNativeTarget "PodcastsApp" */; + buildPhases = ( + 1EFF148F2A10E76A0018278E /* Sources */, + 1EFF14902A10E76A0018278E /* Frameworks */, + 1EFF14912A10E76A0018278E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PodcastsApp; + productName = PodcastsApp; + productReference = 1EFF14932A10E76A0018278E /* PodcastsApp.app */; + productType = "com.apple.product-type.application"; + }; + 1EFF14A22A10E76D0018278E /* PodcastsAppTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1EFF14BA2A10E76D0018278E /* Build configuration list for PBXNativeTarget "PodcastsAppTests" */; + buildPhases = ( + 1EFF149F2A10E76D0018278E /* Sources */, + 1EFF14A02A10E76D0018278E /* Frameworks */, + 1EFF14A12A10E76D0018278E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1EFF14A52A10E76D0018278E /* PBXTargetDependency */, + ); + name = PodcastsAppTests; + productName = PodcastsAppTests; + productReference = 1EFF14A32A10E76D0018278E /* PodcastsAppTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 1EFF14AC2A10E76D0018278E /* PodcastsAppUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1EFF14BD2A10E76D0018278E /* Build configuration list for PBXNativeTarget "PodcastsAppUITests" */; + buildPhases = ( + 1EFF14A92A10E76D0018278E /* Sources */, + 1EFF14AA2A10E76D0018278E /* Frameworks */, + 1EFF14AB2A10E76D0018278E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1EFF14AF2A10E76D0018278E /* PBXTargetDependency */, + ); + name = PodcastsAppUITests; + productName = PodcastsAppUITests; + productReference = 1EFF14AD2A10E76D0018278E /* PodcastsAppUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1EFF148B2A10E76A0018278E /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1430; + LastUpgradeCheck = 1430; + TargetAttributes = { + 1EFF14922A10E76A0018278E = { + CreatedOnToolsVersion = 14.3; + }; + 1EFF14A22A10E76D0018278E = { + CreatedOnToolsVersion = 14.3; + TestTargetID = 1EFF14922A10E76A0018278E; + }; + 1EFF14AC2A10E76D0018278E = { + CreatedOnToolsVersion = 14.3; + TestTargetID = 1EFF14922A10E76A0018278E; + }; + }; + }; + buildConfigurationList = 1EFF148E2A10E76A0018278E /* Build configuration list for PBXProject "PodcastsApp" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1EFF148A2A10E76A0018278E; + productRefGroup = 1EFF14942A10E76A0018278E /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1EFF14922A10E76A0018278E /* PodcastsApp */, + 1EFF14A22A10E76D0018278E /* PodcastsAppTests */, + 1EFF14AC2A10E76D0018278E /* PodcastsAppUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1EFF14912A10E76A0018278E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1EFF149E2A10E76C0018278E /* Preview Assets.xcassets in Resources */, + 1EFF149B2A10E76C0018278E /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1EFF14A12A10E76D0018278E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1EFF14AB2A10E76D0018278E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1EFF148F2A10E76A0018278E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1EFF14992A10E76A0018278E /* ContentView.swift in Sources */, + 1EFF14972A10E76A0018278E /* PodcastsAppApp.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1EFF149F2A10E76D0018278E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1EFF14A82A10E76D0018278E /* PodcastsAppTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1EFF14A92A10E76D0018278E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1EFF14B22A10E76D0018278E /* PodcastsAppUITests.swift in Sources */, + 1EFF14B42A10E76D0018278E /* PodcastsAppUITestsLaunchTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1EFF14A52A10E76D0018278E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1EFF14922A10E76A0018278E /* PodcastsApp */; + targetProxy = 1EFF14A42A10E76D0018278E /* PBXContainerItemProxy */; + }; + 1EFF14AF2A10E76D0018278E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1EFF14922A10E76A0018278E /* PodcastsApp */; + targetProxy = 1EFF14AE2A10E76D0018278E /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 1EFF14B52A10E76D0018278E /* 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; + }; + 1EFF14B62A10E76D0018278E /* 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; + }; + 1EFF14B82A10E76D0018278E /* 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 = "\"PodcastsApp/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 = djyohann.PodcastsApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 1EFF14B92A10E76D0018278E /* 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 = "\"PodcastsApp/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 = djyohann.PodcastsApp; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 1EFF14BB2A10E76D0018278E /* 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 = djyohann.PodcastsAppTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PodcastsApp.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/PodcastsApp"; + }; + name = Debug; + }; + 1EFF14BC2A10E76D0018278E /* 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 = djyohann.PodcastsAppTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PodcastsApp.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/PodcastsApp"; + }; + name = Release; + }; + 1EFF14BE2A10E76D0018278E /* 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 = djyohann.PodcastsAppUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = PodcastsApp; + }; + name = Debug; + }; + 1EFF14BF2A10E76D0018278E /* 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 = djyohann.PodcastsAppUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = PodcastsApp; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1EFF148E2A10E76A0018278E /* Build configuration list for PBXProject "PodcastsApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1EFF14B52A10E76D0018278E /* Debug */, + 1EFF14B62A10E76D0018278E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1EFF14B72A10E76D0018278E /* Build configuration list for PBXNativeTarget "PodcastsApp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1EFF14B82A10E76D0018278E /* Debug */, + 1EFF14B92A10E76D0018278E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1EFF14BA2A10E76D0018278E /* Build configuration list for PBXNativeTarget "PodcastsAppTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1EFF14BB2A10E76D0018278E /* Debug */, + 1EFF14BC2A10E76D0018278E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1EFF14BD2A10E76D0018278E /* Build configuration list for PBXNativeTarget "PodcastsAppUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1EFF14BE2A10E76D0018278E /* Debug */, + 1EFF14BF2A10E76D0018278E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1EFF148B2A10E76A0018278E /* Project object */; +} diff --git a/src/PodcastsApp/PodcastsApp/Assets.xcassets/AccentColor.colorset/Contents.json b/src/PodcastsApp/PodcastsApp/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/src/PodcastsApp/PodcastsApp/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/src/PodcastsApp/PodcastsApp/Assets.xcassets/AppIcon.appiconset/Contents.json b/src/PodcastsApp/PodcastsApp/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/src/PodcastsApp/PodcastsApp/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/src/PodcastsApp/PodcastsApp/Assets.xcassets/Contents.json b/src/PodcastsApp/PodcastsApp/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/src/PodcastsApp/PodcastsApp/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/src/PodcastsApp/PodcastsApp/ContentView.swift b/src/PodcastsApp/PodcastsApp/ContentView.swift new file mode 100644 index 0000000..e1573ae --- /dev/null +++ b/src/PodcastsApp/PodcastsApp/ContentView.swift @@ -0,0 +1,26 @@ +// +// ContentView.swift +// PodcastsApp +// +// Created by BREUIL Yohann on 14/05/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/src/PodcastsApp/PodcastsApp/PodcastsAppApp.swift b/src/PodcastsApp/PodcastsApp/PodcastsAppApp.swift new file mode 100644 index 0000000..c333d0d --- /dev/null +++ b/src/PodcastsApp/PodcastsApp/PodcastsAppApp.swift @@ -0,0 +1,17 @@ +// +// PodcastsAppApp.swift +// PodcastsApp +// +// Created by BREUIL Yohann on 14/05/2023. +// + +import SwiftUI + +@main +struct PodcastsAppApp: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/src/PodcastsApp/PodcastsApp/Preview Content/Preview Assets.xcassets/Contents.json b/src/PodcastsApp/PodcastsApp/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/src/PodcastsApp/PodcastsApp/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/src/PodcastsApp/PodcastsAppTests/PodcastsAppTests.swift b/src/PodcastsApp/PodcastsAppTests/PodcastsAppTests.swift new file mode 100644 index 0000000..cb4df74 --- /dev/null +++ b/src/PodcastsApp/PodcastsAppTests/PodcastsAppTests.swift @@ -0,0 +1,36 @@ +// +// PodcastsAppTests.swift +// PodcastsAppTests +// +// Created by BREUIL Yohann on 14/05/2023. +// + +import XCTest +@testable import PodcastsApp + +final class PodcastsAppTests: 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/src/PodcastsApp/PodcastsAppUITests/PodcastsAppUITests.swift b/src/PodcastsApp/PodcastsAppUITests/PodcastsAppUITests.swift new file mode 100644 index 0000000..79d9b8d --- /dev/null +++ b/src/PodcastsApp/PodcastsAppUITests/PodcastsAppUITests.swift @@ -0,0 +1,41 @@ +// +// PodcastsAppUITests.swift +// PodcastsAppUITests +// +// Created by BREUIL Yohann on 14/05/2023. +// + +import XCTest + +final class PodcastsAppUITests: 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/src/PodcastsApp/PodcastsAppUITests/PodcastsAppUITestsLaunchTests.swift b/src/PodcastsApp/PodcastsAppUITests/PodcastsAppUITestsLaunchTests.swift new file mode 100644 index 0000000..8a17e6e --- /dev/null +++ b/src/PodcastsApp/PodcastsAppUITests/PodcastsAppUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// PodcastsAppUITestsLaunchTests.swift +// PodcastsAppUITests +// +// Created by BREUIL Yohann on 14/05/2023. +// + +import XCTest + +final class PodcastsAppUITestsLaunchTests: 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) + } +}