From 25bc4a189f4fe21367fd8179d09455484b660a0c Mon Sep 17 00:00:00 2001 From: John Rommel Estropia Date: Sun, 14 Sep 2014 21:51:40 +0900 Subject: [PATCH] Initial Commit --- HardcoreData.xcodeproj/project.pbxproj | 389 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + HardcoreData/HardcoreData.h | 19 + HardcoreData/Info.plist | 26 ++ HardcoreDataTests/HardcoreDataTests.swift | 36 ++ HardcoreDataTests/Info.plist | 24 ++ 6 files changed, 501 insertions(+) create mode 100644 HardcoreData.xcodeproj/project.pbxproj create mode 100644 HardcoreData.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 HardcoreData/HardcoreData.h create mode 100644 HardcoreData/Info.plist create mode 100644 HardcoreDataTests/HardcoreDataTests.swift create mode 100644 HardcoreDataTests/Info.plist diff --git a/HardcoreData.xcodeproj/project.pbxproj b/HardcoreData.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2dd1793 --- /dev/null +++ b/HardcoreData.xcodeproj/project.pbxproj @@ -0,0 +1,389 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 2F03A53619C5C6DA005002A5 /* HardcoreData.h in Headers */ = {isa = PBXBuildFile; fileRef = 2F03A53519C5C6DA005002A5 /* HardcoreData.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2F03A54019C5C6DA005002A5 /* HardcoreDataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F03A53F19C5C6DA005002A5 /* HardcoreDataTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 2F03A53019C5C6DA005002A5 /* HardcoreData.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = HardcoreData.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F03A53419C5C6DA005002A5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2F03A53519C5C6DA005002A5 /* HardcoreData.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = HardcoreData.h; sourceTree = ""; }; + 2F03A53B19C5C6DA005002A5 /* HardcoreDataTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HardcoreDataTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 2F03A53E19C5C6DA005002A5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2F03A53F19C5C6DA005002A5 /* HardcoreDataTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HardcoreDataTests.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 2F03A52C19C5C6DA005002A5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F03A53819C5C6DA005002A5 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 2F03A52619C5C6DA005002A5 = { + isa = PBXGroup; + children = ( + 2F03A53219C5C6DA005002A5 /* HardcoreData */, + 2F03A53C19C5C6DA005002A5 /* HardcoreDataTests */, + 2F03A53119C5C6DA005002A5 /* Products */, + ); + sourceTree = ""; + }; + 2F03A53119C5C6DA005002A5 /* Products */ = { + isa = PBXGroup; + children = ( + 2F03A53019C5C6DA005002A5 /* HardcoreData.framework */, + 2F03A53B19C5C6DA005002A5 /* HardcoreDataTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 2F03A53219C5C6DA005002A5 /* HardcoreData */ = { + isa = PBXGroup; + children = ( + 2F03A53519C5C6DA005002A5 /* HardcoreData.h */, + 2F03A53319C5C6DA005002A5 /* Supporting Files */, + ); + path = HardcoreData; + sourceTree = ""; + }; + 2F03A53319C5C6DA005002A5 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 2F03A53419C5C6DA005002A5 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 2F03A53C19C5C6DA005002A5 /* HardcoreDataTests */ = { + isa = PBXGroup; + children = ( + 2F03A53F19C5C6DA005002A5 /* HardcoreDataTests.swift */, + 2F03A53D19C5C6DA005002A5 /* Supporting Files */, + ); + path = HardcoreDataTests; + sourceTree = ""; + }; + 2F03A53D19C5C6DA005002A5 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 2F03A53E19C5C6DA005002A5 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 2F03A52D19C5C6DA005002A5 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2F03A53619C5C6DA005002A5 /* HardcoreData.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 2F03A52F19C5C6DA005002A5 /* HardcoreData */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F03A54319C5C6DA005002A5 /* Build configuration list for PBXNativeTarget "HardcoreData" */; + buildPhases = ( + 2F03A52B19C5C6DA005002A5 /* Sources */, + 2F03A52C19C5C6DA005002A5 /* Frameworks */, + 2F03A52D19C5C6DA005002A5 /* Headers */, + 2F03A52E19C5C6DA005002A5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = HardcoreData; + productName = HardcoreData; + productReference = 2F03A53019C5C6DA005002A5 /* HardcoreData.framework */; + productType = "com.apple.product-type.framework"; + }; + 2F03A53A19C5C6DA005002A5 /* HardcoreDataTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2F03A54619C5C6DA005002A5 /* Build configuration list for PBXNativeTarget "HardcoreDataTests" */; + buildPhases = ( + 2F03A53719C5C6DA005002A5 /* Sources */, + 2F03A53819C5C6DA005002A5 /* Frameworks */, + 2F03A53919C5C6DA005002A5 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = HardcoreDataTests; + productName = HardcoreDataTests; + productReference = 2F03A53B19C5C6DA005002A5 /* HardcoreDataTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 2F03A52719C5C6DA005002A5 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0600; + ORGANIZATIONNAME = "John Rommel Estropia"; + TargetAttributes = { + 2F03A52F19C5C6DA005002A5 = { + CreatedOnToolsVersion = 6.0; + }; + 2F03A53A19C5C6DA005002A5 = { + CreatedOnToolsVersion = 6.0; + }; + }; + }; + buildConfigurationList = 2F03A52A19C5C6DA005002A5 /* Build configuration list for PBXProject "HardcoreData" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 2F03A52619C5C6DA005002A5; + productRefGroup = 2F03A53119C5C6DA005002A5 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 2F03A52F19C5C6DA005002A5 /* HardcoreData */, + 2F03A53A19C5C6DA005002A5 /* HardcoreDataTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 2F03A52E19C5C6DA005002A5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F03A53919C5C6DA005002A5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 2F03A52B19C5C6DA005002A5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F03A53719C5C6DA005002A5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2F03A54019C5C6DA005002A5 /* HardcoreDataTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 2F03A54119C5C6DA005002A5 /* 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; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + 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; + }; + 2F03A54219C5C6DA005002A5 /* 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 = YES; + CURRENT_PROJECT_VERSION = 1; + 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; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 2F03A54419C5C6DA005002A5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = HardcoreData/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + 2F03A54519C5C6DA005002A5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = HardcoreData/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; + 2F03A54719C5C6DA005002A5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = HardcoreDataTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 2F03A54819C5C6DA005002A5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + ); + INFOPLIST_FILE = HardcoreDataTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2F03A52A19C5C6DA005002A5 /* Build configuration list for PBXProject "HardcoreData" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F03A54119C5C6DA005002A5 /* Debug */, + 2F03A54219C5C6DA005002A5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2F03A54319C5C6DA005002A5 /* Build configuration list for PBXNativeTarget "HardcoreData" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F03A54419C5C6DA005002A5 /* Debug */, + 2F03A54519C5C6DA005002A5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; + 2F03A54619C5C6DA005002A5 /* Build configuration list for PBXNativeTarget "HardcoreDataTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2F03A54719C5C6DA005002A5 /* Debug */, + 2F03A54819C5C6DA005002A5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 2F03A52719C5C6DA005002A5 /* Project object */; +} diff --git a/HardcoreData.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/HardcoreData.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..3088d79 --- /dev/null +++ b/HardcoreData.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/HardcoreData/HardcoreData.h b/HardcoreData/HardcoreData.h new file mode 100644 index 0000000..ff40fa9 --- /dev/null +++ b/HardcoreData/HardcoreData.h @@ -0,0 +1,19 @@ +// +// HardcoreData.h +// HardcoreData +// +// Created by John Rommel Estropia on 2014/09/14. +// Copyright (c) 2014 John Rommel Estropia. All rights reserved. +// + +#import + +//! Project version number for HardcoreData. +FOUNDATION_EXPORT double HardcoreDataVersionNumber; + +//! Project version string for HardcoreData. +FOUNDATION_EXPORT const unsigned char HardcoreDataVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + diff --git a/HardcoreData/Info.plist b/HardcoreData/Info.plist new file mode 100644 index 0000000..a1e6cc8 --- /dev/null +++ b/HardcoreData/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.johnestropia.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/HardcoreDataTests/HardcoreDataTests.swift b/HardcoreDataTests/HardcoreDataTests.swift new file mode 100644 index 0000000..bb2a99a --- /dev/null +++ b/HardcoreDataTests/HardcoreDataTests.swift @@ -0,0 +1,36 @@ +// +// HardcoreDataTests.swift +// HardcoreDataTests +// +// Created by John Rommel Estropia on 2014/09/14. +// Copyright (c) 2014 John Rommel Estropia. All rights reserved. +// + +import UIKit +import XCTest + +class HardcoreDataTests: 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. + } + } + +} diff --git a/HardcoreDataTests/Info.plist b/HardcoreDataTests/Info.plist new file mode 100644 index 0000000..e047843 --- /dev/null +++ b/HardcoreDataTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.johnestropia.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + +