From fef0a975ef953ed9d86e5ccfb2260299c3ef5fb8 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 18 Feb 2020 22:02:39 -0500 Subject: [PATCH] Initial Commit --- SimpleSwiftPromises.xcodeproj/project.pbxproj | 463 +++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + SimpleSwiftPromises/AppDelegate.swift | 26 + .../AppIcon.appiconset/Contents.json | 58 ++ .../Assets.xcassets/Contents.json | 6 + .../Base.lproj/Main.storyboard | 717 ++++++++++++++++++ SimpleSwiftPromises/Info.plist | 36 + .../SimpleSwiftPromises.entitlements | 10 + SimpleSwiftPromises/ViewController.swift | 27 + SimpleSwiftPromisesTests/Info.plist | 22 + .../SimpleSwiftPromisesTests.swift | 34 + 13 files changed, 1428 insertions(+) create mode 100644 SimpleSwiftPromises.xcodeproj/project.pbxproj create mode 100644 SimpleSwiftPromises.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 SimpleSwiftPromises.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 SimpleSwiftPromises.xcodeproj/xcuserdata/shadowfacts.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 SimpleSwiftPromises/AppDelegate.swift create mode 100644 SimpleSwiftPromises/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 SimpleSwiftPromises/Assets.xcassets/Contents.json create mode 100644 SimpleSwiftPromises/Base.lproj/Main.storyboard create mode 100644 SimpleSwiftPromises/Info.plist create mode 100644 SimpleSwiftPromises/SimpleSwiftPromises.entitlements create mode 100644 SimpleSwiftPromises/ViewController.swift create mode 100644 SimpleSwiftPromisesTests/Info.plist create mode 100644 SimpleSwiftPromisesTests/SimpleSwiftPromisesTests.swift diff --git a/SimpleSwiftPromises.xcodeproj/project.pbxproj b/SimpleSwiftPromises.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c66bbcf --- /dev/null +++ b/SimpleSwiftPromises.xcodeproj/project.pbxproj @@ -0,0 +1,463 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + D683419823FCDCCB00D06703 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = D683419723FCDCCB00D06703 /* AppDelegate.swift */; }; + D683419A23FCDCCB00D06703 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D683419923FCDCCB00D06703 /* ViewController.swift */; }; + D683419C23FCDCCE00D06703 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = D683419B23FCDCCE00D06703 /* Assets.xcassets */; }; + D683419F23FCDCCE00D06703 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D683419D23FCDCCE00D06703 /* Main.storyboard */; }; + D68341AB23FCDCCE00D06703 /* SimpleSwiftPromisesTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = D68341AA23FCDCCE00D06703 /* SimpleSwiftPromisesTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + D68341A723FCDCCE00D06703 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D683418C23FCDCCB00D06703 /* Project object */; + proxyType = 1; + remoteGlobalIDString = D683419323FCDCCB00D06703; + remoteInfo = SimpleSwiftPromises; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + D683419423FCDCCB00D06703 /* SimpleSwiftPromises.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleSwiftPromises.app; sourceTree = BUILT_PRODUCTS_DIR; }; + D683419723FCDCCB00D06703 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + D683419923FCDCCB00D06703 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + D683419B23FCDCCE00D06703 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + D683419E23FCDCCE00D06703 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + D68341A023FCDCCE00D06703 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + D68341A123FCDCCE00D06703 /* SimpleSwiftPromises.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = SimpleSwiftPromises.entitlements; sourceTree = ""; }; + D68341A623FCDCCE00D06703 /* SimpleSwiftPromisesTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SimpleSwiftPromisesTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + D68341AA23FCDCCE00D06703 /* SimpleSwiftPromisesTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SimpleSwiftPromisesTests.swift; sourceTree = ""; }; + D68341AC23FCDCCE00D06703 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + D683419123FCDCCB00D06703 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D68341A323FCDCCE00D06703 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + D683418B23FCDCCB00D06703 = { + isa = PBXGroup; + children = ( + D683419623FCDCCB00D06703 /* SimpleSwiftPromises */, + D68341A923FCDCCE00D06703 /* SimpleSwiftPromisesTests */, + D683419523FCDCCB00D06703 /* Products */, + ); + sourceTree = ""; + }; + D683419523FCDCCB00D06703 /* Products */ = { + isa = PBXGroup; + children = ( + D683419423FCDCCB00D06703 /* SimpleSwiftPromises.app */, + D68341A623FCDCCE00D06703 /* SimpleSwiftPromisesTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + D683419623FCDCCB00D06703 /* SimpleSwiftPromises */ = { + isa = PBXGroup; + children = ( + D683419723FCDCCB00D06703 /* AppDelegate.swift */, + D683419923FCDCCB00D06703 /* ViewController.swift */, + D683419B23FCDCCE00D06703 /* Assets.xcassets */, + D683419D23FCDCCE00D06703 /* Main.storyboard */, + D68341A023FCDCCE00D06703 /* Info.plist */, + D68341A123FCDCCE00D06703 /* SimpleSwiftPromises.entitlements */, + ); + path = SimpleSwiftPromises; + sourceTree = ""; + }; + D68341A923FCDCCE00D06703 /* SimpleSwiftPromisesTests */ = { + isa = PBXGroup; + children = ( + D68341AA23FCDCCE00D06703 /* SimpleSwiftPromisesTests.swift */, + D68341AC23FCDCCE00D06703 /* Info.plist */, + ); + path = SimpleSwiftPromisesTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + D683419323FCDCCB00D06703 /* SimpleSwiftPromises */ = { + isa = PBXNativeTarget; + buildConfigurationList = D68341AF23FCDCCE00D06703 /* Build configuration list for PBXNativeTarget "SimpleSwiftPromises" */; + buildPhases = ( + D683419023FCDCCB00D06703 /* Sources */, + D683419123FCDCCB00D06703 /* Frameworks */, + D683419223FCDCCB00D06703 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SimpleSwiftPromises; + productName = SimpleSwiftPromises; + productReference = D683419423FCDCCB00D06703 /* SimpleSwiftPromises.app */; + productType = "com.apple.product-type.application"; + }; + D68341A523FCDCCE00D06703 /* SimpleSwiftPromisesTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = D68341B223FCDCCE00D06703 /* Build configuration list for PBXNativeTarget "SimpleSwiftPromisesTests" */; + buildPhases = ( + D68341A223FCDCCE00D06703 /* Sources */, + D68341A323FCDCCE00D06703 /* Frameworks */, + D68341A423FCDCCE00D06703 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + D68341A823FCDCCE00D06703 /* PBXTargetDependency */, + ); + name = SimpleSwiftPromisesTests; + productName = SimpleSwiftPromisesTests; + productReference = D68341A623FCDCCE00D06703 /* SimpleSwiftPromisesTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D683418C23FCDCCB00D06703 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1140; + LastUpgradeCheck = 1140; + ORGANIZATIONNAME = Shadowfacts; + TargetAttributes = { + D683419323FCDCCB00D06703 = { + CreatedOnToolsVersion = 11.4; + }; + D68341A523FCDCCE00D06703 = { + CreatedOnToolsVersion = 11.4; + TestTargetID = D683419323FCDCCB00D06703; + }; + }; + }; + buildConfigurationList = D683418F23FCDCCB00D06703 /* Build configuration list for PBXProject "SimpleSwiftPromises" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = D683418B23FCDCCB00D06703; + productRefGroup = D683419523FCDCCB00D06703 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + D683419323FCDCCB00D06703 /* SimpleSwiftPromises */, + D68341A523FCDCCE00D06703 /* SimpleSwiftPromisesTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + D683419223FCDCCB00D06703 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D683419C23FCDCCE00D06703 /* Assets.xcassets in Resources */, + D683419F23FCDCCE00D06703 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D68341A423FCDCCE00D06703 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + D683419023FCDCCB00D06703 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D683419A23FCDCCB00D06703 /* ViewController.swift in Sources */, + D683419823FCDCCB00D06703 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D68341A223FCDCCE00D06703 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + D68341AB23FCDCCE00D06703 /* SimpleSwiftPromisesTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + D68341A823FCDCCE00D06703 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = D683419323FCDCCB00D06703 /* SimpleSwiftPromises */; + targetProxy = D68341A723FCDCCE00D06703 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + D683419D23FCDCCE00D06703 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + D683419E23FCDCCE00D06703 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + D68341AD23FCDCCE00D06703 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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_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; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + D68341AE23FCDCCE00D06703 /* 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++14"; + CLANG_CXX_LIBRARY = "libc++"; + 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_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; + MACOSX_DEPLOYMENT_TARGET = 10.15; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + D68341B023FCDCCE00D06703 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = SimpleSwiftPromises/SimpleSwiftPromises.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = HGYVAQA9FW; + ENABLE_HARDENED_RUNTIME = YES; + INFOPLIST_FILE = SimpleSwiftPromises/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = net.shadowfacts.SimpleSwiftPromises; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + }; + name = Debug; + }; + D68341B123FCDCCE00D06703 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = SimpleSwiftPromises/SimpleSwiftPromises.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = HGYVAQA9FW; + ENABLE_HARDENED_RUNTIME = YES; + INFOPLIST_FILE = SimpleSwiftPromises/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = net.shadowfacts.SimpleSwiftPromises; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + }; + name = Release; + }; + D68341B323FCDCCE00D06703 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = HGYVAQA9FW; + INFOPLIST_FILE = SimpleSwiftPromisesTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.15; + PRODUCT_BUNDLE_IDENTIFIER = net.shadowfacts.SimpleSwiftPromisesTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SimpleSwiftPromises.app/Contents/MacOS/SimpleSwiftPromises"; + }; + name = Debug; + }; + D68341B423FCDCCE00D06703 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = HGYVAQA9FW; + INFOPLIST_FILE = SimpleSwiftPromisesTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + MACOSX_DEPLOYMENT_TARGET = 10.15; + PRODUCT_BUNDLE_IDENTIFIER = net.shadowfacts.SimpleSwiftPromisesTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SimpleSwiftPromises.app/Contents/MacOS/SimpleSwiftPromises"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + D683418F23FCDCCB00D06703 /* Build configuration list for PBXProject "SimpleSwiftPromises" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D68341AD23FCDCCE00D06703 /* Debug */, + D68341AE23FCDCCE00D06703 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D68341AF23FCDCCE00D06703 /* Build configuration list for PBXNativeTarget "SimpleSwiftPromises" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D68341B023FCDCCE00D06703 /* Debug */, + D68341B123FCDCCE00D06703 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + D68341B223FCDCCE00D06703 /* Build configuration list for PBXNativeTarget "SimpleSwiftPromisesTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D68341B323FCDCCE00D06703 /* Debug */, + D68341B423FCDCCE00D06703 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D683418C23FCDCCB00D06703 /* Project object */; +} diff --git a/SimpleSwiftPromises.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SimpleSwiftPromises.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..085d3b1 --- /dev/null +++ b/SimpleSwiftPromises.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/SimpleSwiftPromises.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SimpleSwiftPromises.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/SimpleSwiftPromises.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/SimpleSwiftPromises.xcodeproj/xcuserdata/shadowfacts.xcuserdatad/xcschemes/xcschememanagement.plist b/SimpleSwiftPromises.xcodeproj/xcuserdata/shadowfacts.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..1cc71e3 --- /dev/null +++ b/SimpleSwiftPromises.xcodeproj/xcuserdata/shadowfacts.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + SimpleSwiftPromises.xcscheme_^#shared#^_ + + orderHint + 0 + + + + diff --git a/SimpleSwiftPromises/AppDelegate.swift b/SimpleSwiftPromises/AppDelegate.swift new file mode 100644 index 0000000..042143f --- /dev/null +++ b/SimpleSwiftPromises/AppDelegate.swift @@ -0,0 +1,26 @@ +// +// AppDelegate.swift +// SimpleSwiftPromises +// +// Created by Shadowfacts on 2/18/20. +// Copyright © 2020 Shadowfacts. All rights reserved. +// + +import Cocoa + +@NSApplicationMain +class AppDelegate: NSObject, NSApplicationDelegate { + + + + func applicationDidFinishLaunching(_ aNotification: Notification) { + // Insert code here to initialize your application + } + + func applicationWillTerminate(_ aNotification: Notification) { + // Insert code here to tear down your application + } + + +} + diff --git a/SimpleSwiftPromises/Assets.xcassets/AppIcon.appiconset/Contents.json b/SimpleSwiftPromises/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3f00db4 --- /dev/null +++ b/SimpleSwiftPromises/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SimpleSwiftPromises/Assets.xcassets/Contents.json b/SimpleSwiftPromises/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/SimpleSwiftPromises/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SimpleSwiftPromises/Base.lproj/Main.storyboard b/SimpleSwiftPromises/Base.lproj/Main.storyboard new file mode 100644 index 0000000..3b4a13f --- /dev/null +++ b/SimpleSwiftPromises/Base.lproj/Main.storyboard @@ -0,0 +1,717 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SimpleSwiftPromises/Info.plist b/SimpleSwiftPromises/Info.plist new file mode 100644 index 0000000..ee65d5a --- /dev/null +++ b/SimpleSwiftPromises/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2020 Shadowfacts. All rights reserved. + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + NSSupportsAutomaticTermination + + NSSupportsSuddenTermination + + + diff --git a/SimpleSwiftPromises/SimpleSwiftPromises.entitlements b/SimpleSwiftPromises/SimpleSwiftPromises.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/SimpleSwiftPromises/SimpleSwiftPromises.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/SimpleSwiftPromises/ViewController.swift b/SimpleSwiftPromises/ViewController.swift new file mode 100644 index 0000000..8d3567e --- /dev/null +++ b/SimpleSwiftPromises/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// SimpleSwiftPromises +// +// Created by Shadowfacts on 2/18/20. +// Copyright © 2020 Shadowfacts. All rights reserved. +// + +import Cocoa + +class ViewController: NSViewController { + + override func viewDidLoad() { + super.viewDidLoad() + + // Do any additional setup after loading the view. + } + + override var representedObject: Any? { + didSet { + // Update the view, if already loaded. + } + } + + +} + diff --git a/SimpleSwiftPromisesTests/Info.plist b/SimpleSwiftPromisesTests/Info.plist new file mode 100644 index 0000000..64d65ca --- /dev/null +++ b/SimpleSwiftPromisesTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SimpleSwiftPromisesTests/SimpleSwiftPromisesTests.swift b/SimpleSwiftPromisesTests/SimpleSwiftPromisesTests.swift new file mode 100644 index 0000000..8eb1bbd --- /dev/null +++ b/SimpleSwiftPromisesTests/SimpleSwiftPromisesTests.swift @@ -0,0 +1,34 @@ +// +// SimpleSwiftPromisesTests.swift +// SimpleSwiftPromisesTests +// +// Created by Shadowfacts on 2/18/20. +// Copyright © 2020 Shadowfacts. All rights reserved. +// + +import XCTest +@testable import SimpleSwiftPromises + +class SimpleSwiftPromisesTests: 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. + } + + 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. + } + } + +}