diff --git a/Example-Mac/PINRemoteImage.xcodeproj/project.pbxproj b/Example-Mac/PINRemoteImage.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f2835a1 --- /dev/null +++ b/Example-Mac/PINRemoteImage.xcodeproj/project.pbxproj @@ -0,0 +1,479 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 42796FDA2C0B59B150630DA3 /* libPods-PINRemoteImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0141C54D0963FCEA0DB0381A /* libPods-PINRemoteImage.a */; }; + 9DC09DB81C39AB0D00C6451E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC09DB71C39AB0D00C6451E /* AppDelegate.m */; }; + 9DC09DBB1C39AB0D00C6451E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC09DBA1C39AB0D00C6451E /* main.m */; }; + 9DC09DBD1C39AB0D00C6451E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 9DC09DBC1C39AB0D00C6451E /* Assets.xcassets */; }; + 9DC09DC01C39AB0D00C6451E /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 9DC09DBE1C39AB0D00C6451E /* MainMenu.xib */; }; + 9DC09DCB1C39AB0D00C6451E /* PINRemoteImageTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 9DC09DCA1C39AB0D00C6451E /* PINRemoteImageTests.m */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 9DC09DC71C39AB0D00C6451E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 9DC09DAB1C39AB0D00C6451E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 9DC09DB21C39AB0D00C6451E; + remoteInfo = PINRemoteImage; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0141C54D0963FCEA0DB0381A /* libPods-PINRemoteImage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-PINRemoteImage.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 0C7B3B480ECE116693899B73 /* Pods-PINRemoteImage.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PINRemoteImage.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage.debug.xcconfig"; sourceTree = ""; }; + 9DC09DB31C39AB0D00C6451E /* PINRemoteImage.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = PINRemoteImage.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 9DC09DB61C39AB0D00C6451E /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 9DC09DB71C39AB0D00C6451E /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 9DC09DBA1C39AB0D00C6451E /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 9DC09DBC1C39AB0D00C6451E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 9DC09DBF1C39AB0D00C6451E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; + 9DC09DC11C39AB0D00C6451E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 9DC09DC61C39AB0D00C6451E /* PINRemoteImageTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PINRemoteImageTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 9DC09DCA1C39AB0D00C6451E /* PINRemoteImageTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PINRemoteImageTests.m; sourceTree = ""; }; + 9DC09DCC1C39AB0D00C6451E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A560E2F6800411CCF5086206 /* Pods-PINRemoteImage.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PINRemoteImage.release.xcconfig"; path = "Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 9DC09DB01C39AB0D00C6451E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 42796FDA2C0B59B150630DA3 /* libPods-PINRemoteImage.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9DC09DC31C39AB0D00C6451E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 19057E8A9A6779B7C486AF2B /* Frameworks */ = { + isa = PBXGroup; + children = ( + 0141C54D0963FCEA0DB0381A /* libPods-PINRemoteImage.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + 9DC09DAA1C39AB0D00C6451E = { + isa = PBXGroup; + children = ( + 9DC09DB51C39AB0D00C6451E /* PINRemoteImage */, + 9DC09DC91C39AB0D00C6451E /* PINRemoteImageTests */, + 9DC09DB41C39AB0D00C6451E /* Products */, + D8AD56B80C0F0D90F37F7BC5 /* Pods */, + 19057E8A9A6779B7C486AF2B /* Frameworks */, + ); + sourceTree = ""; + }; + 9DC09DB41C39AB0D00C6451E /* Products */ = { + isa = PBXGroup; + children = ( + 9DC09DB31C39AB0D00C6451E /* PINRemoteImage.app */, + 9DC09DC61C39AB0D00C6451E /* PINRemoteImageTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 9DC09DB51C39AB0D00C6451E /* PINRemoteImage */ = { + isa = PBXGroup; + children = ( + 9DC09DB61C39AB0D00C6451E /* AppDelegate.h */, + 9DC09DB71C39AB0D00C6451E /* AppDelegate.m */, + 9DC09DBC1C39AB0D00C6451E /* Assets.xcassets */, + 9DC09DBE1C39AB0D00C6451E /* MainMenu.xib */, + 9DC09DC11C39AB0D00C6451E /* Info.plist */, + 9DC09DB91C39AB0D00C6451E /* Supporting Files */, + ); + path = PINRemoteImage; + sourceTree = ""; + }; + 9DC09DB91C39AB0D00C6451E /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 9DC09DBA1C39AB0D00C6451E /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 9DC09DC91C39AB0D00C6451E /* PINRemoteImageTests */ = { + isa = PBXGroup; + children = ( + 9DC09DCA1C39AB0D00C6451E /* PINRemoteImageTests.m */, + 9DC09DCC1C39AB0D00C6451E /* Info.plist */, + ); + path = PINRemoteImageTests; + sourceTree = ""; + }; + D8AD56B80C0F0D90F37F7BC5 /* Pods */ = { + isa = PBXGroup; + children = ( + 0C7B3B480ECE116693899B73 /* Pods-PINRemoteImage.debug.xcconfig */, + A560E2F6800411CCF5086206 /* Pods-PINRemoteImage.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 9DC09DB21C39AB0D00C6451E /* PINRemoteImage */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9DC09DCF1C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImage" */; + buildPhases = ( + 8CFB37DD63603884BA1E041F /* Check Pods Manifest.lock */, + 9DC09DAF1C39AB0D00C6451E /* Sources */, + 9DC09DB01C39AB0D00C6451E /* Frameworks */, + 9DC09DB11C39AB0D00C6451E /* Resources */, + 5585A0BBB4FBE058548438F4 /* Embed Pods Frameworks */, + 16F443D310E08F018ED7D05A /* Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = PINRemoteImage; + productName = PINRemoteImage; + productReference = 9DC09DB31C39AB0D00C6451E /* PINRemoteImage.app */; + productType = "com.apple.product-type.application"; + }; + 9DC09DC51C39AB0D00C6451E /* PINRemoteImageTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9DC09DD21C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImageTests" */; + buildPhases = ( + 9DC09DC21C39AB0D00C6451E /* Sources */, + 9DC09DC31C39AB0D00C6451E /* Frameworks */, + 9DC09DC41C39AB0D00C6451E /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 9DC09DC81C39AB0D00C6451E /* PBXTargetDependency */, + ); + name = PINRemoteImageTests; + productName = PINRemoteImageTests; + productReference = 9DC09DC61C39AB0D00C6451E /* PINRemoteImageTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 9DC09DAB1C39AB0D00C6451E /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = mischneider; + TargetAttributes = { + 9DC09DB21C39AB0D00C6451E = { + CreatedOnToolsVersion = 7.2; + }; + 9DC09DC51C39AB0D00C6451E = { + CreatedOnToolsVersion = 7.2; + TestTargetID = 9DC09DB21C39AB0D00C6451E; + }; + }; + }; + buildConfigurationList = 9DC09DAE1C39AB0D00C6451E /* Build configuration list for PBXProject "PINRemoteImage" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 9DC09DAA1C39AB0D00C6451E; + productRefGroup = 9DC09DB41C39AB0D00C6451E /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 9DC09DB21C39AB0D00C6451E /* PINRemoteImage */, + 9DC09DC51C39AB0D00C6451E /* PINRemoteImageTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 9DC09DB11C39AB0D00C6451E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9DC09DBD1C39AB0D00C6451E /* Assets.xcassets in Resources */, + 9DC09DC01C39AB0D00C6451E /* MainMenu.xib in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9DC09DC41C39AB0D00C6451E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 16F443D310E08F018ED7D05A /* Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 5585A0BBB4FBE058548438F4 /* Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PINRemoteImage/Pods-PINRemoteImage-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8CFB37DD63603884BA1E041F /* Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 9DC09DAF1C39AB0D00C6451E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9DC09DBB1C39AB0D00C6451E /* main.m in Sources */, + 9DC09DB81C39AB0D00C6451E /* AppDelegate.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9DC09DC21C39AB0D00C6451E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9DC09DCB1C39AB0D00C6451E /* PINRemoteImageTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 9DC09DC81C39AB0D00C6451E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 9DC09DB21C39AB0D00C6451E /* PINRemoteImage */; + targetProxy = 9DC09DC71C39AB0D00C6451E /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 9DC09DBE1C39AB0D00C6451E /* MainMenu.xib */ = { + isa = PBXVariantGroup; + children = ( + 9DC09DBF1C39AB0D00C6451E /* Base */, + ); + name = MainMenu.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 9DC09DCD1C39AB0D00C6451E /* 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; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + 9DC09DCE1C39AB0D00C6451E /* 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 = NO; + 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; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + 9DC09DD01C39AB0D00C6451E /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0C7B3B480ECE116693899B73 /* Pods-PINRemoteImage.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = PINRemoteImage/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImage; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 9DC09DD11C39AB0D00C6451E /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A560E2F6800411CCF5086206 /* Pods-PINRemoteImage.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = PINRemoteImage/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImage; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 9DC09DD31C39AB0D00C6451E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = PINRemoteImageTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImageTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PINRemoteImage.app/Contents/MacOS/PINRemoteImage"; + }; + name = Debug; + }; + 9DC09DD41C39AB0D00C6451E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = PINRemoteImageTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = net.mischneider.PINRemoteImageTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PINRemoteImage.app/Contents/MacOS/PINRemoteImage"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 9DC09DAE1C39AB0D00C6451E /* Build configuration list for PBXProject "PINRemoteImage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9DC09DCD1C39AB0D00C6451E /* Debug */, + 9DC09DCE1C39AB0D00C6451E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9DC09DCF1C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9DC09DD01C39AB0D00C6451E /* Debug */, + 9DC09DD11C39AB0D00C6451E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9DC09DD21C39AB0D00C6451E /* Build configuration list for PBXNativeTarget "PINRemoteImageTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9DC09DD31C39AB0D00C6451E /* Debug */, + 9DC09DD41C39AB0D00C6451E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 9DC09DAB1C39AB0D00C6451E /* Project object */; +} diff --git a/Example-Mac/PINRemoteImage/AppDelegate.h b/Example-Mac/PINRemoteImage/AppDelegate.h new file mode 100644 index 0000000..a0dbd67 --- /dev/null +++ b/Example-Mac/PINRemoteImage/AppDelegate.h @@ -0,0 +1,15 @@ +// +// AppDelegate.h +// PINRemoteImage +// +// Created by Michael Schneider on 1/3/16. +// Copyright © 2016 mischneider. All rights reserved. +// + +#import + +@interface AppDelegate : NSObject + + +@end + diff --git a/Example-Mac/PINRemoteImage/AppDelegate.m b/Example-Mac/PINRemoteImage/AppDelegate.m new file mode 100644 index 0000000..ec2208b --- /dev/null +++ b/Example-Mac/PINRemoteImage/AppDelegate.m @@ -0,0 +1,31 @@ +// +// AppDelegate.m +// PINRemoteImage +// +// Created by Michael Schneider on 1/3/16. +// Copyright © 2016 mischneider. All rights reserved. +// + +#import "AppDelegate.h" +#import +#import +#import + +@interface AppDelegate () +@property (weak) IBOutlet NSWindow *window; +@property (weak) IBOutlet NSImageView *imageView; +@end + +@implementation AppDelegate + +- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { + + NSURL *imageURL = [NSURL URLWithString:@"https://s-media-cache-ak0.pinimg.com/736x/92/5d/5a/925d5ac74db0dcfabc238e1686e31d16.jpg"]; + [self.imageView pin_setImageFromURL:imageURL]; +} + +- (void)applicationWillTerminate:(NSNotification *)aNotification { + // Insert code here to tear down your application +} + +@end diff --git a/Example-Mac/PINRemoteImage/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example-Mac/PINRemoteImage/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..2db2b1c --- /dev/null +++ b/Example-Mac/PINRemoteImage/Assets.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/Example-Mac/PINRemoteImage/Base.lproj/MainMenu.xib b/Example-Mac/PINRemoteImage/Base.lproj/MainMenu.xib new file mode 100644 index 0000000..949a309 --- /dev/null +++ b/Example-Mac/PINRemoteImage/Base.lproj/MainMenu.xib @@ -0,0 +1,689 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + Default + + + + + + + Left to Right + + + + + + + Right to Left + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example-Mac/PINRemoteImage/Info.plist b/Example-Mac/PINRemoteImage/Info.plist new file mode 100644 index 0000000..3d897a3 --- /dev/null +++ b/Example-Mac/PINRemoteImage/Info.plist @@ -0,0 +1,34 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2016 mischneider. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git a/Example-Mac/PINRemoteImage/main.m b/Example-Mac/PINRemoteImage/main.m new file mode 100644 index 0000000..4a7bffe --- /dev/null +++ b/Example-Mac/PINRemoteImage/main.m @@ -0,0 +1,13 @@ +// +// main.m +// PINRemoteImage +// +// Created by Michael Schneider on 1/3/16. +// Copyright © 2016 mischneider. All rights reserved. +// + +#import + +int main(int argc, const char * argv[]) { + return NSApplicationMain(argc, argv); +} diff --git a/Example-Mac/PINRemoteImageTests/Info.plist b/Example-Mac/PINRemoteImageTests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Example-Mac/PINRemoteImageTests/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/Example-Mac/PINRemoteImageTests/PINRemoteImageTests.m b/Example-Mac/PINRemoteImageTests/PINRemoteImageTests.m new file mode 100644 index 0000000..5b39776 --- /dev/null +++ b/Example-Mac/PINRemoteImageTests/PINRemoteImageTests.m @@ -0,0 +1,39 @@ +// +// PINRemoteImageTests.m +// PINRemoteImageTests +// +// Created by Michael Schneider on 1/3/16. +// Copyright © 2016 mischneider. All rights reserved. +// + +#import + +@interface PINRemoteImageTests : XCTestCase + +@end + +@implementation PINRemoteImageTests + +- (void)setUp { + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. +} + +- (void)testPerformanceExample { + // This is an example of a performance test case. + [self measureBlock:^{ + // Put the code you want to measure the time of here. + }]; +} + +@end diff --git a/Example-Mac/Podfile b/Example-Mac/Podfile new file mode 100644 index 0000000..b8d9928 --- /dev/null +++ b/Example-Mac/Podfile @@ -0,0 +1,5 @@ +target 'PINRemoteImage', :exclusive => true do + pod "PINRemoteImage/OSX", :path => "../" + pod "PINCache" + pod "libwebp" +end diff --git a/Example/PINRemoteImage Tests/PINRemoteImage_Tests.m b/Example/PINRemoteImage Tests/PINRemoteImage_Tests.m index 19e499a..967d75a 100644 --- a/Example/PINRemoteImage Tests/PINRemoteImage_Tests.m +++ b/Example/PINRemoteImage Tests/PINRemoteImage_Tests.m @@ -10,7 +10,7 @@ #import #import #import -#import +#import #if USE_FLANIMATED_IMAGE #import #endif diff --git a/Example/PINRemoteImage/DegradedViewController.m b/Example/PINRemoteImage/DegradedViewController.m index 2e67142..560d3ec 100644 --- a/Example/PINRemoteImage/DegradedViewController.m +++ b/Example/PINRemoteImage/DegradedViewController.m @@ -8,7 +8,7 @@ #import "DegradedViewController.h" -#import +#import @interface DegradedViewController () diff --git a/Example/PINRemoteImage/PINViewController.m b/Example/PINRemoteImage/PINViewController.m index b2312b1..ec022dd 100644 --- a/Example/PINRemoteImage/PINViewController.m +++ b/Example/PINRemoteImage/PINViewController.m @@ -9,7 +9,7 @@ #import "PINViewController.h" #import -#import +#import #import #if USE_FLANIMATED_IMAGE #import diff --git a/Example/PINRemoteImage/ProcessingViewController.m b/Example/PINRemoteImage/ProcessingViewController.m index 0ee1852..ccb2480 100644 --- a/Example/PINRemoteImage/ProcessingViewController.m +++ b/Example/PINRemoteImage/ProcessingViewController.m @@ -8,7 +8,7 @@ #import "ProcessingViewController.h" -#import +#import @interface ProcessingViewController () diff --git a/Example/PINRemoteImage/ProgressiveViewController.m b/Example/PINRemoteImage/ProgressiveViewController.m index 05bede8..d47bcee 100644 --- a/Example/PINRemoteImage/ProgressiveViewController.m +++ b/Example/PINRemoteImage/ProgressiveViewController.m @@ -8,7 +8,7 @@ #import "ProgressiveViewController.h" -#import +#import #import @interface ProgressiveViewController () diff --git a/Example/PINRemoteImage/WebPViewController.m b/Example/PINRemoteImage/WebPViewController.m index 95fc06d..1f056a3 100644 --- a/Example/PINRemoteImage/WebPViewController.m +++ b/Example/PINRemoteImage/WebPViewController.m @@ -8,7 +8,7 @@ #import "WebPViewController.h" -#import +#import @interface WebPViewController ()