diff --git a/Zip.xcodeproj/project.pbxproj b/Zip.xcodeproj/project.pbxproj new file mode 100644 index 0000000000000000000000000000000000000000..6eff4973c25ec024c38af04eee3a4b1181367a97 --- /dev/null +++ b/Zip.xcodeproj/project.pbxproj @@ -0,0 +1,391 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 347E3A781C1DFFB500A11FD3 /* Zip.h in Headers */ = {isa = PBXBuildFile; fileRef = 347E3A771C1DFFB500A11FD3 /* Zip.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 347E3A7F1C1DFFB500A11FD3 /* Zip.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 347E3A741C1DFFB500A11FD3 /* Zip.framework */; }; + 347E3A841C1DFFB500A11FD3 /* ZipTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 347E3A831C1DFFB500A11FD3 /* ZipTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 347E3A801C1DFFB500A11FD3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 347E3A6B1C1DFFB500A11FD3 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 347E3A731C1DFFB500A11FD3; + remoteInfo = Zip; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 347E3A741C1DFFB500A11FD3 /* Zip.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Zip.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 347E3A771C1DFFB500A11FD3 /* Zip.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Zip.h; sourceTree = ""; }; + 347E3A791C1DFFB500A11FD3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 347E3A7E1C1DFFB500A11FD3 /* ZipTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ZipTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 347E3A831C1DFFB500A11FD3 /* ZipTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ZipTests.swift; sourceTree = ""; }; + 347E3A851C1DFFB500A11FD3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 347E3A701C1DFFB500A11FD3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 347E3A7B1C1DFFB500A11FD3 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 347E3A7F1C1DFFB500A11FD3 /* Zip.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 347E3A6A1C1DFFB500A11FD3 = { + isa = PBXGroup; + children = ( + 347E3A761C1DFFB500A11FD3 /* Zip */, + 347E3A821C1DFFB500A11FD3 /* ZipTests */, + 347E3A751C1DFFB500A11FD3 /* Products */, + ); + sourceTree = ""; + }; + 347E3A751C1DFFB500A11FD3 /* Products */ = { + isa = PBXGroup; + children = ( + 347E3A741C1DFFB500A11FD3 /* Zip.framework */, + 347E3A7E1C1DFFB500A11FD3 /* ZipTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 347E3A761C1DFFB500A11FD3 /* Zip */ = { + isa = PBXGroup; + children = ( + 347E3A771C1DFFB500A11FD3 /* Zip.h */, + 347E3A791C1DFFB500A11FD3 /* Info.plist */, + ); + path = Zip; + sourceTree = ""; + }; + 347E3A821C1DFFB500A11FD3 /* ZipTests */ = { + isa = PBXGroup; + children = ( + 347E3A831C1DFFB500A11FD3 /* ZipTests.swift */, + 347E3A851C1DFFB500A11FD3 /* Info.plist */, + ); + path = ZipTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 347E3A711C1DFFB500A11FD3 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 347E3A781C1DFFB500A11FD3 /* Zip.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 347E3A731C1DFFB500A11FD3 /* Zip */ = { + isa = PBXNativeTarget; + buildConfigurationList = 347E3A881C1DFFB500A11FD3 /* Build configuration list for PBXNativeTarget "Zip" */; + buildPhases = ( + 347E3A6F1C1DFFB500A11FD3 /* Sources */, + 347E3A701C1DFFB500A11FD3 /* Frameworks */, + 347E3A711C1DFFB500A11FD3 /* Headers */, + 347E3A721C1DFFB500A11FD3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Zip; + productName = Zip; + productReference = 347E3A741C1DFFB500A11FD3 /* Zip.framework */; + productType = "com.apple.product-type.framework"; + }; + 347E3A7D1C1DFFB500A11FD3 /* ZipTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 347E3A8B1C1DFFB500A11FD3 /* Build configuration list for PBXNativeTarget "ZipTests" */; + buildPhases = ( + 347E3A7A1C1DFFB500A11FD3 /* Sources */, + 347E3A7B1C1DFFB500A11FD3 /* Frameworks */, + 347E3A7C1C1DFFB500A11FD3 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 347E3A811C1DFFB500A11FD3 /* PBXTargetDependency */, + ); + name = ZipTests; + productName = ZipTests; + productReference = 347E3A7E1C1DFFB500A11FD3 /* ZipTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 347E3A6B1C1DFFB500A11FD3 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = "Roy Marmelstein"; + TargetAttributes = { + 347E3A731C1DFFB500A11FD3 = { + CreatedOnToolsVersion = 7.2; + }; + 347E3A7D1C1DFFB500A11FD3 = { + CreatedOnToolsVersion = 7.2; + }; + }; + }; + buildConfigurationList = 347E3A6E1C1DFFB500A11FD3 /* Build configuration list for PBXProject "Zip" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 347E3A6A1C1DFFB500A11FD3; + productRefGroup = 347E3A751C1DFFB500A11FD3 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 347E3A731C1DFFB500A11FD3 /* Zip */, + 347E3A7D1C1DFFB500A11FD3 /* ZipTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 347E3A721C1DFFB500A11FD3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 347E3A7C1C1DFFB500A11FD3 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 347E3A6F1C1DFFB500A11FD3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 347E3A7A1C1DFFB500A11FD3 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 347E3A841C1DFFB500A11FD3 /* ZipTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 347E3A811C1DFFB500A11FD3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 347E3A731C1DFFB500A11FD3 /* Zip */; + targetProxy = 347E3A801C1DFFB500A11FD3 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 347E3A861C1DFFB500A11FD3 /* 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[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 = 9.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 347E3A871C1DFFB500A11FD3 /* 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[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 = 9.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 347E3A891C1DFFB500A11FD3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Zip/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.Zip; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 347E3A8A1C1DFFB500A11FD3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Zip/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.Zip; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; + 347E3A8C1C1DFFB500A11FD3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = ZipTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.ZipTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 347E3A8D1C1DFFB500A11FD3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INFOPLIST_FILE = ZipTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.roymarmelstein.ZipTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 347E3A6E1C1DFFB500A11FD3 /* Build configuration list for PBXProject "Zip" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 347E3A861C1DFFB500A11FD3 /* Debug */, + 347E3A871C1DFFB500A11FD3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 347E3A881C1DFFB500A11FD3 /* Build configuration list for PBXNativeTarget "Zip" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 347E3A891C1DFFB500A11FD3 /* Debug */, + 347E3A8A1C1DFFB500A11FD3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 347E3A8B1C1DFFB500A11FD3 /* Build configuration list for PBXNativeTarget "ZipTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 347E3A8C1C1DFFB500A11FD3 /* Debug */, + 347E3A8D1C1DFFB500A11FD3 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 347E3A6B1C1DFFB500A11FD3 /* Project object */; +} diff --git a/Zip.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Zip.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000000000000000000000000000000000..567bc50f5177380915c650462b60acc80dbeaf56 --- /dev/null +++ b/Zip.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Zip/Info.plist b/Zip/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..d3de8eefb69556c5bf61c107232e095548dc387c --- /dev/null +++ b/Zip/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/Zip/Zip.h b/Zip/Zip.h new file mode 100644 index 0000000000000000000000000000000000000000..65420c770a76e087ec4cef0175efecc08186ce5e --- /dev/null +++ b/Zip/Zip.h @@ -0,0 +1,19 @@ +// +// Zip.h +// Zip +// +// Created by Roy Marmelstein on 13/12/2015. +// Copyright © 2015 Roy Marmelstein. All rights reserved. +// + +#import + +//! Project version number for Zip. +FOUNDATION_EXPORT double ZipVersionNumber; + +//! Project version string for Zip. +FOUNDATION_EXPORT const unsigned char ZipVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/ZipTests/Info.plist b/ZipTests/Info.plist new file mode 100644 index 0000000000000000000000000000000000000000..ba72822e8728ef2951005e49b6c27a2f1da6572d --- /dev/null +++ b/ZipTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/ZipTests/ZipTests.swift b/ZipTests/ZipTests.swift new file mode 100644 index 0000000000000000000000000000000000000000..f3a1876aff2b7943e3b533e41fcfa2831ac05b15 --- /dev/null +++ b/ZipTests/ZipTests.swift @@ -0,0 +1,36 @@ +// +// ZipTests.swift +// ZipTests +// +// Created by Roy Marmelstein on 13/12/2015. +// Copyright © 2015 Roy Marmelstein. All rights reserved. +// + +import XCTest +@testable import Zip + +class ZipTests: 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.measureBlock { + // Put the code you want to measure the time of here. + } + } + +}