From ee02da41973a3ca941f6cead26d7cb4f021473aa Mon Sep 17 00:00:00 2001 From: wenlei Date: Mon, 6 Nov 2023 17:27:40 +0800 Subject: [PATCH] init --- .gitignore | 65 ++ .../IndieMusic.xcodeproj/project.pbxproj | 735 ++++++++++++++++++ .../contents.xcworkspacedata | 10 + IndieMusic/IndieMusic/AppDelegate.swift | 36 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + .../IndieMusic/Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 + .../IndieMusic/Base.lproj/Main.storyboard | 24 + IndieMusic/IndieMusic/Info.plist | 25 + IndieMusic/IndieMusic/SceneDelegate.swift | 52 ++ IndieMusic/IndieMusic/ViewController.swift | 19 + .../IndieMusicTests/IndieMusicTests.swift | 36 + .../IndieMusicUITests/IndieMusicUITests.swift | 41 + .../IndieMusicUITestsLaunchTests.swift | 32 + IndieMusic/Podfile | 19 + 16 files changed, 1149 insertions(+) create mode 100644 .gitignore create mode 100644 IndieMusic/IndieMusic.xcodeproj/project.pbxproj create mode 100644 IndieMusic/IndieMusic.xcworkspace/contents.xcworkspacedata create mode 100644 IndieMusic/IndieMusic/AppDelegate.swift create mode 100644 IndieMusic/IndieMusic/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 IndieMusic/IndieMusic/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 IndieMusic/IndieMusic/Assets.xcassets/Contents.json create mode 100644 IndieMusic/IndieMusic/Base.lproj/LaunchScreen.storyboard create mode 100644 IndieMusic/IndieMusic/Base.lproj/Main.storyboard create mode 100644 IndieMusic/IndieMusic/Info.plist create mode 100644 IndieMusic/IndieMusic/SceneDelegate.swift create mode 100644 IndieMusic/IndieMusic/ViewController.swift create mode 100644 IndieMusic/IndieMusicTests/IndieMusicTests.swift create mode 100644 IndieMusic/IndieMusicUITests/IndieMusicUITests.swift create mode 100644 IndieMusic/IndieMusicUITests/IndieMusicUITestsLaunchTests.swift create mode 100644 IndieMusic/Podfile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7cae5e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,65 @@ +# macOS +.DS_Store + +# Xcode +xcuserdata/ +*.xccheckout +*.xcuserstate +project.xcworkspace/ + +# Swift Package Manager +.pins +.resolved +.build + +# CocoaPods +Pods/ +Podfile.lock + +# Carthage +Carthage/Build/ + +# Compiled source +*.o +*.linkFile +*.swiftdoc +*.swiftmodule +*.build/ +.build/ + +# Xcode Private +*.mode1 +*.mode2 +*.perspective +*.perspectivev3 +*.pbxuser + +# Xcode Schemes +xcshareddata/ +xcschemes/ + +# Swift Package Manager +Package.resolved + +# IDEs +.idea/ +*.code-workspace +*.code-workspace-shm +*.code-workspace-wal +.vscode/ + +# Testing +Tests/PerformanceTesting/ +Tests/.swiftpm/ +Tests/Build/ + +# Package Manager +Packages/ +.package.resolved + +# Build products +build/ +DerivedData/ + +# macOS Finder +.DS_Store \ No newline at end of file diff --git a/IndieMusic/IndieMusic.xcodeproj/project.pbxproj b/IndieMusic/IndieMusic.xcodeproj/project.pbxproj new file mode 100644 index 0000000..adcae8b --- /dev/null +++ b/IndieMusic/IndieMusic.xcodeproj/project.pbxproj @@ -0,0 +1,735 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 3C955224FAC6473657A027C3 /* Pods_IndieMusicTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 42CE866330C1741ADEC950B2 /* Pods_IndieMusicTests.framework */; }; + 49330FC1492387B5155757F6 /* Pods_IndieMusic_IndieMusicUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA03C869C12FEE5FB3D835C2 /* Pods_IndieMusic_IndieMusicUITests.framework */; }; + 778B8A212AF8E36D0034AFD4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778B8A202AF8E36D0034AFD4 /* AppDelegate.swift */; }; + 778B8A232AF8E36D0034AFD4 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778B8A222AF8E36D0034AFD4 /* SceneDelegate.swift */; }; + 778B8A252AF8E36D0034AFD4 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778B8A242AF8E36D0034AFD4 /* ViewController.swift */; }; + 778B8A282AF8E36D0034AFD4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 778B8A262AF8E36D0034AFD4 /* Main.storyboard */; }; + 778B8A2A2AF8E36E0034AFD4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 778B8A292AF8E36E0034AFD4 /* Assets.xcassets */; }; + 778B8A2D2AF8E36E0034AFD4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 778B8A2B2AF8E36E0034AFD4 /* LaunchScreen.storyboard */; }; + 778B8A382AF8E36E0034AFD4 /* IndieMusicTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778B8A372AF8E36E0034AFD4 /* IndieMusicTests.swift */; }; + 778B8A422AF8E36E0034AFD4 /* IndieMusicUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778B8A412AF8E36E0034AFD4 /* IndieMusicUITests.swift */; }; + 778B8A442AF8E36E0034AFD4 /* IndieMusicUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 778B8A432AF8E36E0034AFD4 /* IndieMusicUITestsLaunchTests.swift */; }; + B570F70B7040469E9D729E7E /* Pods_IndieMusic.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3BA421D41748C113CCE36A32 /* Pods_IndieMusic.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 778B8A342AF8E36E0034AFD4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 778B8A152AF8E36D0034AFD4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 778B8A1C2AF8E36D0034AFD4; + remoteInfo = IndieMusic; + }; + 778B8A3E2AF8E36E0034AFD4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 778B8A152AF8E36D0034AFD4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 778B8A1C2AF8E36D0034AFD4; + remoteInfo = IndieMusic; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 00A0F5B06AC1F0B01193E57A /* Pods-IndieMusicTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IndieMusicTests.debug.xcconfig"; path = "Target Support Files/Pods-IndieMusicTests/Pods-IndieMusicTests.debug.xcconfig"; sourceTree = ""; }; + 10FA18A9A1512560FC58E95B /* Pods-IndieMusic.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IndieMusic.debug.xcconfig"; path = "Target Support Files/Pods-IndieMusic/Pods-IndieMusic.debug.xcconfig"; sourceTree = ""; }; + 3BA421D41748C113CCE36A32 /* Pods_IndieMusic.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_IndieMusic.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 42CE866330C1741ADEC950B2 /* Pods_IndieMusicTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_IndieMusicTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 69F724137B8F9C1F7E51080D /* Pods-IndieMusicTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IndieMusicTests.release.xcconfig"; path = "Target Support Files/Pods-IndieMusicTests/Pods-IndieMusicTests.release.xcconfig"; sourceTree = ""; }; + 778B8A1D2AF8E36D0034AFD4 /* IndieMusic.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = IndieMusic.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 778B8A202AF8E36D0034AFD4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 778B8A222AF8E36D0034AFD4 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + 778B8A242AF8E36D0034AFD4 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 778B8A272AF8E36D0034AFD4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 778B8A292AF8E36E0034AFD4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 778B8A2C2AF8E36E0034AFD4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 778B8A2E2AF8E36E0034AFD4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 778B8A332AF8E36E0034AFD4 /* IndieMusicTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = IndieMusicTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 778B8A372AF8E36E0034AFD4 /* IndieMusicTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndieMusicTests.swift; sourceTree = ""; }; + 778B8A3D2AF8E36E0034AFD4 /* IndieMusicUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = IndieMusicUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 778B8A412AF8E36E0034AFD4 /* IndieMusicUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndieMusicUITests.swift; sourceTree = ""; }; + 778B8A432AF8E36E0034AFD4 /* IndieMusicUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IndieMusicUITestsLaunchTests.swift; sourceTree = ""; }; + A90C808FB1B74BB851FB67CB /* Pods-IndieMusic-IndieMusicUITests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IndieMusic-IndieMusicUITests.debug.xcconfig"; path = "Target Support Files/Pods-IndieMusic-IndieMusicUITests/Pods-IndieMusic-IndieMusicUITests.debug.xcconfig"; sourceTree = ""; }; + B4D1DC4EEC82560A8FAECF4A /* Pods-IndieMusic-IndieMusicUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IndieMusic-IndieMusicUITests.release.xcconfig"; path = "Target Support Files/Pods-IndieMusic-IndieMusicUITests/Pods-IndieMusic-IndieMusicUITests.release.xcconfig"; sourceTree = ""; }; + C8F1B981837A2D1AAE58D709 /* Pods-IndieMusic.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-IndieMusic.release.xcconfig"; path = "Target Support Files/Pods-IndieMusic/Pods-IndieMusic.release.xcconfig"; sourceTree = ""; }; + FA03C869C12FEE5FB3D835C2 /* Pods_IndieMusic_IndieMusicUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_IndieMusic_IndieMusicUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 778B8A1A2AF8E36D0034AFD4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B570F70B7040469E9D729E7E /* Pods_IndieMusic.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 778B8A302AF8E36E0034AFD4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3C955224FAC6473657A027C3 /* Pods_IndieMusicTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 778B8A3A2AF8E36E0034AFD4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 49330FC1492387B5155757F6 /* Pods_IndieMusic_IndieMusicUITests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 778B8A142AF8E36D0034AFD4 = { + isa = PBXGroup; + children = ( + 778B8A1F2AF8E36D0034AFD4 /* IndieMusic */, + 778B8A362AF8E36E0034AFD4 /* IndieMusicTests */, + 778B8A402AF8E36E0034AFD4 /* IndieMusicUITests */, + 778B8A1E2AF8E36D0034AFD4 /* Products */, + 8E5A57ACCF64265CA660700B /* Pods */, + B3AFD1BB3B86B869E46A5F18 /* Frameworks */, + ); + sourceTree = ""; + }; + 778B8A1E2AF8E36D0034AFD4 /* Products */ = { + isa = PBXGroup; + children = ( + 778B8A1D2AF8E36D0034AFD4 /* IndieMusic.app */, + 778B8A332AF8E36E0034AFD4 /* IndieMusicTests.xctest */, + 778B8A3D2AF8E36E0034AFD4 /* IndieMusicUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 778B8A1F2AF8E36D0034AFD4 /* IndieMusic */ = { + isa = PBXGroup; + children = ( + 778B8A202AF8E36D0034AFD4 /* AppDelegate.swift */, + 778B8A222AF8E36D0034AFD4 /* SceneDelegate.swift */, + 778B8A242AF8E36D0034AFD4 /* ViewController.swift */, + 778B8A262AF8E36D0034AFD4 /* Main.storyboard */, + 778B8A292AF8E36E0034AFD4 /* Assets.xcassets */, + 778B8A2B2AF8E36E0034AFD4 /* LaunchScreen.storyboard */, + 778B8A2E2AF8E36E0034AFD4 /* Info.plist */, + ); + path = IndieMusic; + sourceTree = ""; + }; + 778B8A362AF8E36E0034AFD4 /* IndieMusicTests */ = { + isa = PBXGroup; + children = ( + 778B8A372AF8E36E0034AFD4 /* IndieMusicTests.swift */, + ); + path = IndieMusicTests; + sourceTree = ""; + }; + 778B8A402AF8E36E0034AFD4 /* IndieMusicUITests */ = { + isa = PBXGroup; + children = ( + 778B8A412AF8E36E0034AFD4 /* IndieMusicUITests.swift */, + 778B8A432AF8E36E0034AFD4 /* IndieMusicUITestsLaunchTests.swift */, + ); + path = IndieMusicUITests; + sourceTree = ""; + }; + 8E5A57ACCF64265CA660700B /* Pods */ = { + isa = PBXGroup; + children = ( + 10FA18A9A1512560FC58E95B /* Pods-IndieMusic.debug.xcconfig */, + C8F1B981837A2D1AAE58D709 /* Pods-IndieMusic.release.xcconfig */, + A90C808FB1B74BB851FB67CB /* Pods-IndieMusic-IndieMusicUITests.debug.xcconfig */, + B4D1DC4EEC82560A8FAECF4A /* Pods-IndieMusic-IndieMusicUITests.release.xcconfig */, + 00A0F5B06AC1F0B01193E57A /* Pods-IndieMusicTests.debug.xcconfig */, + 69F724137B8F9C1F7E51080D /* Pods-IndieMusicTests.release.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; + B3AFD1BB3B86B869E46A5F18 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 3BA421D41748C113CCE36A32 /* Pods_IndieMusic.framework */, + FA03C869C12FEE5FB3D835C2 /* Pods_IndieMusic_IndieMusicUITests.framework */, + 42CE866330C1741ADEC950B2 /* Pods_IndieMusicTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 778B8A1C2AF8E36D0034AFD4 /* IndieMusic */ = { + isa = PBXNativeTarget; + buildConfigurationList = 778B8A472AF8E36E0034AFD4 /* Build configuration list for PBXNativeTarget "IndieMusic" */; + buildPhases = ( + 5A38861B93C09701DE6C38E9 /* [CP] Check Pods Manifest.lock */, + 778B8A192AF8E36D0034AFD4 /* Sources */, + 778B8A1A2AF8E36D0034AFD4 /* Frameworks */, + 778B8A1B2AF8E36D0034AFD4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = IndieMusic; + productName = IndieMusic; + productReference = 778B8A1D2AF8E36D0034AFD4 /* IndieMusic.app */; + productType = "com.apple.product-type.application"; + }; + 778B8A322AF8E36E0034AFD4 /* IndieMusicTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 778B8A4A2AF8E36E0034AFD4 /* Build configuration list for PBXNativeTarget "IndieMusicTests" */; + buildPhases = ( + D901FACEA9E5BF814D719D27 /* [CP] Check Pods Manifest.lock */, + 778B8A2F2AF8E36E0034AFD4 /* Sources */, + 778B8A302AF8E36E0034AFD4 /* Frameworks */, + 778B8A312AF8E36E0034AFD4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 778B8A352AF8E36E0034AFD4 /* PBXTargetDependency */, + ); + name = IndieMusicTests; + productName = IndieMusicTests; + productReference = 778B8A332AF8E36E0034AFD4 /* IndieMusicTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 778B8A3C2AF8E36E0034AFD4 /* IndieMusicUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 778B8A4D2AF8E36E0034AFD4 /* Build configuration list for PBXNativeTarget "IndieMusicUITests" */; + buildPhases = ( + 4FEFBF3B234389F0276C90A0 /* [CP] Check Pods Manifest.lock */, + 778B8A392AF8E36E0034AFD4 /* Sources */, + 778B8A3A2AF8E36E0034AFD4 /* Frameworks */, + 778B8A3B2AF8E36E0034AFD4 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 778B8A3F2AF8E36E0034AFD4 /* PBXTargetDependency */, + ); + name = IndieMusicUITests; + productName = IndieMusicUITests; + productReference = 778B8A3D2AF8E36E0034AFD4 /* IndieMusicUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 778B8A152AF8E36D0034AFD4 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1500; + LastUpgradeCheck = 1500; + TargetAttributes = { + 778B8A1C2AF8E36D0034AFD4 = { + CreatedOnToolsVersion = 15.0; + }; + 778B8A322AF8E36E0034AFD4 = { + CreatedOnToolsVersion = 15.0; + TestTargetID = 778B8A1C2AF8E36D0034AFD4; + }; + 778B8A3C2AF8E36E0034AFD4 = { + CreatedOnToolsVersion = 15.0; + TestTargetID = 778B8A1C2AF8E36D0034AFD4; + }; + }; + }; + buildConfigurationList = 778B8A182AF8E36D0034AFD4 /* Build configuration list for PBXProject "IndieMusic" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 778B8A142AF8E36D0034AFD4; + productRefGroup = 778B8A1E2AF8E36D0034AFD4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 778B8A1C2AF8E36D0034AFD4 /* IndieMusic */, + 778B8A322AF8E36E0034AFD4 /* IndieMusicTests */, + 778B8A3C2AF8E36E0034AFD4 /* IndieMusicUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 778B8A1B2AF8E36D0034AFD4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 778B8A2D2AF8E36E0034AFD4 /* LaunchScreen.storyboard in Resources */, + 778B8A2A2AF8E36E0034AFD4 /* Assets.xcassets in Resources */, + 778B8A282AF8E36D0034AFD4 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 778B8A312AF8E36E0034AFD4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 778B8A3B2AF8E36E0034AFD4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 4FEFBF3B234389F0276C90A0 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-IndieMusic-IndieMusicUITests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 5A38861B93C09701DE6C38E9 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-IndieMusic-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + D901FACEA9E5BF814D719D27 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-IndieMusicTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 778B8A192AF8E36D0034AFD4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 778B8A252AF8E36D0034AFD4 /* ViewController.swift in Sources */, + 778B8A212AF8E36D0034AFD4 /* AppDelegate.swift in Sources */, + 778B8A232AF8E36D0034AFD4 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 778B8A2F2AF8E36E0034AFD4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 778B8A382AF8E36E0034AFD4 /* IndieMusicTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 778B8A392AF8E36E0034AFD4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 778B8A442AF8E36E0034AFD4 /* IndieMusicUITestsLaunchTests.swift in Sources */, + 778B8A422AF8E36E0034AFD4 /* IndieMusicUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 778B8A352AF8E36E0034AFD4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 778B8A1C2AF8E36D0034AFD4 /* IndieMusic */; + targetProxy = 778B8A342AF8E36E0034AFD4 /* PBXContainerItemProxy */; + }; + 778B8A3F2AF8E36E0034AFD4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 778B8A1C2AF8E36D0034AFD4 /* IndieMusic */; + targetProxy = 778B8A3E2AF8E36E0034AFD4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 778B8A262AF8E36D0034AFD4 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 778B8A272AF8E36D0034AFD4 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 778B8A2B2AF8E36E0034AFD4 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 778B8A2C2AF8E36E0034AFD4 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 778B8A452AF8E36E0034AFD4 /* 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.0; + 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; + }; + 778B8A462AF8E36E0034AFD4 /* 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.0; + 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; + }; + 778B8A482AF8E36E0034AFD4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 10FA18A9A1512560FC58E95B /* Pods-IndieMusic.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 352QFH5MA9; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IndieMusic/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.luoo.IndieMusic; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; + }; + name = Debug; + }; + 778B8A492AF8E36E0034AFD4 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C8F1B981837A2D1AAE58D709 /* Pods-IndieMusic.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 352QFH5MA9; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = IndieMusic/Info.plist; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.luoo.IndieMusic; + PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = 1; + }; + name = Release; + }; + 778B8A4B2AF8E36E0034AFD4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 00A0F5B06AC1F0B01193E57A /* Pods-IndieMusicTests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 352QFH5MA9; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.luoo.IndieMusicTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/IndieMusic.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/IndieMusic"; + }; + name = Debug; + }; + 778B8A4C2AF8E36E0034AFD4 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 69F724137B8F9C1F7E51080D /* Pods-IndieMusicTests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 352QFH5MA9; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.luoo.IndieMusicTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/IndieMusic.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/IndieMusic"; + }; + name = Release; + }; + 778B8A4E2AF8E36E0034AFD4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A90C808FB1B74BB851FB67CB /* Pods-IndieMusic-IndieMusicUITests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 352QFH5MA9; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.luoo.IndieMusicUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = IndieMusic; + }; + name = Debug; + }; + 778B8A4F2AF8E36E0034AFD4 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B4D1DC4EEC82560A8FAECF4A /* Pods-IndieMusic-IndieMusicUITests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 352QFH5MA9; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.luoo.IndieMusicUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = IndieMusic; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 778B8A182AF8E36D0034AFD4 /* Build configuration list for PBXProject "IndieMusic" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 778B8A452AF8E36E0034AFD4 /* Debug */, + 778B8A462AF8E36E0034AFD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 778B8A472AF8E36E0034AFD4 /* Build configuration list for PBXNativeTarget "IndieMusic" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 778B8A482AF8E36E0034AFD4 /* Debug */, + 778B8A492AF8E36E0034AFD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 778B8A4A2AF8E36E0034AFD4 /* Build configuration list for PBXNativeTarget "IndieMusicTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 778B8A4B2AF8E36E0034AFD4 /* Debug */, + 778B8A4C2AF8E36E0034AFD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 778B8A4D2AF8E36E0034AFD4 /* Build configuration list for PBXNativeTarget "IndieMusicUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 778B8A4E2AF8E36E0034AFD4 /* Debug */, + 778B8A4F2AF8E36E0034AFD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 778B8A152AF8E36D0034AFD4 /* Project object */; +} diff --git a/IndieMusic/IndieMusic.xcworkspace/contents.xcworkspacedata b/IndieMusic/IndieMusic.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..c129701 --- /dev/null +++ b/IndieMusic/IndieMusic.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/IndieMusic/IndieMusic/AppDelegate.swift b/IndieMusic/IndieMusic/AppDelegate.swift new file mode 100644 index 0000000..6c53d8e --- /dev/null +++ b/IndieMusic/IndieMusic/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// IndieMusic +// +// Created by WenLei on 2023/11/6. +// + +import UIKit + +@main +class AppDelegate: UIResponder, UIApplicationDelegate { + + + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } + + // MARK: UISceneSession Lifecycle + + func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { + // Called when a new scene session is being created. + // Use this method to select a configuration to create the new scene with. + return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) + } + + func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { + // Called when the user discards a scene session. + // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. + // Use this method to release any resources that were specific to the discarded scenes, as they will not return. + } + + +} + diff --git a/IndieMusic/IndieMusic/Assets.xcassets/AccentColor.colorset/Contents.json b/IndieMusic/IndieMusic/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/IndieMusic/IndieMusic/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IndieMusic/IndieMusic/Assets.xcassets/AppIcon.appiconset/Contents.json b/IndieMusic/IndieMusic/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/IndieMusic/IndieMusic/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/IndieMusic/IndieMusic/Assets.xcassets/Contents.json b/IndieMusic/IndieMusic/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/IndieMusic/IndieMusic/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/IndieMusic/IndieMusic/Base.lproj/LaunchScreen.storyboard b/IndieMusic/IndieMusic/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/IndieMusic/IndieMusic/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IndieMusic/IndieMusic/Base.lproj/Main.storyboard b/IndieMusic/IndieMusic/Base.lproj/Main.storyboard new file mode 100644 index 0000000..25a7638 --- /dev/null +++ b/IndieMusic/IndieMusic/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/IndieMusic/IndieMusic/Info.plist b/IndieMusic/IndieMusic/Info.plist new file mode 100644 index 0000000..dd3c9af --- /dev/null +++ b/IndieMusic/IndieMusic/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/IndieMusic/IndieMusic/SceneDelegate.swift b/IndieMusic/IndieMusic/SceneDelegate.swift new file mode 100644 index 0000000..1d1ec1f --- /dev/null +++ b/IndieMusic/IndieMusic/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// IndieMusic +// +// Created by WenLei on 2023/11/6. +// + +import UIKit + +class SceneDelegate: UIResponder, UIWindowSceneDelegate { + + var window: UIWindow? + + + func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { + // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. + // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. + // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). + guard let _ = (scene as? UIWindowScene) else { return } + } + + func sceneDidDisconnect(_ scene: UIScene) { + // Called as the scene is being released by the system. + // This occurs shortly after the scene enters the background, or when its session is discarded. + // Release any resources associated with this scene that can be re-created the next time the scene connects. + // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). + } + + func sceneDidBecomeActive(_ scene: UIScene) { + // Called when the scene has moved from an inactive state to an active state. + // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. + } + + func sceneWillResignActive(_ scene: UIScene) { + // Called when the scene will move from an active state to an inactive state. + // This may occur due to temporary interruptions (ex. an incoming phone call). + } + + func sceneWillEnterForeground(_ scene: UIScene) { + // Called as the scene transitions from the background to the foreground. + // Use this method to undo the changes made on entering the background. + } + + func sceneDidEnterBackground(_ scene: UIScene) { + // Called as the scene transitions from the foreground to the background. + // Use this method to save data, release shared resources, and store enough scene-specific state information + // to restore the scene back to its current state. + } + + +} + diff --git a/IndieMusic/IndieMusic/ViewController.swift b/IndieMusic/IndieMusic/ViewController.swift new file mode 100644 index 0000000..52b091d --- /dev/null +++ b/IndieMusic/IndieMusic/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// IndieMusic +// +// Created by WenLei on 2023/11/6. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/IndieMusic/IndieMusicTests/IndieMusicTests.swift b/IndieMusic/IndieMusicTests/IndieMusicTests.swift new file mode 100644 index 0000000..4c9f272 --- /dev/null +++ b/IndieMusic/IndieMusicTests/IndieMusicTests.swift @@ -0,0 +1,36 @@ +// +// IndieMusicTests.swift +// IndieMusicTests +// +// Created by WenLei on 2023/11/6. +// + +import XCTest +@testable import IndieMusic + +final class IndieMusicTests: 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/IndieMusic/IndieMusicUITests/IndieMusicUITests.swift b/IndieMusic/IndieMusicUITests/IndieMusicUITests.swift new file mode 100644 index 0000000..782b786 --- /dev/null +++ b/IndieMusic/IndieMusicUITests/IndieMusicUITests.swift @@ -0,0 +1,41 @@ +// +// IndieMusicUITests.swift +// IndieMusicUITests +// +// Created by WenLei on 2023/11/6. +// + +import XCTest + +final class IndieMusicUITests: 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/IndieMusic/IndieMusicUITests/IndieMusicUITestsLaunchTests.swift b/IndieMusic/IndieMusicUITests/IndieMusicUITestsLaunchTests.swift new file mode 100644 index 0000000..839d381 --- /dev/null +++ b/IndieMusic/IndieMusicUITests/IndieMusicUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// IndieMusicUITestsLaunchTests.swift +// IndieMusicUITests +// +// Created by WenLei on 2023/11/6. +// + +import XCTest + +final class IndieMusicUITestsLaunchTests: 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/IndieMusic/Podfile b/IndieMusic/Podfile new file mode 100644 index 0000000..5c3346b --- /dev/null +++ b/IndieMusic/Podfile @@ -0,0 +1,19 @@ +# Uncomment the next line to define a global platform for your project +# platform :ios, '9.0' + +target 'IndieMusic' do + # Comment the next line if you don't want to use dynamic frameworks + use_frameworks! + + # Pods for IndieMusic + + target 'IndieMusicTests' do + inherit! :search_paths + # Pods for testing + end + + target 'IndieMusicUITests' do + # Pods for testing + end + +end