From 1683d92fa8e80c966e77e0064a77222bba33d14b Mon Sep 17 00:00:00 2001 From: Alasdair Law Date: Sat, 17 Dec 2016 22:08:16 +0000 Subject: [PATCH] Create project --- NetworkOperation.xcodeproj/project.pbxproj | 423 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../xcschemes/NetworkOperation.xcscheme | 100 +++++ .../xcschemes/xcschememanagement.plist | 27 ++ NetworkOperation/Info.plist | 24 + NetworkOperation/NetworkOperation.h | 19 + NetworkOperationTests/Info.plist | 22 + .../NetworkOperationTests.swift | 36 ++ 8 files changed, 658 insertions(+) create mode 100644 NetworkOperation.xcodeproj/project.pbxproj create mode 100644 NetworkOperation.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/NetworkOperation.xcscheme create mode 100644 NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/xcschememanagement.plist create mode 100644 NetworkOperation/Info.plist create mode 100644 NetworkOperation/NetworkOperation.h create mode 100644 NetworkOperationTests/Info.plist create mode 100644 NetworkOperationTests/NetworkOperationTests.swift diff --git a/NetworkOperation.xcodeproj/project.pbxproj b/NetworkOperation.xcodeproj/project.pbxproj new file mode 100644 index 0000000..74d2a76 --- /dev/null +++ b/NetworkOperation.xcodeproj/project.pbxproj @@ -0,0 +1,423 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 818A205F1E05EECF00B835F6 /* NetworkOperation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 818A20551E05EECF00B835F6 /* NetworkOperation.framework */; }; + 818A20641E05EECF00B835F6 /* NetworkOperationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 818A20631E05EECF00B835F6 /* NetworkOperationTests.swift */; }; + 818A20661E05EECF00B835F6 /* NetworkOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 818A20581E05EECF00B835F6 /* NetworkOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 818A20601E05EECF00B835F6 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 818A204C1E05EECF00B835F6 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 818A20541E05EECF00B835F6; + remoteInfo = NetworkOperation; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 818A20551E05EECF00B835F6 /* NetworkOperation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = NetworkOperation.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 818A20581E05EECF00B835F6 /* NetworkOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NetworkOperation.h; sourceTree = ""; }; + 818A20591E05EECF00B835F6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 818A205E1E05EECF00B835F6 /* NetworkOperationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NetworkOperationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 818A20631E05EECF00B835F6 /* NetworkOperationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkOperationTests.swift; sourceTree = ""; }; + 818A20651E05EECF00B835F6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 818A20511E05EECF00B835F6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 818A205B1E05EECF00B835F6 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 818A205F1E05EECF00B835F6 /* NetworkOperation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 818A204B1E05EECF00B835F6 = { + isa = PBXGroup; + children = ( + 818A20571E05EECF00B835F6 /* NetworkOperation */, + 818A20621E05EECF00B835F6 /* NetworkOperationTests */, + 818A20561E05EECF00B835F6 /* Products */, + ); + sourceTree = ""; + }; + 818A20561E05EECF00B835F6 /* Products */ = { + isa = PBXGroup; + children = ( + 818A20551E05EECF00B835F6 /* NetworkOperation.framework */, + 818A205E1E05EECF00B835F6 /* NetworkOperationTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 818A20571E05EECF00B835F6 /* NetworkOperation */ = { + isa = PBXGroup; + children = ( + 818A20581E05EECF00B835F6 /* NetworkOperation.h */, + 818A20591E05EECF00B835F6 /* Info.plist */, + ); + path = NetworkOperation; + sourceTree = ""; + }; + 818A20621E05EECF00B835F6 /* NetworkOperationTests */ = { + isa = PBXGroup; + children = ( + 818A20631E05EECF00B835F6 /* NetworkOperationTests.swift */, + 818A20651E05EECF00B835F6 /* Info.plist */, + ); + path = NetworkOperationTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 818A20521E05EECF00B835F6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 818A20661E05EECF00B835F6 /* NetworkOperation.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 818A20541E05EECF00B835F6 /* NetworkOperation */ = { + isa = PBXNativeTarget; + buildConfigurationList = 818A20691E05EECF00B835F6 /* Build configuration list for PBXNativeTarget "NetworkOperation" */; + buildPhases = ( + 818A20501E05EECF00B835F6 /* Sources */, + 818A20511E05EECF00B835F6 /* Frameworks */, + 818A20521E05EECF00B835F6 /* Headers */, + 818A20531E05EECF00B835F6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = NetworkOperation; + productName = NetworkOperation; + productReference = 818A20551E05EECF00B835F6 /* NetworkOperation.framework */; + productType = "com.apple.product-type.framework"; + }; + 818A205D1E05EECF00B835F6 /* NetworkOperationTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 818A206C1E05EECF00B835F6 /* Build configuration list for PBXNativeTarget "NetworkOperationTests" */; + buildPhases = ( + 818A205A1E05EECF00B835F6 /* Sources */, + 818A205B1E05EECF00B835F6 /* Frameworks */, + 818A205C1E05EECF00B835F6 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 818A20611E05EECF00B835F6 /* PBXTargetDependency */, + ); + name = NetworkOperationTests; + productName = NetworkOperationTests; + productReference = 818A205E1E05EECF00B835F6 /* NetworkOperationTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 818A204C1E05EECF00B835F6 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0820; + LastUpgradeCheck = 0820; + ORGANIZATIONNAME = "Alasdair Law"; + TargetAttributes = { + 818A20541E05EECF00B835F6 = { + CreatedOnToolsVersion = 8.2; + DevelopmentTeam = 59KHF7ER3M; + LastSwiftMigration = 0820; + ProvisioningStyle = Manual; + }; + 818A205D1E05EECF00B835F6 = { + CreatedOnToolsVersion = 8.2; + DevelopmentTeam = 59KHF7ER3M; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 818A204F1E05EECF00B835F6 /* Build configuration list for PBXProject "NetworkOperation" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 818A204B1E05EECF00B835F6; + productRefGroup = 818A20561E05EECF00B835F6 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 818A20541E05EECF00B835F6 /* NetworkOperation */, + 818A205D1E05EECF00B835F6 /* NetworkOperationTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 818A20531E05EECF00B835F6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 818A205C1E05EECF00B835F6 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 818A20501E05EECF00B835F6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 818A205A1E05EECF00B835F6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 818A20641E05EECF00B835F6 /* NetworkOperationTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 818A20611E05EECF00B835F6 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 818A20541E05EECF00B835F6 /* NetworkOperation */; + targetProxy = 818A20601E05EECF00B835F6 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 818A20671E05EECF00B835F6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_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_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 818A20681E05EECF00B835F6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + 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_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_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 10.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 818A206A1E05EECF00B835F6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = NetworkOperation/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.alasdairlaw.NetworkOperation; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 818A206B1E05EECF00B835F6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + DEFINES_MODULE = YES; + DEVELOPMENT_TEAM = ""; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = NetworkOperation/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.alasdairlaw.NetworkOperation; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; + 818A206D1E05EECF00B835F6 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + DEVELOPMENT_TEAM = 59KHF7ER3M; + INFOPLIST_FILE = NetworkOperationTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.alasdairlaw.NetworkOperationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 818A206E1E05EECF00B835F6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + DEVELOPMENT_TEAM = 59KHF7ER3M; + INFOPLIST_FILE = NetworkOperationTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.alasdairlaw.NetworkOperationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 818A204F1E05EECF00B835F6 /* Build configuration list for PBXProject "NetworkOperation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 818A20671E05EECF00B835F6 /* Debug */, + 818A20681E05EECF00B835F6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 818A20691E05EECF00B835F6 /* Build configuration list for PBXNativeTarget "NetworkOperation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 818A206A1E05EECF00B835F6 /* Debug */, + 818A206B1E05EECF00B835F6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 818A206C1E05EECF00B835F6 /* Build configuration list for PBXNativeTarget "NetworkOperationTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 818A206D1E05EECF00B835F6 /* Debug */, + 818A206E1E05EECF00B835F6 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 818A204C1E05EECF00B835F6 /* Project object */; +} diff --git a/NetworkOperation.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/NetworkOperation.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..b2ace7a --- /dev/null +++ b/NetworkOperation.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/NetworkOperation.xcscheme b/NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/NetworkOperation.xcscheme new file mode 100644 index 0000000..a0d1586 --- /dev/null +++ b/NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/NetworkOperation.xcscheme @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/xcschememanagement.plist b/NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..21b9b7a --- /dev/null +++ b/NetworkOperation.xcodeproj/xcuserdata/alasdairlaw.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + NetworkOperation.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 818A20541E05EECF00B835F6 + + primary + + + 818A205D1E05EECF00B835F6 + + primary + + + + + diff --git a/NetworkOperation/Info.plist b/NetworkOperation/Info.plist new file mode 100644 index 0000000..fbe1e6b --- /dev/null +++ b/NetworkOperation/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/NetworkOperation/NetworkOperation.h b/NetworkOperation/NetworkOperation.h new file mode 100644 index 0000000..b783733 --- /dev/null +++ b/NetworkOperation/NetworkOperation.h @@ -0,0 +1,19 @@ +// +// NetworkOperation.h +// NetworkOperation +// +// Created by Alasdair Law on 17/12/2016. +// Copyright © 2016 Alasdair Law. All rights reserved. +// + +#import + +//! Project version number for NetworkOperation. +FOUNDATION_EXPORT double NetworkOperationVersionNumber; + +//! Project version string for NetworkOperation. +FOUNDATION_EXPORT const unsigned char NetworkOperationVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/NetworkOperationTests/Info.plist b/NetworkOperationTests/Info.plist new file mode 100644 index 0000000..6c6c23c --- /dev/null +++ b/NetworkOperationTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/NetworkOperationTests/NetworkOperationTests.swift b/NetworkOperationTests/NetworkOperationTests.swift new file mode 100644 index 0000000..e2cf318 --- /dev/null +++ b/NetworkOperationTests/NetworkOperationTests.swift @@ -0,0 +1,36 @@ +// +// NetworkOperationTests.swift +// NetworkOperationTests +// +// Created by Alasdair Law on 17/12/2016. +// Copyright © 2016 Alasdair Law. All rights reserved. +// + +import XCTest +@testable import NetworkOperation + +class NetworkOperationTests: 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. + } + } + +}