From 6c38b7435e0befb19210a0467ad9ec4524a4a461 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Tue, 31 Jul 2018 13:05:54 -0400 Subject: [PATCH] Initial Commit --- Persephone.xcodeproj/project.pbxproj | 580 ++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + Persephone/AppDelegate.swift | 26 + .../AppIcon.appiconset/Contents.json | 58 ++ Persephone/Assets.xcassets/Contents.json | 6 + Persephone/Base.lproj/Main.storyboard | 717 ++++++++++++++++++ Persephone/Info.plist | 32 + Persephone/Persephone.entitlements | 10 + Persephone/ViewController.swift | 27 + PersephoneTests/Info.plist | 22 + PersephoneTests/PersephoneTests.swift | 36 + PersephoneUITests/Info.plist | 22 + PersephoneUITests/PersephoneUITests.swift | 36 + 15 files changed, 1601 insertions(+) create mode 100644 Persephone.xcodeproj/project.pbxproj create mode 100644 Persephone.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Persephone.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Persephone.xcodeproj/xcuserdata/danbarber.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Persephone/AppDelegate.swift create mode 100644 Persephone/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Persephone/Assets.xcassets/Contents.json create mode 100644 Persephone/Base.lproj/Main.storyboard create mode 100644 Persephone/Info.plist create mode 100644 Persephone/Persephone.entitlements create mode 100644 Persephone/ViewController.swift create mode 100644 PersephoneTests/Info.plist create mode 100644 PersephoneTests/PersephoneTests.swift create mode 100644 PersephoneUITests/Info.plist create mode 100644 PersephoneUITests/PersephoneUITests.swift diff --git a/Persephone.xcodeproj/project.pbxproj b/Persephone.xcodeproj/project.pbxproj new file mode 100644 index 0000000..06ce5e7 --- /dev/null +++ b/Persephone.xcodeproj/project.pbxproj @@ -0,0 +1,580 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + E407861C2110CE6E006887B1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = E407861B2110CE6E006887B1 /* AppDelegate.swift */; }; + E407861E2110CE6E006887B1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E407861D2110CE6E006887B1 /* ViewController.swift */; }; + E40786202110CE70006887B1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E407861F2110CE70006887B1 /* Assets.xcassets */; }; + E40786232110CE70006887B1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E40786212110CE70006887B1 /* Main.storyboard */; }; + E407862F2110CE70006887B1 /* PersephoneTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E407862E2110CE70006887B1 /* PersephoneTests.swift */; }; + E407863A2110CE70006887B1 /* PersephoneUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E40786392110CE70006887B1 /* PersephoneUITests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + E407862B2110CE70006887B1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E40786102110CE6E006887B1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E40786172110CE6E006887B1; + remoteInfo = Persephone; + }; + E40786362110CE70006887B1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = E40786102110CE6E006887B1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E40786172110CE6E006887B1; + remoteInfo = Persephone; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + E40786182110CE6E006887B1 /* Persephone.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Persephone.app; sourceTree = BUILT_PRODUCTS_DIR; }; + E407861B2110CE6E006887B1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + E407861D2110CE6E006887B1 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + E407861F2110CE70006887B1 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + E40786222110CE70006887B1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + E40786242110CE70006887B1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E40786252110CE70006887B1 /* Persephone.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Persephone.entitlements; sourceTree = ""; }; + E407862A2110CE70006887B1 /* PersephoneTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PersephoneTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E407862E2110CE70006887B1 /* PersephoneTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersephoneTests.swift; sourceTree = ""; }; + E40786302110CE70006887B1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + E40786352110CE70006887B1 /* PersephoneUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PersephoneUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + E40786392110CE70006887B1 /* PersephoneUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PersephoneUITests.swift; sourceTree = ""; }; + E407863B2110CE70006887B1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + E40786152110CE6E006887B1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E40786272110CE70006887B1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E40786322110CE70006887B1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + E407860F2110CE6E006887B1 = { + isa = PBXGroup; + children = ( + E407861A2110CE6E006887B1 /* Persephone */, + E407862D2110CE70006887B1 /* PersephoneTests */, + E40786382110CE70006887B1 /* PersephoneUITests */, + E40786192110CE6E006887B1 /* Products */, + ); + sourceTree = ""; + }; + E40786192110CE6E006887B1 /* Products */ = { + isa = PBXGroup; + children = ( + E40786182110CE6E006887B1 /* Persephone.app */, + E407862A2110CE70006887B1 /* PersephoneTests.xctest */, + E40786352110CE70006887B1 /* PersephoneUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + E407861A2110CE6E006887B1 /* Persephone */ = { + isa = PBXGroup; + children = ( + E407861B2110CE6E006887B1 /* AppDelegate.swift */, + E407861D2110CE6E006887B1 /* ViewController.swift */, + E407861F2110CE70006887B1 /* Assets.xcassets */, + E40786212110CE70006887B1 /* Main.storyboard */, + E40786242110CE70006887B1 /* Info.plist */, + E40786252110CE70006887B1 /* Persephone.entitlements */, + ); + path = Persephone; + sourceTree = ""; + }; + E407862D2110CE70006887B1 /* PersephoneTests */ = { + isa = PBXGroup; + children = ( + E407862E2110CE70006887B1 /* PersephoneTests.swift */, + E40786302110CE70006887B1 /* Info.plist */, + ); + path = PersephoneTests; + sourceTree = ""; + }; + E40786382110CE70006887B1 /* PersephoneUITests */ = { + isa = PBXGroup; + children = ( + E40786392110CE70006887B1 /* PersephoneUITests.swift */, + E407863B2110CE70006887B1 /* Info.plist */, + ); + path = PersephoneUITests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E40786172110CE6E006887B1 /* Persephone */ = { + isa = PBXNativeTarget; + buildConfigurationList = E407863E2110CE70006887B1 /* Build configuration list for PBXNativeTarget "Persephone" */; + buildPhases = ( + E40786142110CE6E006887B1 /* Sources */, + E40786152110CE6E006887B1 /* Frameworks */, + E40786162110CE6E006887B1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Persephone; + productName = Persephone; + productReference = E40786182110CE6E006887B1 /* Persephone.app */; + productType = "com.apple.product-type.application"; + }; + E40786292110CE70006887B1 /* PersephoneTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E40786412110CE70006887B1 /* Build configuration list for PBXNativeTarget "PersephoneTests" */; + buildPhases = ( + E40786262110CE70006887B1 /* Sources */, + E40786272110CE70006887B1 /* Frameworks */, + E40786282110CE70006887B1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + E407862C2110CE70006887B1 /* PBXTargetDependency */, + ); + name = PersephoneTests; + productName = PersephoneTests; + productReference = E407862A2110CE70006887B1 /* PersephoneTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + E40786342110CE70006887B1 /* PersephoneUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = E40786442110CE70006887B1 /* Build configuration list for PBXNativeTarget "PersephoneUITests" */; + buildPhases = ( + E40786312110CE70006887B1 /* Sources */, + E40786322110CE70006887B1 /* Frameworks */, + E40786332110CE70006887B1 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + E40786372110CE70006887B1 /* PBXTargetDependency */, + ); + name = PersephoneUITests; + productName = PersephoneUITests; + productReference = E40786352110CE70006887B1 /* PersephoneUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E40786102110CE6E006887B1 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0940; + LastUpgradeCheck = 0940; + ORGANIZATIONNAME = "Dan Barber"; + TargetAttributes = { + E40786172110CE6E006887B1 = { + CreatedOnToolsVersion = 9.4.1; + }; + E40786292110CE70006887B1 = { + CreatedOnToolsVersion = 9.4.1; + TestTargetID = E40786172110CE6E006887B1; + }; + E40786342110CE70006887B1 = { + CreatedOnToolsVersion = 9.4.1; + TestTargetID = E40786172110CE6E006887B1; + }; + }; + }; + buildConfigurationList = E40786132110CE6E006887B1 /* Build configuration list for PBXProject "Persephone" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = E407860F2110CE6E006887B1; + productRefGroup = E40786192110CE6E006887B1 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E40786172110CE6E006887B1 /* Persephone */, + E40786292110CE70006887B1 /* PersephoneTests */, + E40786342110CE70006887B1 /* PersephoneUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + E40786162110CE6E006887B1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E40786202110CE70006887B1 /* Assets.xcassets in Resources */, + E40786232110CE70006887B1 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E40786282110CE70006887B1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E40786332110CE70006887B1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + E40786142110CE6E006887B1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E407861E2110CE6E006887B1 /* ViewController.swift in Sources */, + E407861C2110CE6E006887B1 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E40786262110CE70006887B1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E407862F2110CE70006887B1 /* PersephoneTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E40786312110CE70006887B1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E407863A2110CE70006887B1 /* PersephoneUITests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + E407862C2110CE70006887B1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E40786172110CE6E006887B1 /* Persephone */; + targetProxy = E407862B2110CE70006887B1 /* PBXContainerItemProxy */; + }; + E40786372110CE70006887B1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E40786172110CE6E006887B1 /* Persephone */; + targetProxy = E40786362110CE70006887B1 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + E40786212110CE70006887B1 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E40786222110CE70006887B1 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + E407863C2110CE70006887B1 /* 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; + CODE_SIGN_IDENTITY = "Mac Developer"; + 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.13; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + E407863D2110CE70006887B1 /* 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; + CODE_SIGN_IDENTITY = "Mac Developer"; + 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.13; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + E407863F2110CE70006887B1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Persephone/Persephone.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = BDEE7ZBFZ3; + INFOPLIST_FILE = Persephone/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.Persephone; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + }; + name = Debug; + }; + E40786402110CE70006887B1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Persephone/Persephone.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = BDEE7ZBFZ3; + INFOPLIST_FILE = Persephone/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.Persephone; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + }; + name = Release; + }; + E40786422110CE70006887B1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = BDEE7ZBFZ3; + INFOPLIST_FILE = PersephoneTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.PersephoneTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Persephone.app/Contents/MacOS/Persephone"; + }; + name = Debug; + }; + E40786432110CE70006887B1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = BDEE7ZBFZ3; + INFOPLIST_FILE = PersephoneTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.PersephoneTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Persephone.app/Contents/MacOS/Persephone"; + }; + name = Release; + }; + E40786452110CE70006887B1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = BDEE7ZBFZ3; + INFOPLIST_FILE = PersephoneUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.PersephoneUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TEST_TARGET_NAME = Persephone; + }; + name = Debug; + }; + E40786462110CE70006887B1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = BDEE7ZBFZ3; + INFOPLIST_FILE = PersephoneUITests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.PersephoneUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TEST_TARGET_NAME = Persephone; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E40786132110CE6E006887B1 /* Build configuration list for PBXProject "Persephone" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E407863C2110CE70006887B1 /* Debug */, + E407863D2110CE70006887B1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E407863E2110CE70006887B1 /* Build configuration list for PBXNativeTarget "Persephone" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E407863F2110CE70006887B1 /* Debug */, + E40786402110CE70006887B1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E40786412110CE70006887B1 /* Build configuration list for PBXNativeTarget "PersephoneTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E40786422110CE70006887B1 /* Debug */, + E40786432110CE70006887B1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E40786442110CE70006887B1 /* Build configuration list for PBXNativeTarget "PersephoneUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E40786452110CE70006887B1 /* Debug */, + E40786462110CE70006887B1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E40786102110CE6E006887B1 /* Project object */; +} diff --git a/Persephone.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Persephone.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..9560436 --- /dev/null +++ b/Persephone.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Persephone.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Persephone.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Persephone.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Persephone.xcodeproj/xcuserdata/danbarber.xcuserdatad/xcschemes/xcschememanagement.plist b/Persephone.xcodeproj/xcuserdata/danbarber.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..f8c8c47 --- /dev/null +++ b/Persephone.xcodeproj/xcuserdata/danbarber.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + Persephone.xcscheme + + orderHint + 0 + + + + diff --git a/Persephone/AppDelegate.swift b/Persephone/AppDelegate.swift new file mode 100644 index 0000000..6a5d7b2 --- /dev/null +++ b/Persephone/AppDelegate.swift @@ -0,0 +1,26 @@ +// +// AppDelegate.swift +// Persephone +// +// Created by Daniel Barber on 2018/7/31. +// Copyright © 2018 Dan Barber. 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/Persephone/Assets.xcassets/AppIcon.appiconset/Contents.json b/Persephone/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/Persephone/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,58 @@ +{ + "images" : [ + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "16x16", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "32x32", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "128x128", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "256x256", + "scale" : "2x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "1x" + }, + { + "idiom" : "mac", + "size" : "512x512", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Persephone/Assets.xcassets/Contents.json b/Persephone/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Persephone/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Persephone/Base.lproj/Main.storyboard b/Persephone/Base.lproj/Main.storyboard new file mode 100644 index 0000000..6bc1534 --- /dev/null +++ b/Persephone/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/Persephone/Info.plist b/Persephone/Info.plist new file mode 100644 index 0000000..c28f705 --- /dev/null +++ b/Persephone/Info.plist @@ -0,0 +1,32 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2018 Dan Barber. All rights reserved. + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + + diff --git a/Persephone/Persephone.entitlements b/Persephone/Persephone.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/Persephone/Persephone.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/Persephone/ViewController.swift b/Persephone/ViewController.swift new file mode 100644 index 0000000..8791d05 --- /dev/null +++ b/Persephone/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// Persephone +// +// Created by Daniel Barber on 2018/7/31. +// Copyright © 2018 Dan Barber. 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/PersephoneTests/Info.plist b/PersephoneTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/PersephoneTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/PersephoneTests/PersephoneTests.swift b/PersephoneTests/PersephoneTests.swift new file mode 100644 index 0000000..9328889 --- /dev/null +++ b/PersephoneTests/PersephoneTests.swift @@ -0,0 +1,36 @@ +// +// PersephoneTests.swift +// PersephoneTests +// +// Created by Daniel Barber on 2018/7/31. +// Copyright © 2018 Dan Barber. All rights reserved. +// + +import XCTest +@testable import Persephone + +class PersephoneTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // 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/PersephoneUITests/Info.plist b/PersephoneUITests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/PersephoneUITests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/PersephoneUITests/PersephoneUITests.swift b/PersephoneUITests/PersephoneUITests.swift new file mode 100644 index 0000000..2a293ee --- /dev/null +++ b/PersephoneUITests/PersephoneUITests.swift @@ -0,0 +1,36 @@ +// +// PersephoneUITests.swift +// PersephoneUITests +// +// Created by Daniel Barber on 2018/7/31. +// Copyright © 2018 Dan Barber. All rights reserved. +// + +import XCTest + +class PersephoneUITests: XCTestCase { + + override func setUp() { + super.setUp() + + // 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 + // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method. + XCUIApplication().launch() + + // 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 tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // Use recording to get started writing UI tests. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + +}