diff --git a/AutoCoding.xcodeproj/project.pbxproj b/AutoCoding.xcodeproj/project.pbxproj new file mode 100644 index 0000000..306a7a7 --- /dev/null +++ b/AutoCoding.xcodeproj/project.pbxproj @@ -0,0 +1,600 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + C143DEF11D631061000345FC /* AutoCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = C143DEF01D631061000345FC /* AutoCoding.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C143DEFB1D6310B4000345FC /* AutoCoding.m in Sources */ = {isa = PBXBuildFile; fileRef = C143DEFA1D6310B4000345FC /* AutoCoding.m */; }; + C143DF231D631447000345FC /* AutoCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = C143DEF01D631061000345FC /* AutoCoding.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C143DF2D1D6314BB000345FC /* AutoCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = C143DEF01D631061000345FC /* AutoCoding.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C143DF2E1D6314BC000345FC /* AutoCoding.h in Headers */ = {isa = PBXBuildFile; fileRef = C143DEF01D631061000345FC /* AutoCoding.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + C143DEED1D631061000345FC /* AutoCoding.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AutoCoding.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C143DEF01D631061000345FC /* AutoCoding.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AutoCoding.h; sourceTree = ""; }; + C143DEFA1D6310B4000345FC /* AutoCoding.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AutoCoding.m; sourceTree = ""; }; + C143DF011D631398000345FC /* AutoCoding.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AutoCoding.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C143DF0E1D6313A9000345FC /* AutoCoding.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AutoCoding.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C143DF1B1D6313B6000345FC /* AutoCoding.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AutoCoding.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C143DF281D63149D000345FC /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + C143DEE91D631061000345FC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DEFD1D631398000345FC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF0A1D6313A9000345FC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF171D6313B6000345FC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + C143DEE31D631061000345FC = { + isa = PBXGroup; + children = ( + C143DEEF1D631061000345FC /* AutoCoding */, + C143DF241D63149D000345FC /* Supporting Files */, + C143DEEE1D631061000345FC /* Products */, + ); + sourceTree = ""; + }; + C143DEEE1D631061000345FC /* Products */ = { + isa = PBXGroup; + children = ( + C143DEED1D631061000345FC /* AutoCoding.framework */, + C143DF011D631398000345FC /* AutoCoding.framework */, + C143DF0E1D6313A9000345FC /* AutoCoding.framework */, + C143DF1B1D6313B6000345FC /* AutoCoding.framework */, + ); + name = Products; + sourceTree = ""; + }; + C143DEEF1D631061000345FC /* AutoCoding */ = { + isa = PBXGroup; + children = ( + C143DEF01D631061000345FC /* AutoCoding.h */, + C143DEFA1D6310B4000345FC /* AutoCoding.m */, + ); + path = AutoCoding; + sourceTree = ""; + }; + C143DF241D63149D000345FC /* Supporting Files */ = { + isa = PBXGroup; + children = ( + C143DF281D63149D000345FC /* Info.plist */, + ); + path = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + C143DEEA1D631061000345FC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C143DEF11D631061000345FC /* AutoCoding.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DEFE1D631398000345FC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C143DF2D1D6314BB000345FC /* AutoCoding.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF0B1D6313A9000345FC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C143DF2E1D6314BC000345FC /* AutoCoding.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF181D6313B6000345FC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C143DF231D631447000345FC /* AutoCoding.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + C143DEEC1D631061000345FC /* AutoCoding iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = C143DEF51D631061000345FC /* Build configuration list for PBXNativeTarget "AutoCoding iOS" */; + buildPhases = ( + C143DEE81D631061000345FC /* Sources */, + C143DEE91D631061000345FC /* Frameworks */, + C143DEEA1D631061000345FC /* Headers */, + C143DEEB1D631061000345FC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "AutoCoding iOS"; + productName = AutoCoding; + productReference = C143DEED1D631061000345FC /* AutoCoding.framework */; + productType = "com.apple.product-type.framework"; + }; + C143DF001D631398000345FC /* AutoCoding Watch */ = { + isa = PBXNativeTarget; + buildConfigurationList = C143DF081D631398000345FC /* Build configuration list for PBXNativeTarget "AutoCoding Watch" */; + buildPhases = ( + C143DEFC1D631398000345FC /* Sources */, + C143DEFD1D631398000345FC /* Frameworks */, + C143DEFE1D631398000345FC /* Headers */, + C143DEFF1D631398000345FC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "AutoCoding Watch"; + productName = "AutoCoding Watch"; + productReference = C143DF011D631398000345FC /* AutoCoding.framework */; + productType = "com.apple.product-type.framework"; + }; + C143DF0D1D6313A9000345FC /* AutoCoding OS X */ = { + isa = PBXNativeTarget; + buildConfigurationList = C143DF131D6313A9000345FC /* Build configuration list for PBXNativeTarget "AutoCoding OS X" */; + buildPhases = ( + C143DF091D6313A9000345FC /* Sources */, + C143DF0A1D6313A9000345FC /* Frameworks */, + C143DF0B1D6313A9000345FC /* Headers */, + C143DF0C1D6313A9000345FC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "AutoCoding OS X"; + productName = "AutoCoding OS X"; + productReference = C143DF0E1D6313A9000345FC /* AutoCoding.framework */; + productType = "com.apple.product-type.framework"; + }; + C143DF1A1D6313B6000345FC /* AutoCoding tvOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = C143DF201D6313B6000345FC /* Build configuration list for PBXNativeTarget "AutoCoding tvOS" */; + buildPhases = ( + C143DF161D6313B6000345FC /* Sources */, + C143DF171D6313B6000345FC /* Frameworks */, + C143DF181D6313B6000345FC /* Headers */, + C143DF191D6313B6000345FC /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "AutoCoding tvOS"; + productName = "AutoCoding tvOS"; + productReference = C143DF1B1D6313B6000345FC /* AutoCoding.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + C143DEE41D631061000345FC /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = "Nick Lockwood"; + TargetAttributes = { + C143DEEC1D631061000345FC = { + CreatedOnToolsVersion = 7.3.1; + }; + C143DF001D631398000345FC = { + CreatedOnToolsVersion = 7.3.1; + }; + C143DF0D1D6313A9000345FC = { + CreatedOnToolsVersion = 7.3.1; + }; + C143DF1A1D6313B6000345FC = { + CreatedOnToolsVersion = 7.3.1; + }; + }; + }; + buildConfigurationList = C143DEE71D631061000345FC /* Build configuration list for PBXProject "AutoCoding" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = C143DEE31D631061000345FC; + productRefGroup = C143DEEE1D631061000345FC /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + C143DEEC1D631061000345FC /* AutoCoding iOS */, + C143DF001D631398000345FC /* AutoCoding Watch */, + C143DF0D1D6313A9000345FC /* AutoCoding OS X */, + C143DF1A1D6313B6000345FC /* AutoCoding tvOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + C143DEEB1D631061000345FC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DEFF1D631398000345FC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF0C1D6313A9000345FC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF191D6313B6000345FC /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + C143DEE81D631061000345FC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + C143DEFB1D6310B4000345FC /* AutoCoding.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DEFC1D631398000345FC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF091D6313A9000345FC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C143DF161D6313B6000345FC /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + C143DEF31D631061000345FC /* 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_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; + INFOPLIST_FILE = "Supporting Files/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + C143DEF41D631061000345FC /* 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_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; + INFOPLIST_FILE = "Supporting Files/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 9.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + C143DEF61D631061000345FC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.nicklockwood.AutoCoding; + PRODUCT_NAME = AutoCoding; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + C143DEF71D631061000345FC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.nicklockwood.AutoCoding; + PRODUCT_NAME = AutoCoding; + SKIP_INSTALL = YES; + }; + name = Release; + }; + C143DF061D631398000345FC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.nicklockwood.AutoCoding-Watch"; + PRODUCT_NAME = AutoCoding; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 2.2; + }; + name = Debug; + }; + C143DF071D631398000345FC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.nicklockwood.AutoCoding-Watch"; + PRODUCT_NAME = AutoCoding; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + WATCHOS_DEPLOYMENT_TARGET = 2.2; + }; + name = Release; + }; + C143DF141D6313A9000345FC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_BUNDLE_IDENTIFIER = "com.nicklockwood.AutoCoding-OS-X"; + PRODUCT_NAME = AutoCoding; + SDKROOT = macosx; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + C143DF151D6313A9000345FC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = "-"; + COMBINE_HIDPI_IMAGES = YES; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_BUNDLE_IDENTIFIER = "com.nicklockwood.AutoCoding-OS-X"; + PRODUCT_NAME = AutoCoding; + SDKROOT = macosx; + SKIP_INSTALL = YES; + }; + name = Release; + }; + C143DF211D6313B6000345FC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.nicklockwood.AutoCoding-tvOS"; + PRODUCT_NAME = AutoCoding; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Debug; + }; + C143DF221D6313B6000345FC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.nicklockwood.AutoCoding-tvOS"; + PRODUCT_NAME = AutoCoding; + SDKROOT = appletvos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 3; + TVOS_DEPLOYMENT_TARGET = 9.2; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + C143DEE71D631061000345FC /* Build configuration list for PBXProject "AutoCoding" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C143DEF31D631061000345FC /* Debug */, + C143DEF41D631061000345FC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C143DEF51D631061000345FC /* Build configuration list for PBXNativeTarget "AutoCoding iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C143DEF61D631061000345FC /* Debug */, + C143DEF71D631061000345FC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C143DF081D631398000345FC /* Build configuration list for PBXNativeTarget "AutoCoding Watch" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C143DF061D631398000345FC /* Debug */, + C143DF071D631398000345FC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C143DF131D6313A9000345FC /* Build configuration list for PBXNativeTarget "AutoCoding OS X" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C143DF141D6313A9000345FC /* Debug */, + C143DF151D6313A9000345FC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + C143DF201D6313B6000345FC /* Build configuration list for PBXNativeTarget "AutoCoding tvOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C143DF211D6313B6000345FC /* Debug */, + C143DF221D6313B6000345FC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = C143DEE41D631061000345FC /* Project object */; +} diff --git a/AutoCoding.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/AutoCoding.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..381ff24 --- /dev/null +++ b/AutoCoding.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/AutoCoding.xcodeproj/project.xcworkspace/xcuserdata/maciekish.xcuserdatad/UserInterfaceState.xcuserstate b/AutoCoding.xcodeproj/project.xcworkspace/xcuserdata/maciekish.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..e220a01 Binary files /dev/null and b/AutoCoding.xcodeproj/project.xcworkspace/xcuserdata/maciekish.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding OS X.xcscheme b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding OS X.xcscheme new file mode 100644 index 0000000..eed0631 --- /dev/null +++ b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding OS X.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding iOS.xcscheme b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding iOS.xcscheme new file mode 100644 index 0000000..61c1876 --- /dev/null +++ b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding iOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding tvOS.xcscheme b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding tvOS.xcscheme new file mode 100644 index 0000000..59ccc43 --- /dev/null +++ b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding tvOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding watchOS.xcscheme b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding watchOS.xcscheme new file mode 100644 index 0000000..f77e975 --- /dev/null +++ b/AutoCoding.xcodeproj/xcshareddata/xcschemes/AutoCoding watchOS.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AutoCoding.xcodeproj/xcuserdata/maciekish.xcuserdatad/xcschemes/xcschememanagement.plist b/AutoCoding.xcodeproj/xcuserdata/maciekish.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..b733ae1 --- /dev/null +++ b/AutoCoding.xcodeproj/xcuserdata/maciekish.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,52 @@ + + + + + SchemeUserState + + AutoCoding OS X.xcscheme_^#shared#^_ + + orderHint + 2 + + AutoCoding iOS.xcscheme_^#shared#^_ + + orderHint + 0 + + AutoCoding tvOS.xcscheme_^#shared#^_ + + orderHint + 3 + + AutoCoding watchOS.xcscheme_^#shared#^_ + + orderHint + 1 + + + SuppressBuildableAutocreation + + C143DEEC1D631061000345FC + + primary + + + C143DF001D631398000345FC + + primary + + + C143DF0D1D6313A9000345FC + + primary + + + C143DF1A1D6313B6000345FC + + primary + + + + + diff --git a/AutoCoding/AutoCoding.m b/AutoCoding/AutoCoding.m index 5029ebb..2f028fc 100644 --- a/AutoCoding/AutoCoding.m +++ b/AutoCoding/AutoCoding.m @@ -263,12 +263,14 @@ - (instancetype)initWithCoder:(NSCoder *)aDecoder return self; } +#define IS_OBJECT(x) ( strchr("@#", @encode(__typeof__(x))[0]) != NULL ) + - (void)encodeWithCoder:(NSCoder *)aCoder { for (NSString *key in self.codableProperties) { id object = [self valueForKey:key]; - if (object) [aCoder encodeObject:object forKey:key]; + if (object && IS_OBJECT(object)) [aCoder encodeObject:object forKey:key]; } } diff --git a/Supporting Files/Info.plist b/Supporting Files/Info.plist new file mode 100644 index 0000000..63a4921 --- /dev/null +++ b/Supporting Files/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + AutoCoding + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + Copyright © 2016 Nick Lockwood. All rights reserved. + NSPrincipalClass + + +