From e4a34c3b6b5ad10d94c4824e487b114ce8c286ca Mon Sep 17 00:00:00 2001 From: Francisco Amado Date: Mon, 24 Sep 2018 12:10:31 +0100 Subject: [PATCH] Initial Commit --- Sortify.xcodeproj/project.pbxproj | 461 +++++++++++ .../contents.xcworkspacedata | 7 + .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcschemes/xcschememanagement.plist | 14 + Sortify/AppDelegate.swift | 26 + .../AppIcon.appiconset/Contents.json | 58 ++ Sortify/Assets.xcassets/Contents.json | 6 + Sortify/Base.lproj/Main.storyboard | 717 ++++++++++++++++++ Sortify/Info.plist | 32 + Sortify/Sortify.entitlements | 10 + Sortify/ViewController.swift | 27 + SortifyTests/Info.plist | 22 + SortifyTests/SortifyTests.swift | 34 + 13 files changed, 1422 insertions(+) create mode 100644 Sortify.xcodeproj/project.pbxproj create mode 100644 Sortify.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Sortify.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Sortify.xcodeproj/xcuserdata/francisco.amado.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 Sortify/AppDelegate.swift create mode 100644 Sortify/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Sortify/Assets.xcassets/Contents.json create mode 100644 Sortify/Base.lproj/Main.storyboard create mode 100644 Sortify/Info.plist create mode 100644 Sortify/Sortify.entitlements create mode 100644 Sortify/ViewController.swift create mode 100644 SortifyTests/Info.plist create mode 100644 SortifyTests/SortifyTests.swift diff --git a/Sortify.xcodeproj/project.pbxproj b/Sortify.xcodeproj/project.pbxproj new file mode 100644 index 0000000..adb24fc --- /dev/null +++ b/Sortify.xcodeproj/project.pbxproj @@ -0,0 +1,461 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 50; + objects = { + +/* Begin PBXBuildFile section */ + 6BB8786F2158FDA1009C3B2B /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BB8786E2158FDA1009C3B2B /* AppDelegate.swift */; }; + 6BB878712158FDA1009C3B2B /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BB878702158FDA1009C3B2B /* ViewController.swift */; }; + 6BB878732158FDA2009C3B2B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6BB878722158FDA2009C3B2B /* Assets.xcassets */; }; + 6BB878762158FDA2009C3B2B /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6BB878742158FDA2009C3B2B /* Main.storyboard */; }; + 6BB878822158FDA3009C3B2B /* SortifyTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BB878812158FDA3009C3B2B /* SortifyTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 6BB8787E2158FDA3009C3B2B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6BB878632158FDA1009C3B2B /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6BB8786A2158FDA1009C3B2B; + remoteInfo = Sortify; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 6BB8786B2158FDA1009C3B2B /* Sortify.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sortify.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 6BB8786E2158FDA1009C3B2B /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 6BB878702158FDA1009C3B2B /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 6BB878722158FDA2009C3B2B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 6BB878752158FDA2009C3B2B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 6BB878772158FDA2009C3B2B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6BB878782158FDA2009C3B2B /* Sortify.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Sortify.entitlements; sourceTree = ""; }; + 6BB8787D2158FDA3009C3B2B /* SortifyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SortifyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 6BB878812158FDA3009C3B2B /* SortifyTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SortifyTests.swift; sourceTree = ""; }; + 6BB878832158FDA3009C3B2B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 6BB878682158FDA1009C3B2B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6BB8787A2158FDA3009C3B2B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 6BB878622158FDA0009C3B2B = { + isa = PBXGroup; + children = ( + 6BB8786D2158FDA1009C3B2B /* Sortify */, + 6BB878802158FDA3009C3B2B /* SortifyTests */, + 6BB8786C2158FDA1009C3B2B /* Products */, + ); + sourceTree = ""; + }; + 6BB8786C2158FDA1009C3B2B /* Products */ = { + isa = PBXGroup; + children = ( + 6BB8786B2158FDA1009C3B2B /* Sortify.app */, + 6BB8787D2158FDA3009C3B2B /* SortifyTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 6BB8786D2158FDA1009C3B2B /* Sortify */ = { + isa = PBXGroup; + children = ( + 6BB8786E2158FDA1009C3B2B /* AppDelegate.swift */, + 6BB878702158FDA1009C3B2B /* ViewController.swift */, + 6BB878722158FDA2009C3B2B /* Assets.xcassets */, + 6BB878742158FDA2009C3B2B /* Main.storyboard */, + 6BB878772158FDA2009C3B2B /* Info.plist */, + 6BB878782158FDA2009C3B2B /* Sortify.entitlements */, + ); + path = Sortify; + sourceTree = ""; + }; + 6BB878802158FDA3009C3B2B /* SortifyTests */ = { + isa = PBXGroup; + children = ( + 6BB878812158FDA3009C3B2B /* SortifyTests.swift */, + 6BB878832158FDA3009C3B2B /* Info.plist */, + ); + path = SortifyTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 6BB8786A2158FDA1009C3B2B /* Sortify */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6BB878862158FDA3009C3B2B /* Build configuration list for PBXNativeTarget "Sortify" */; + buildPhases = ( + 6BB878672158FDA1009C3B2B /* Sources */, + 6BB878682158FDA1009C3B2B /* Frameworks */, + 6BB878692158FDA1009C3B2B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Sortify; + productName = Sortify; + productReference = 6BB8786B2158FDA1009C3B2B /* Sortify.app */; + productType = "com.apple.product-type.application"; + }; + 6BB8787C2158FDA3009C3B2B /* SortifyTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6BB878892158FDA3009C3B2B /* Build configuration list for PBXNativeTarget "SortifyTests" */; + buildPhases = ( + 6BB878792158FDA3009C3B2B /* Sources */, + 6BB8787A2158FDA3009C3B2B /* Frameworks */, + 6BB8787B2158FDA3009C3B2B /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 6BB8787F2158FDA3009C3B2B /* PBXTargetDependency */, + ); + name = SortifyTests; + productName = SortifyTests; + productReference = 6BB8787D2158FDA3009C3B2B /* SortifyTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 6BB878632158FDA1009C3B2B /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 1000; + LastUpgradeCheck = 1000; + ORGANIZATIONNAME = franciscoamado; + TargetAttributes = { + 6BB8786A2158FDA1009C3B2B = { + CreatedOnToolsVersion = 10.0; + }; + 6BB8787C2158FDA3009C3B2B = { + CreatedOnToolsVersion = 10.0; + TestTargetID = 6BB8786A2158FDA1009C3B2B; + }; + }; + }; + buildConfigurationList = 6BB878662158FDA1009C3B2B /* Build configuration list for PBXProject "Sortify" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 6BB878622158FDA0009C3B2B; + productRefGroup = 6BB8786C2158FDA1009C3B2B /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 6BB8786A2158FDA1009C3B2B /* Sortify */, + 6BB8787C2158FDA3009C3B2B /* SortifyTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 6BB878692158FDA1009C3B2B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6BB878732158FDA2009C3B2B /* Assets.xcassets in Resources */, + 6BB878762158FDA2009C3B2B /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6BB8787B2158FDA3009C3B2B /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 6BB878672158FDA1009C3B2B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6BB878712158FDA1009C3B2B /* ViewController.swift in Sources */, + 6BB8786F2158FDA1009C3B2B /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6BB878792158FDA3009C3B2B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6BB878822158FDA3009C3B2B /* SortifyTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6BB8787F2158FDA3009C3B2B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6BB8786A2158FDA1009C3B2B /* Sortify */; + targetProxy = 6BB8787E2158FDA3009C3B2B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 6BB878742158FDA2009C3B2B /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 6BB878752158FDA2009C3B2B /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 6BB878842158FDA3009C3B2B /* 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 = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 6BB878852158FDA3009C3B2B /* 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; + MTL_FAST_MATH = YES; + SDKROOT = macosx; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + }; + name = Release; + }; + 6BB878872158FDA3009C3B2B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Sortify/Sortify.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 5SKY58ZP6K; + INFOPLIST_FILE = Sortify/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.franciscoamado.Sortify; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + }; + name = Debug; + }; + 6BB878882158FDA3009C3B2B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_ENTITLEMENTS = Sortify/Sortify.entitlements; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 5SKY58ZP6K; + INFOPLIST_FILE = Sortify/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.franciscoamado.Sortify; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + }; + name = Release; + }; + 6BB8788A2158FDA3009C3B2B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 5SKY58ZP6K; + INFOPLIST_FILE = SortifyTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.franciscoamado.SortifyTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Sortify.app/Contents/MacOS/Sortify"; + }; + name = Debug; + }; + 6BB8788B2158FDA3009C3B2B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + DEVELOPMENT_TEAM = 5SKY58ZP6K; + INFOPLIST_FILE = SortifyTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/../Frameworks", + "@loader_path/../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.franciscoamado.SortifyTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.2; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Sortify.app/Contents/MacOS/Sortify"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 6BB878662158FDA1009C3B2B /* Build configuration list for PBXProject "Sortify" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6BB878842158FDA3009C3B2B /* Debug */, + 6BB878852158FDA3009C3B2B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6BB878862158FDA3009C3B2B /* Build configuration list for PBXNativeTarget "Sortify" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6BB878872158FDA3009C3B2B /* Debug */, + 6BB878882158FDA3009C3B2B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6BB878892158FDA3009C3B2B /* Build configuration list for PBXNativeTarget "SortifyTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6BB8788A2158FDA3009C3B2B /* Debug */, + 6BB8788B2158FDA3009C3B2B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 6BB878632158FDA1009C3B2B /* Project object */; +} diff --git a/Sortify.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Sortify.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..e44b5fd --- /dev/null +++ b/Sortify.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Sortify.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Sortify.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Sortify.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Sortify.xcodeproj/xcuserdata/francisco.amado.xcuserdatad/xcschemes/xcschememanagement.plist b/Sortify.xcodeproj/xcuserdata/francisco.amado.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..ae69e24 --- /dev/null +++ b/Sortify.xcodeproj/xcuserdata/francisco.amado.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,14 @@ + + + + + SchemeUserState + + Sortify.xcscheme + + orderHint + 0 + + + + diff --git a/Sortify/AppDelegate.swift b/Sortify/AppDelegate.swift new file mode 100644 index 0000000..29686b1 --- /dev/null +++ b/Sortify/AppDelegate.swift @@ -0,0 +1,26 @@ +// +// AppDelegate.swift +// Sortify +// +// Created by Francisco Amado on 24/09/2018. +// Copyright © 2018 franciscoamado. 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/Sortify/Assets.xcassets/AppIcon.appiconset/Contents.json b/Sortify/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/Sortify/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/Sortify/Assets.xcassets/Contents.json b/Sortify/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/Sortify/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Sortify/Base.lproj/Main.storyboard b/Sortify/Base.lproj/Main.storyboard new file mode 100644 index 0000000..a83f440 --- /dev/null +++ b/Sortify/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/Sortify/Info.plist b/Sortify/Info.plist new file mode 100644 index 0000000..69e4d2f --- /dev/null +++ b/Sortify/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 franciscoamado. All rights reserved. + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + + diff --git a/Sortify/Sortify.entitlements b/Sortify/Sortify.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/Sortify/Sortify.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/Sortify/ViewController.swift b/Sortify/ViewController.swift new file mode 100644 index 0000000..bda328c --- /dev/null +++ b/Sortify/ViewController.swift @@ -0,0 +1,27 @@ +// +// ViewController.swift +// Sortify +// +// Created by Francisco Amado on 24/09/2018. +// Copyright © 2018 franciscoamado. 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/SortifyTests/Info.plist b/SortifyTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/SortifyTests/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/SortifyTests/SortifyTests.swift b/SortifyTests/SortifyTests.swift new file mode 100644 index 0000000..f96e04d --- /dev/null +++ b/SortifyTests/SortifyTests.swift @@ -0,0 +1,34 @@ +// +// SortifyTests.swift +// SortifyTests +// +// Created by Francisco Amado on 24/09/2018. +// Copyright © 2018 franciscoamado. All rights reserved. +// + +import XCTest +@testable import Sortify + +class SortifyTests: XCTestCase { + + override func 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. + } + + 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. + } + } + +}