commit 847b69272a945cffd7a84e9fcd6aa99b17b7e687 Author: Jeena Date: Sun Jun 22 14:13:11 2014 +0200 Initial Commit diff --git a/ScreenshotUpload.xcodeproj/project.pbxproj b/ScreenshotUpload.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f163414 --- /dev/null +++ b/ScreenshotUpload.xcodeproj/project.pbxproj @@ -0,0 +1,414 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1F80F62C1956FFD500925040 /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F80F62B1956FFD500925040 /* main.swift */; }; + 1F80F62E1956FFD500925040 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F80F62D1956FFD500925040 /* AppDelegate.swift */; }; + 1F80F6301956FFD600925040 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 1F80F62F1956FFD600925040 /* Images.xcassets */; }; + 1F80F6331956FFD600925040 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1F80F6311956FFD600925040 /* MainMenu.xib */; }; + 1F80F63F1956FFD600925040 /* ScreenshotUploadTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F80F63E1956FFD600925040 /* ScreenshotUploadTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1F80F6391956FFD600925040 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1F80F61E1956FFD500925040 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1F80F6251956FFD500925040; + remoteInfo = ScreenshotUpload; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1F80F6261956FFD500925040 /* ScreenshotUpload.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ScreenshotUpload.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F80F62A1956FFD500925040 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1F80F62B1956FFD500925040 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = ""; }; + 1F80F62D1956FFD500925040 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 1F80F62F1956FFD600925040 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 1F80F6321956FFD600925040 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 1F80F6381956FFD600925040 /* ScreenshotUploadTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ScreenshotUploadTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 1F80F63D1956FFD600925040 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 1F80F63E1956FFD600925040 /* ScreenshotUploadTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenshotUploadTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1F80F6231956FFD500925040 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F80F6351956FFD600925040 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 1F80F61D1956FFD500925040 = { + isa = PBXGroup; + children = ( + 1F80F6281956FFD500925040 /* ScreenshotUpload */, + 1F80F63B1956FFD600925040 /* ScreenshotUploadTests */, + 1F80F6271956FFD500925040 /* Products */, + ); + sourceTree = ""; + }; + 1F80F6271956FFD500925040 /* Products */ = { + isa = PBXGroup; + children = ( + 1F80F6261956FFD500925040 /* ScreenshotUpload.app */, + 1F80F6381956FFD600925040 /* ScreenshotUploadTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 1F80F6281956FFD500925040 /* ScreenshotUpload */ = { + isa = PBXGroup; + children = ( + 1F80F62D1956FFD500925040 /* AppDelegate.swift */, + 1F80F62F1956FFD600925040 /* Images.xcassets */, + 1F80F6311956FFD600925040 /* MainMenu.xib */, + 1F80F6291956FFD500925040 /* Supporting Files */, + ); + path = ScreenshotUpload; + sourceTree = ""; + }; + 1F80F6291956FFD500925040 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1F80F62A1956FFD500925040 /* Info.plist */, + 1F80F62B1956FFD500925040 /* main.swift */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 1F80F63B1956FFD600925040 /* ScreenshotUploadTests */ = { + isa = PBXGroup; + children = ( + 1F80F63E1956FFD600925040 /* ScreenshotUploadTests.swift */, + 1F80F63C1956FFD600925040 /* Supporting Files */, + ); + path = ScreenshotUploadTests; + sourceTree = ""; + }; + 1F80F63C1956FFD600925040 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 1F80F63D1956FFD600925040 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1F80F6251956FFD500925040 /* ScreenshotUpload */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F80F6421956FFD600925040 /* Build configuration list for PBXNativeTarget "ScreenshotUpload" */; + buildPhases = ( + 1F80F6221956FFD500925040 /* Sources */, + 1F80F6231956FFD500925040 /* Frameworks */, + 1F80F6241956FFD500925040 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = ScreenshotUpload; + productName = ScreenshotUpload; + productReference = 1F80F6261956FFD500925040 /* ScreenshotUpload.app */; + productType = "com.apple.product-type.application"; + }; + 1F80F6371956FFD600925040 /* ScreenshotUploadTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1F80F6451956FFD600925040 /* Build configuration list for PBXNativeTarget "ScreenshotUploadTests" */; + buildPhases = ( + 1F80F6341956FFD600925040 /* Sources */, + 1F80F6351956FFD600925040 /* Frameworks */, + 1F80F6361956FFD600925040 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 1F80F63A1956FFD600925040 /* PBXTargetDependency */, + ); + name = ScreenshotUploadTests; + productName = ScreenshotUploadTests; + productReference = 1F80F6381956FFD600925040 /* ScreenshotUploadTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 1F80F61E1956FFD500925040 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0600; + ORGANIZATIONNAME = "Jabs Nu"; + TargetAttributes = { + 1F80F6251956FFD500925040 = { + CreatedOnToolsVersion = 6.0; + }; + 1F80F6371956FFD600925040 = { + CreatedOnToolsVersion = 6.0; + TestTargetID = 1F80F6251956FFD500925040; + }; + }; + }; + buildConfigurationList = 1F80F6211956FFD500925040 /* Build configuration list for PBXProject "ScreenshotUpload" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 1F80F61D1956FFD500925040; + productRefGroup = 1F80F6271956FFD500925040 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1F80F6251956FFD500925040 /* ScreenshotUpload */, + 1F80F6371956FFD600925040 /* ScreenshotUploadTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1F80F6241956FFD500925040 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F80F6301956FFD600925040 /* Images.xcassets in Resources */, + 1F80F6331956FFD600925040 /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F80F6361956FFD600925040 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1F80F6221956FFD500925040 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F80F62E1956FFD500925040 /* AppDelegate.swift in Sources */, + 1F80F62C1956FFD500925040 /* main.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1F80F6341956FFD600925040 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1F80F63F1956FFD600925040 /* ScreenshotUploadTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1F80F63A1956FFD600925040 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1F80F6251956FFD500925040 /* ScreenshotUpload */; + targetProxy = 1F80F6391956FFD600925040 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 1F80F6311956FFD600925040 /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 1F80F6321956FFD600925040 /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 1F80F6401956FFD600925040 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + 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.9; + METAL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 1F80F6411956FFD600925040 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "-"; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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.9; + METAL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + 1F80F6431956FFD600925040 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = ScreenshotUpload/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 1F80F6441956FFD600925040 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = ScreenshotUpload/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 1F80F6461956FFD600925040 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ScreenshotUpload.app/Contents/MacOS/ScreenshotUpload"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(DEVELOPER_FRAMEWORKS_DIR)", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = ScreenshotUploadTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + METAL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + }; + name = Debug; + }; + 1F80F6471956FFD600925040 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ScreenshotUpload.app/Contents/MacOS/ScreenshotUpload"; + COMBINE_HIDPI_IMAGES = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(DEVELOPER_FRAMEWORKS_DIR)", + "$(inherited)", + ); + INFOPLIST_FILE = ScreenshotUploadTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + METAL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUNDLE_LOADER)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1F80F6211956FFD500925040 /* Build configuration list for PBXProject "ScreenshotUpload" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F80F6401956FFD600925040 /* Debug */, + 1F80F6411956FFD600925040 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 1F80F6421956FFD600925040 /* Build configuration list for PBXNativeTarget "ScreenshotUpload" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F80F6431956FFD600925040 /* Debug */, + 1F80F6441956FFD600925040 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 1F80F6451956FFD600925040 /* Build configuration list for PBXNativeTarget "ScreenshotUploadTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1F80F6461956FFD600925040 /* Debug */, + 1F80F6471956FFD600925040 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 1F80F61E1956FFD500925040 /* Project object */; +} diff --git a/ScreenshotUpload.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ScreenshotUpload.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..a6cf5a9 --- /dev/null +++ b/ScreenshotUpload.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ScreenshotUpload.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/ScreenshotUpload.xcscheme b/ScreenshotUpload.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/ScreenshotUpload.xcscheme new file mode 100644 index 0000000..d2d91ae --- /dev/null +++ b/ScreenshotUpload.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/ScreenshotUpload.xcscheme @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + diff --git a/ScreenshotUpload.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist b/ScreenshotUpload.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b995a5e --- /dev/null +++ b/ScreenshotUpload.xcodeproj/xcuserdata/jeena.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + ScreenshotUpload.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 1F80F6251956FFD500925040 + + primary + + + 1F80F6371956FFD600925040 + + primary + + + + + diff --git a/ScreenshotUpload/AppDelegate.swift b/ScreenshotUpload/AppDelegate.swift new file mode 100644 index 0000000..3fe28d3 --- /dev/null +++ b/ScreenshotUpload/AppDelegate.swift @@ -0,0 +1,26 @@ +// +// AppDelegate.swift +// ScreenshotUpload +// +// Created by Jeena on 2014-06-22. +// Copyright (c) 2014 Jabs Nu. All rights reserved. +// + +import Cocoa + +class AppDelegate: NSObject, NSApplicationDelegate { + + @IBOutlet var window: NSWindow + + + func applicationDidFinishLaunching(aNotification: NSNotification?) { + // Insert code here to initialize your application + } + + func applicationWillTerminate(aNotification: NSNotification?) { + // Insert code here to tear down your application + } + + +} + diff --git a/ScreenshotUpload/Base.lproj/MainMenu.xib b/ScreenshotUpload/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..4afc4d2 --- /dev/null +++ b/ScreenshotUpload/Base.lproj/MainMenu.xib @@ -0,0 +1,680 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ScreenshotUpload/Images.xcassets/AppIcon.appiconset/Contents.json b/ScreenshotUpload/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/ScreenshotUpload/Images.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/ScreenshotUpload/Info.plist b/ScreenshotUpload/Info.plist new file mode 100644 index 0000000..286082e --- /dev/null +++ b/ScreenshotUpload/Info.plist @@ -0,0 +1,34 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + + CFBundleIdentifier + nu.jabs.apps.ScreenshotUpload.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright © 2014 Jabs Nu. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/ScreenshotUpload/main.swift b/ScreenshotUpload/main.swift new file mode 100644 index 0000000..6ec931e --- /dev/null +++ b/ScreenshotUpload/main.swift @@ -0,0 +1,11 @@ +// +// main.swift +// ScreenshotUpload +// +// Created by Jeena on 2014-06-22. +// Copyright (c) 2014 Jabs Nu. All rights reserved. +// + +import Cocoa + +NSApplicationMain(C_ARGC, C_ARGV) diff --git a/ScreenshotUploadTests/Info.plist b/ScreenshotUploadTests/Info.plist new file mode 100644 index 0000000..1e3aa08 --- /dev/null +++ b/ScreenshotUploadTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + nu.jabs.apps.ScreenshotUpload.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/ScreenshotUploadTests/ScreenshotUploadTests.swift b/ScreenshotUploadTests/ScreenshotUploadTests.swift new file mode 100644 index 0000000..d7db92e --- /dev/null +++ b/ScreenshotUploadTests/ScreenshotUploadTests.swift @@ -0,0 +1,35 @@ +// +// ScreenshotUploadTests.swift +// ScreenshotUploadTests +// +// Created by Jeena on 2014-06-22. +// Copyright (c) 2014 Jabs Nu. All rights reserved. +// + +import XCTest + +class ScreenshotUploadTests: 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. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measureBlock() { + // Put the code you want to measure the time of here. + } + } + +}