From d2f88698232807f3a7eea5290b32bf5722a962b9 Mon Sep 17 00:00:00 2001 From: john-rocky Date: Fri, 3 Feb 2023 05:51:45 +0900 Subject: [PATCH] Initial Commit --- .../project.pbxproj | 607 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + .../AppDelegate.swift | 36 ++ .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 13 + .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/LaunchScreen.storyboard | 25 + .../Base.lproj/Main.storyboard | 24 + AOT-GAN-for-Inpainting-CoreML/Info.plist | 25 + .../SceneDelegate.swift | 52 ++ .../ViewController.swift | 19 + .../AOT_GAN_for_Inpainting_CoreMLTests.swift | 36 ++ ...AOT_GAN_for_Inpainting_CoreMLUITests.swift | 41 ++ ..._Inpainting_CoreMLUITestsLaunchTests.swift | 32 + 16 files changed, 956 insertions(+) create mode 100644 AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.pbxproj create mode 100644 AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 AOT-GAN-for-Inpainting-CoreML.xcodeproj/xcuserdata/majimadaisuke.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 AOT-GAN-for-Inpainting-CoreML/AppDelegate.swift create mode 100644 AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/Contents.json create mode 100644 AOT-GAN-for-Inpainting-CoreML/Base.lproj/LaunchScreen.storyboard create mode 100644 AOT-GAN-for-Inpainting-CoreML/Base.lproj/Main.storyboard create mode 100644 AOT-GAN-for-Inpainting-CoreML/Info.plist create mode 100644 AOT-GAN-for-Inpainting-CoreML/SceneDelegate.swift create mode 100644 AOT-GAN-for-Inpainting-CoreML/ViewController.swift create mode 100644 AOT-GAN-for-Inpainting-CoreMLTests/AOT_GAN_for_Inpainting_CoreMLTests.swift create mode 100644 AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITests.swift create mode 100644 AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift diff --git a/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.pbxproj b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.pbxproj new file mode 100644 index 0000000..073d9d7 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.pbxproj @@ -0,0 +1,607 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 56; + objects = { + +/* Begin PBXBuildFile section */ + 734FA4E2298C59DD007627D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 734FA4E1298C59DD007627D9 /* AppDelegate.swift */; }; + 734FA4E4298C59DD007627D9 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 734FA4E3298C59DD007627D9 /* SceneDelegate.swift */; }; + 734FA4E6298C59DD007627D9 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 734FA4E5298C59DD007627D9 /* ViewController.swift */; }; + 734FA4E9298C59DD007627D9 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 734FA4E7298C59DD007627D9 /* Main.storyboard */; }; + 734FA4EB298C59DF007627D9 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 734FA4EA298C59DF007627D9 /* Assets.xcassets */; }; + 734FA4EE298C59DF007627D9 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 734FA4EC298C59DF007627D9 /* LaunchScreen.storyboard */; }; + 734FA4F9298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 734FA4F8298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLTests.swift */; }; + 734FA503298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 734FA502298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITests.swift */; }; + 734FA505298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 734FA504298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 734FA4F5298C59DF007627D9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 734FA4D6298C59DD007627D9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 734FA4DD298C59DD007627D9; + remoteInfo = "AOT-GAN-for-Inpainting-CoreML"; + }; + 734FA4FF298C59DF007627D9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 734FA4D6298C59DD007627D9 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 734FA4DD298C59DD007627D9; + remoteInfo = "AOT-GAN-for-Inpainting-CoreML"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 734FA4DE298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "AOT-GAN-for-Inpainting-CoreML.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 734FA4E1298C59DD007627D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 734FA4E3298C59DD007627D9 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; + 734FA4E5298C59DD007627D9 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 734FA4E8298C59DD007627D9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 734FA4EA298C59DF007627D9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 734FA4ED298C59DF007627D9 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 734FA4EF298C59DF007627D9 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 734FA4F4298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AOT-GAN-for-Inpainting-CoreMLTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 734FA4F8298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AOT_GAN_for_Inpainting_CoreMLTests.swift; sourceTree = ""; }; + 734FA4FE298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "AOT-GAN-for-Inpainting-CoreMLUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 734FA502298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AOT_GAN_for_Inpainting_CoreMLUITests.swift; sourceTree = ""; }; + 734FA504298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 734FA4DB298C59DD007627D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 734FA4F1298C59DF007627D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 734FA4FB298C59DF007627D9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 734FA4D5298C59DD007627D9 = { + isa = PBXGroup; + children = ( + 734FA4E0298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML */, + 734FA4F7298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests */, + 734FA501298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests */, + 734FA4DF298C59DD007627D9 /* Products */, + ); + sourceTree = ""; + }; + 734FA4DF298C59DD007627D9 /* Products */ = { + isa = PBXGroup; + children = ( + 734FA4DE298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML.app */, + 734FA4F4298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests.xctest */, + 734FA4FE298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 734FA4E0298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML */ = { + isa = PBXGroup; + children = ( + 734FA4E1298C59DD007627D9 /* AppDelegate.swift */, + 734FA4E3298C59DD007627D9 /* SceneDelegate.swift */, + 734FA4E5298C59DD007627D9 /* ViewController.swift */, + 734FA4E7298C59DD007627D9 /* Main.storyboard */, + 734FA4EA298C59DF007627D9 /* Assets.xcassets */, + 734FA4EC298C59DF007627D9 /* LaunchScreen.storyboard */, + 734FA4EF298C59DF007627D9 /* Info.plist */, + ); + path = "AOT-GAN-for-Inpainting-CoreML"; + sourceTree = ""; + }; + 734FA4F7298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests */ = { + isa = PBXGroup; + children = ( + 734FA4F8298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLTests.swift */, + ); + path = "AOT-GAN-for-Inpainting-CoreMLTests"; + sourceTree = ""; + }; + 734FA501298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests */ = { + isa = PBXGroup; + children = ( + 734FA502298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITests.swift */, + 734FA504298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift */, + ); + path = "AOT-GAN-for-Inpainting-CoreMLUITests"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 734FA4DD298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML */ = { + isa = PBXNativeTarget; + buildConfigurationList = 734FA508298C59DF007627D9 /* Build configuration list for PBXNativeTarget "AOT-GAN-for-Inpainting-CoreML" */; + buildPhases = ( + 734FA4DA298C59DD007627D9 /* Sources */, + 734FA4DB298C59DD007627D9 /* Frameworks */, + 734FA4DC298C59DD007627D9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "AOT-GAN-for-Inpainting-CoreML"; + productName = "AOT-GAN-for-Inpainting-CoreML"; + productReference = 734FA4DE298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML.app */; + productType = "com.apple.product-type.application"; + }; + 734FA4F3298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 734FA50B298C59DF007627D9 /* Build configuration list for PBXNativeTarget "AOT-GAN-for-Inpainting-CoreMLTests" */; + buildPhases = ( + 734FA4F0298C59DF007627D9 /* Sources */, + 734FA4F1298C59DF007627D9 /* Frameworks */, + 734FA4F2298C59DF007627D9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 734FA4F6298C59DF007627D9 /* PBXTargetDependency */, + ); + name = "AOT-GAN-for-Inpainting-CoreMLTests"; + productName = "AOT-GAN-for-Inpainting-CoreMLTests"; + productReference = 734FA4F4298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 734FA4FD298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 734FA50E298C59DF007627D9 /* Build configuration list for PBXNativeTarget "AOT-GAN-for-Inpainting-CoreMLUITests" */; + buildPhases = ( + 734FA4FA298C59DF007627D9 /* Sources */, + 734FA4FB298C59DF007627D9 /* Frameworks */, + 734FA4FC298C59DF007627D9 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 734FA500298C59DF007627D9 /* PBXTargetDependency */, + ); + name = "AOT-GAN-for-Inpainting-CoreMLUITests"; + productName = "AOT-GAN-for-Inpainting-CoreMLUITests"; + productReference = 734FA4FE298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 734FA4D6298C59DD007627D9 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1420; + LastUpgradeCheck = 1420; + TargetAttributes = { + 734FA4DD298C59DD007627D9 = { + CreatedOnToolsVersion = 14.2; + }; + 734FA4F3298C59DF007627D9 = { + CreatedOnToolsVersion = 14.2; + TestTargetID = 734FA4DD298C59DD007627D9; + }; + 734FA4FD298C59DF007627D9 = { + CreatedOnToolsVersion = 14.2; + TestTargetID = 734FA4DD298C59DD007627D9; + }; + }; + }; + buildConfigurationList = 734FA4D9298C59DD007627D9 /* Build configuration list for PBXProject "AOT-GAN-for-Inpainting-CoreML" */; + compatibilityVersion = "Xcode 14.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 734FA4D5298C59DD007627D9; + productRefGroup = 734FA4DF298C59DD007627D9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 734FA4DD298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML */, + 734FA4F3298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLTests */, + 734FA4FD298C59DF007627D9 /* AOT-GAN-for-Inpainting-CoreMLUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 734FA4DC298C59DD007627D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 734FA4EE298C59DF007627D9 /* LaunchScreen.storyboard in Resources */, + 734FA4EB298C59DF007627D9 /* Assets.xcassets in Resources */, + 734FA4E9298C59DD007627D9 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 734FA4F2298C59DF007627D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 734FA4FC298C59DF007627D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 734FA4DA298C59DD007627D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 734FA4E6298C59DD007627D9 /* ViewController.swift in Sources */, + 734FA4E2298C59DD007627D9 /* AppDelegate.swift in Sources */, + 734FA4E4298C59DD007627D9 /* SceneDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 734FA4F0298C59DF007627D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 734FA4F9298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 734FA4FA298C59DF007627D9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 734FA503298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITests.swift in Sources */, + 734FA505298C59DF007627D9 /* AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 734FA4F6298C59DF007627D9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 734FA4DD298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML */; + targetProxy = 734FA4F5298C59DF007627D9 /* PBXContainerItemProxy */; + }; + 734FA500298C59DF007627D9 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 734FA4DD298C59DD007627D9 /* AOT-GAN-for-Inpainting-CoreML */; + targetProxy = 734FA4FF298C59DF007627D9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 734FA4E7298C59DD007627D9 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 734FA4E8298C59DD007627D9 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 734FA4EC298C59DF007627D9 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 734FA4ED298C59DF007627D9 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 734FA506298C59DF007627D9 /* 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.2; + 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; + }; + 734FA507298C59DF007627D9 /* 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.2; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 734FA509298C59DF007627D9 /* 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_TEAM = MFN25KNUGJ; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "AOT-GAN-for-Inpainting-CoreML/Info.plist"; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + 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 = "daisuke.AOT-GAN-for-Inpainting-CoreML"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 734FA50A298C59DF007627D9 /* 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_TEAM = MFN25KNUGJ; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = "AOT-GAN-for-Inpainting-CoreML/Info.plist"; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; + INFOPLIST_KEY_UIMainStoryboardFile = Main; + 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 = "daisuke.AOT-GAN-for-Inpainting-CoreML"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 734FA50C298C59DF007627D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = MFN25KNUGJ; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "daisuke.AOT-GAN-for-Inpainting-CoreMLTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AOT-GAN-for-Inpainting-CoreML.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/AOT-GAN-for-Inpainting-CoreML"; + }; + name = Debug; + }; + 734FA50D298C59DF007627D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = MFN25KNUGJ; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 16.2; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "daisuke.AOT-GAN-for-Inpainting-CoreMLTests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AOT-GAN-for-Inpainting-CoreML.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/AOT-GAN-for-Inpainting-CoreML"; + }; + name = Release; + }; + 734FA50F298C59DF007627D9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = MFN25KNUGJ; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "daisuke.AOT-GAN-for-Inpainting-CoreMLUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = "AOT-GAN-for-Inpainting-CoreML"; + }; + name = Debug; + }; + 734FA510298C59DF007627D9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = MFN25KNUGJ; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "daisuke.AOT-GAN-for-Inpainting-CoreMLUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = "AOT-GAN-for-Inpainting-CoreML"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 734FA4D9298C59DD007627D9 /* Build configuration list for PBXProject "AOT-GAN-for-Inpainting-CoreML" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 734FA506298C59DF007627D9 /* Debug */, + 734FA507298C59DF007627D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 734FA508298C59DF007627D9 /* Build configuration list for PBXNativeTarget "AOT-GAN-for-Inpainting-CoreML" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 734FA509298C59DF007627D9 /* Debug */, + 734FA50A298C59DF007627D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 734FA50B298C59DF007627D9 /* Build configuration list for PBXNativeTarget "AOT-GAN-for-Inpainting-CoreMLTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 734FA50C298C59DF007627D9 /* Debug */, + 734FA50D298C59DF007627D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 734FA50E298C59DF007627D9 /* Build configuration list for PBXNativeTarget "AOT-GAN-for-Inpainting-CoreMLUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 734FA50F298C59DF007627D9 /* Debug */, + 734FA510298C59DF007627D9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 734FA4D6298C59DD007627D9 /* Project object */; +} diff --git a/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/AOT-GAN-for-Inpainting-CoreML.xcodeproj/xcuserdata/majimadaisuke.xcuserdatad/xcschemes/xcschememanagement.plist b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/xcuserdata/majimadaisuke.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..c05c109 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML.xcodeproj/xcuserdata/majimadaisuke.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + AOT-GAN-for-Inpainting-CoreML.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/AOT-GAN-for-Inpainting-CoreML/AppDelegate.swift b/AOT-GAN-for-Inpainting-CoreML/AppDelegate.swift new file mode 100644 index 0000000..bb59664 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/AppDelegate.swift @@ -0,0 +1,36 @@ +// +// AppDelegate.swift +// AOT-GAN-for-Inpainting-CoreML +// +// Created by 間嶋大輔 on 2023/02/03. +// + +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/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AccentColor.colorset/Contents.json b/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AppIcon.appiconset/Contents.json b/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..13613e3 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/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/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/Contents.json b/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/AOT-GAN-for-Inpainting-CoreML/Base.lproj/LaunchScreen.storyboard b/AOT-GAN-for-Inpainting-CoreML/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..865e932 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AOT-GAN-for-Inpainting-CoreML/Base.lproj/Main.storyboard b/AOT-GAN-for-Inpainting-CoreML/Base.lproj/Main.storyboard new file mode 100644 index 0000000..25a7638 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/Base.lproj/Main.storyboard @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AOT-GAN-for-Inpainting-CoreML/Info.plist b/AOT-GAN-for-Inpainting-CoreML/Info.plist new file mode 100644 index 0000000..dd3c9af --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/Info.plist @@ -0,0 +1,25 @@ + + + + + UIApplicationSceneManifest + + UIApplicationSupportsMultipleScenes + + UISceneConfigurations + + UIWindowSceneSessionRoleApplication + + + UISceneConfigurationName + Default Configuration + UISceneDelegateClassName + $(PRODUCT_MODULE_NAME).SceneDelegate + UISceneStoryboardFile + Main + + + + + + diff --git a/AOT-GAN-for-Inpainting-CoreML/SceneDelegate.swift b/AOT-GAN-for-Inpainting-CoreML/SceneDelegate.swift new file mode 100644 index 0000000..aed8098 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/SceneDelegate.swift @@ -0,0 +1,52 @@ +// +// SceneDelegate.swift +// AOT-GAN-for-Inpainting-CoreML +// +// Created by 間嶋大輔 on 2023/02/03. +// + +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/AOT-GAN-for-Inpainting-CoreML/ViewController.swift b/AOT-GAN-for-Inpainting-CoreML/ViewController.swift new file mode 100644 index 0000000..7fd5c31 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreML/ViewController.swift @@ -0,0 +1,19 @@ +// +// ViewController.swift +// AOT-GAN-for-Inpainting-CoreML +// +// Created by 間嶋大輔 on 2023/02/03. +// + +import UIKit + +class ViewController: UIViewController { + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view. + } + + +} + diff --git a/AOT-GAN-for-Inpainting-CoreMLTests/AOT_GAN_for_Inpainting_CoreMLTests.swift b/AOT-GAN-for-Inpainting-CoreMLTests/AOT_GAN_for_Inpainting_CoreMLTests.swift new file mode 100644 index 0000000..b32f658 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreMLTests/AOT_GAN_for_Inpainting_CoreMLTests.swift @@ -0,0 +1,36 @@ +// +// AOT_GAN_for_Inpainting_CoreMLTests.swift +// AOT-GAN-for-Inpainting-CoreMLTests +// +// Created by 間嶋大輔 on 2023/02/03. +// + +import XCTest +@testable import AOT_GAN_for_Inpainting_CoreML + +final class AOT_GAN_for_Inpainting_CoreMLTests: 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/AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITests.swift b/AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITests.swift new file mode 100644 index 0000000..244ffb8 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITests.swift @@ -0,0 +1,41 @@ +// +// AOT_GAN_for_Inpainting_CoreMLUITests.swift +// AOT-GAN-for-Inpainting-CoreMLUITests +// +// Created by 間嶋大輔 on 2023/02/03. +// + +import XCTest + +final class AOT_GAN_for_Inpainting_CoreMLUITests: 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/AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift b/AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift new file mode 100644 index 0000000..38b3b60 --- /dev/null +++ b/AOT-GAN-for-Inpainting-CoreMLUITests/AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift @@ -0,0 +1,32 @@ +// +// AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests.swift +// AOT-GAN-for-Inpainting-CoreMLUITests +// +// Created by 間嶋大輔 on 2023/02/03. +// + +import XCTest + +final class AOT_GAN_for_Inpainting_CoreMLUITestsLaunchTests: 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) + } +}