diff --git a/Example/MWPhotoBrowser.xcodeproj/project.pbxproj b/Example/MWPhotoBrowser.xcodeproj/project.pbxproj index 9eb939fd4..5987602bc 100644 --- a/Example/MWPhotoBrowser.xcodeproj/project.pbxproj +++ b/Example/MWPhotoBrowser.xcodeproj/project.pbxproj @@ -1,1767 +1,726 @@ - - - - - archiveVersion - 1 - classes - - objectVersion - 46 - objects - - 02040E41C46EB311FEA82F90 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Embed Pods Frameworks - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh" - - showEnvVarsInLog - 0 - - 0EC5D4A41B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo1.jpg - path - MWPhotoBrowser/Local Media/photo1.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4A51B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo1t.jpg - path - MWPhotoBrowser/Local Media/photo1t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4A61B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo2.jpg - path - MWPhotoBrowser/Local Media/photo2.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4A71B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo2t.jpg - path - MWPhotoBrowser/Local Media/photo2t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4A81B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo3.jpg - path - MWPhotoBrowser/Local Media/photo3.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4A91B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo3t.jpg - path - MWPhotoBrowser/Local Media/photo3t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4AA1B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo4.jpg - path - MWPhotoBrowser/Local Media/photo4.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4AB1B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo4t.jpg - path - MWPhotoBrowser/Local Media/photo4t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4AC1B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo5.jpg - path - MWPhotoBrowser/Local Media/photo5.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4AD1B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo5t.jpg - path - MWPhotoBrowser/Local Media/photo5t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4AE1B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo6.jpg - path - MWPhotoBrowser/Local Media/photo6.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4AF1B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo6t.jpg - path - MWPhotoBrowser/Local Media/photo6t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4B01B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo7.jpg - path - MWPhotoBrowser/Local Media/photo7.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4B11B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo7t.jpg - path - MWPhotoBrowser/Local Media/photo7t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4B21B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo8.jpg - path - MWPhotoBrowser/Local Media/photo8.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4B31B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - photo8t.jpg - path - MWPhotoBrowser/Local Media/photo8t.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4B41B4C46E50092ACC1 - - isa - PBXFileReference - lastKnownFileType - file - name - video.mp4 - path - MWPhotoBrowser/Local Media/video.mp4 - sourceTree - SOURCE_ROOT - - 0EC5D4B51B4C46E50092ACC1 - - fileRef - 0EC5D4A41B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4B61B4C46E50092ACC1 - - fileRef - 0EC5D4A51B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4B71B4C46E50092ACC1 - - fileRef - 0EC5D4A61B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4B81B4C46E50092ACC1 - - fileRef - 0EC5D4A71B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4B91B4C46E50092ACC1 - - fileRef - 0EC5D4A81B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4BA1B4C46E50092ACC1 - - fileRef - 0EC5D4A91B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4BB1B4C46E50092ACC1 - - fileRef - 0EC5D4AA1B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4BC1B4C46E50092ACC1 - - fileRef - 0EC5D4AB1B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4BD1B4C46E50092ACC1 - - fileRef - 0EC5D4AC1B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4BE1B4C46E50092ACC1 - - fileRef - 0EC5D4AD1B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4BF1B4C46E50092ACC1 - - fileRef - 0EC5D4AE1B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C01B4C46E50092ACC1 - - fileRef - 0EC5D4AF1B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C11B4C46E50092ACC1 - - fileRef - 0EC5D4B01B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C21B4C46E50092ACC1 - - fileRef - 0EC5D4B11B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C31B4C46E50092ACC1 - - fileRef - 0EC5D4B21B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C41B4C46E50092ACC1 - - fileRef - 0EC5D4B31B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C51B4C46E50092ACC1 - - fileRef - 0EC5D4B41B4C46E50092ACC1 - isa - PBXBuildFile - - 0EC5D4C81B4C480E0092ACC1 - - isa - PBXFileReference - lastKnownFileType - image.jpeg - name - video_thumb.jpg - path - MWPhotoBrowser/Local Media/video_thumb.jpg - sourceTree - SOURCE_ROOT - - 0EC5D4C91B4C480E0092ACC1 - - fileRef - 0EC5D4C81B4C480E0092ACC1 - isa - PBXBuildFile - - 234A7CACC7671133BED1A091 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods-MWPhotoBrowser_Tests.release.xcconfig - path - Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.release.xcconfig - sourceTree - <group> - - 2BD41C6E3DA363EE7B81636E - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - path - libPods-MWPhotoBrowser_Tests.a - sourceTree - BUILT_PRODUCTS_DIR - - 3CC5A2FF9CBF1B37D7CB6F91 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Copy Pods Resources - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-resources.sh" - - showEnvVarsInLog - 0 - - 42FCB8D314CA85E2DF2C6434 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text - name - LICENSE - path - ../LICENSE - sourceTree - <group> - - 4C18E1171B47E72800E3D63A - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - AppDelegate.h - sourceTree - <group> - - 4C18E1181B47E72800E3D63A - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - AppDelegate.m - sourceTree - <group> - - 4C18E1191B47E72800E3D63A - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - Menu.h - sourceTree - <group> - - 4C18E11A1B47E72800E3D63A - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Menu.m - sourceTree - <group> - - 4C18E11B1B47E72800E3D63A - - fileRef - 4C18E1181B47E72800E3D63A - isa - PBXBuildFile - - 4C18E11C1B47E72800E3D63A - - fileRef - 4C18E11A1B47E72800E3D63A - isa - PBXBuildFile - - 4C18E1431B47F05900E3D63A - - children - - 0EC5D4C81B4C480E0092ACC1 - 0EC5D4A41B4C46E50092ACC1 - 0EC5D4A51B4C46E50092ACC1 - 0EC5D4A61B4C46E50092ACC1 - 0EC5D4A71B4C46E50092ACC1 - 0EC5D4A81B4C46E50092ACC1 - 0EC5D4A91B4C46E50092ACC1 - 0EC5D4AA1B4C46E50092ACC1 - 0EC5D4AB1B4C46E50092ACC1 - 0EC5D4AC1B4C46E50092ACC1 - 0EC5D4AD1B4C46E50092ACC1 - 0EC5D4AE1B4C46E50092ACC1 - 0EC5D4AF1B4C46E50092ACC1 - 0EC5D4B01B4C46E50092ACC1 - 0EC5D4B11B4C46E50092ACC1 - 0EC5D4B21B4C46E50092ACC1 - 0EC5D4B31B4C46E50092ACC1 - 0EC5D4B41B4C46E50092ACC1 - - isa - PBXGroup - name - Local Media - path - Photos - sourceTree - <group> - - 4D7FBE8AC8249BBC4ADD838E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods-MWPhotoBrowser_Example.release.xcconfig - path - Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.release.xcconfig - sourceTree - <group> - - 4E0A14EFB687307A0833E979 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text - name - MWPhotoBrowser.podspec - path - ../MWPhotoBrowser.podspec - sourceTree - <group> - - 542176705B9DBC22BBCDF3E4 - - children - - 6E2C60685D353B336094E4E7 - 4D7FBE8AC8249BBC4ADD838E - CA6EC4575DA50FD5A6F8685B - 234A7CACC7671133BED1A091 - - isa - PBXGroup - name - Pods - sourceTree - <group> - - 5FDE805C8BB47D59B5BCB5FA - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Copy Pods Resources - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-resources.sh" - - showEnvVarsInLog - 0 - - 6003F581195388D10070C39A - - children - - 4E0A14EFB687307A0833E979 - B5C85CB7FE89F584D392C9CF - 42FCB8D314CA85E2DF2C6434 - 6003F593195388D20070C39A - 6003F5B5195388D20070C39A - 6003F58C195388D20070C39A - 6003F58B195388D20070C39A - 542176705B9DBC22BBCDF3E4 - - isa - PBXGroup - sourceTree - <group> - - 6003F582195388D10070C39A - - attributes - - CLASSPREFIX - MW - LastUpgradeCheck - 0730 - ORGANIZATIONNAME - Michael Waterfall - TargetAttributes - - 6003F5AD195388D20070C39A - - TestTargetID - 6003F589195388D20070C39A - - - - buildConfigurationList - 6003F585195388D10070C39A - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 - isa - PBXProject - knownRegions - - en - Base - - mainGroup - 6003F581195388D10070C39A - productRefGroup - 6003F58B195388D20070C39A - projectDirPath - - projectReferences - - projectRoot - - targets - - 6003F589195388D20070C39A - 6003F5AD195388D20070C39A - - - 6003F585195388D10070C39A - - buildConfigurations - - 6003F5BD195388D20070C39A - 6003F5BE195388D20070C39A - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 6003F586195388D20070C39A - - buildActionMask - 2147483647 - files - - 4C18E11B1B47E72800E3D63A - 6003F59A195388D20070C39A - 4C18E11C1B47E72800E3D63A - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6003F587195388D20070C39A - - buildActionMask - 2147483647 - files - - 6003F590195388D20070C39A - 6003F592195388D20070C39A - 6003F58E195388D20070C39A - BDF7E0625C136532C64B3038 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6003F588195388D20070C39A - - buildActionMask - 2147483647 - files - - 0EC5D4B51B4C46E50092ACC1 - 0EC5D4C31B4C46E50092ACC1 - 0EC5D4B71B4C46E50092ACC1 - 873B8AEB1B1F5CCA007FD442 - 6003F5A9195388D20070C39A - 0EC5D4BD1B4C46E50092ACC1 - 0EC5D4BF1B4C46E50092ACC1 - 0EC5D4BE1B4C46E50092ACC1 - 6003F598195388D20070C39A - 0EC5D4BB1B4C46E50092ACC1 - 0EC5D4C41B4C46E50092ACC1 - 0EC5D4C51B4C46E50092ACC1 - 0EC5D4C21B4C46E50092ACC1 - 0EC5D4C01B4C46E50092ACC1 - 0EC5D4C11B4C46E50092ACC1 - 0EC5D4B61B4C46E50092ACC1 - 0EC5D4C91B4C480E0092ACC1 - 0EC5D4BC1B4C46E50092ACC1 - 0EC5D4BA1B4C46E50092ACC1 - 0EC5D4B91B4C46E50092ACC1 - 0EC5D4B81B4C46E50092ACC1 - - isa - PBXResourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6003F589195388D20070C39A - - buildConfigurationList - 6003F5BF195388D20070C39A - buildPhases - - 81B3EFFED33BEA59184A897C - 6003F586195388D20070C39A - 6003F587195388D20070C39A - 6003F588195388D20070C39A - 5FDE805C8BB47D59B5BCB5FA - C7E06D0576A92A1C834427BE - - buildRules - - dependencies - - isa - PBXNativeTarget - name - MWPhotoBrowser_Example - productName - MWPhotoBrowser - productReference - 6003F58A195388D20070C39A - productType - com.apple.product-type.application - - 6003F58A195388D20070C39A - - explicitFileType - wrapper.application - includeInIndex - 0 - isa - PBXFileReference - path - MWPhotoBrowser_Example.app - sourceTree - BUILT_PRODUCTS_DIR - - 6003F58B195388D20070C39A - - children - - 6003F58A195388D20070C39A - 6003F5AE195388D20070C39A - - isa - PBXGroup - name - Products - sourceTree - <group> - - 6003F58C195388D20070C39A - - children - - 6003F58D195388D20070C39A - 6003F58F195388D20070C39A - 6003F591195388D20070C39A - 6003F5AF195388D20070C39A - 9C165E5EE0D40A4673EB6CB0 - 2BD41C6E3DA363EE7B81636E - - isa - PBXGroup - name - Frameworks - sourceTree - <group> - - 6003F58D195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - Foundation.framework - path - System/Library/Frameworks/Foundation.framework - sourceTree - SDKROOT - - 6003F58E195388D20070C39A - - fileRef - 6003F58D195388D20070C39A - isa - PBXBuildFile - - 6003F58F195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - CoreGraphics.framework - path - System/Library/Frameworks/CoreGraphics.framework - sourceTree - SDKROOT - - 6003F590195388D20070C39A - - fileRef - 6003F58F195388D20070C39A - isa - PBXBuildFile - - 6003F591195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - UIKit.framework - path - System/Library/Frameworks/UIKit.framework - sourceTree - SDKROOT - - 6003F592195388D20070C39A - - fileRef - 6003F591195388D20070C39A - isa - PBXBuildFile - - 6003F593195388D20070C39A - - children - - 4C18E1171B47E72800E3D63A - 4C18E1181B47E72800E3D63A - 4C18E1191B47E72800E3D63A - 4C18E11A1B47E72800E3D63A - 873B8AEA1B1F5CCA007FD442 - 6003F5A8195388D20070C39A - 4C18E1431B47F05900E3D63A - 6003F594195388D20070C39A - - isa - PBXGroup - name - Example - path - MWPhotoBrowser - sourceTree - <group> - - 6003F594195388D20070C39A - - children - - 6003F595195388D20070C39A - 6003F596195388D20070C39A - 6003F599195388D20070C39A - 6003F59B195388D20070C39A - - isa - PBXGroup - name - Supporting Files - sourceTree - <group> - - 6003F595195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - MWPhotoBrowser-Info.plist - sourceTree - <group> - - 6003F596195388D20070C39A - - children - - 6003F597195388D20070C39A - - isa - PBXVariantGroup - name - InfoPlist.strings - sourceTree - <group> - - 6003F597195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - text.plist.strings - name - en - path - en.lproj/InfoPlist.strings - sourceTree - <group> - - 6003F598195388D20070C39A - - fileRef - 6003F596195388D20070C39A - isa - PBXBuildFile - - 6003F599195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - main.m - sourceTree - <group> - - 6003F59A195388D20070C39A - - fileRef - 6003F599195388D20070C39A - isa - PBXBuildFile - - 6003F59B195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWPhotoBrowser-Prefix.pch - sourceTree - <group> - - 6003F5A8195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - folder.assetcatalog - path - Images.xcassets - sourceTree - <group> - - 6003F5A9195388D20070C39A - - fileRef - 6003F5A8195388D20070C39A - isa - PBXBuildFile - - 6003F5AA195388D20070C39A - - buildActionMask - 2147483647 - files - - 6003F5BC195388D20070C39A - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6003F5AB195388D20070C39A - - buildActionMask - 2147483647 - files - - 6003F5B0195388D20070C39A - 6003F5B2195388D20070C39A - 6003F5B1195388D20070C39A - BBD9ABBBC6D859245030E9BA - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6003F5AC195388D20070C39A - - buildActionMask - 2147483647 - files - - 6003F5BA195388D20070C39A - - isa - PBXResourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6003F5AD195388D20070C39A - - buildConfigurationList - 6003F5C2195388D20070C39A - buildPhases - - F7D70421FEADB9922E5F26C7 - 6003F5AA195388D20070C39A - 6003F5AB195388D20070C39A - 6003F5AC195388D20070C39A - 3CC5A2FF9CBF1B37D7CB6F91 - 02040E41C46EB311FEA82F90 - - buildRules - - dependencies - - 6003F5B4195388D20070C39A - - isa - PBXNativeTarget - name - MWPhotoBrowser_Tests - productName - MWPhotoBrowserTests - productReference - 6003F5AE195388D20070C39A - productType - com.apple.product-type.bundle.unit-test - - 6003F5AE195388D20070C39A - - explicitFileType - wrapper.cfbundle - includeInIndex - 0 - isa - PBXFileReference - path - MWPhotoBrowser_Tests.xctest - sourceTree - BUILT_PRODUCTS_DIR - - 6003F5AF195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - XCTest.framework - path - Library/Frameworks/XCTest.framework - sourceTree - DEVELOPER_DIR - - 6003F5B0195388D20070C39A - - fileRef - 6003F5AF195388D20070C39A - isa - PBXBuildFile - - 6003F5B1195388D20070C39A - - fileRef - 6003F58D195388D20070C39A - isa - PBXBuildFile - - 6003F5B2195388D20070C39A - - fileRef - 6003F591195388D20070C39A - isa - PBXBuildFile - - 6003F5B3195388D20070C39A - - containerPortal - 6003F582195388D10070C39A - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 6003F589195388D20070C39A - remoteInfo - MWPhotoBrowser - - 6003F5B4195388D20070C39A - - isa - PBXTargetDependency - target - 6003F589195388D20070C39A - targetProxy - 6003F5B3195388D20070C39A - - 6003F5B5195388D20070C39A - - children - - 6003F5BB195388D20070C39A - 6003F5B6195388D20070C39A - - isa - PBXGroup - path - Tests - sourceTree - <group> - - 6003F5B6195388D20070C39A - - children - - 6003F5B7195388D20070C39A - 6003F5B8195388D20070C39A - 606FC2411953D9B200FFA9A0 - - isa - PBXGroup - name - Supporting Files - sourceTree - <group> - - 6003F5B7195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - Tests-Info.plist - sourceTree - <group> - - 6003F5B8195388D20070C39A - - children - - 6003F5B9195388D20070C39A - - isa - PBXVariantGroup - name - InfoPlist.strings - sourceTree - <group> - - 6003F5B9195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - text.plist.strings - name - en - path - en.lproj/InfoPlist.strings - sourceTree - <group> - - 6003F5BA195388D20070C39A - - fileRef - 6003F5B8195388D20070C39A - isa - PBXBuildFile - - 6003F5BB195388D20070C39A - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Tests.m - sourceTree - <group> - - 6003F5BC195388D20070C39A - - fileRef - 6003F5BB195388D20070C39A - isa - PBXBuildFile - - 6003F5BD195388D20070C39A - - 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__DUPLICATE_METHOD_MATCH - YES - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - COPY_PHASE_STRIP - NO - ENABLE_TESTABILITY - 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 - 7.1 - ONLY_ACTIVE_ARCH - YES - SDKROOT - iphoneos - TARGETED_DEVICE_FAMILY - 1,2 - - isa - XCBuildConfiguration - name - Debug - - 6003F5BE195388D20070C39A - - 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__DUPLICATE_METHOD_MATCH - YES - CODE_SIGN_IDENTITY[sdk=iphoneos*] - iPhone Developer - COPY_PHASE_STRIP - YES - ENABLE_NS_ASSERTIONS - NO - 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 - 7.1 - SDKROOT - iphoneos - TARGETED_DEVICE_FAMILY - 1,2 - VALIDATE_PRODUCT - YES - - isa - XCBuildConfiguration - name - Release - - 6003F5BF195388D20070C39A - - buildConfigurations - - 6003F5C0195388D20070C39A - 6003F5C1195388D20070C39A - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 6003F5C0195388D20070C39A - - baseConfigurationReference - 6E2C60685D353B336094E4E7 - buildSettings - - ASSETCATALOG_COMPILER_APPICON_NAME - AppIcon - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME - LaunchImage - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - MWPhotoBrowser/MWPhotoBrowser-Prefix.pch - INFOPLIST_FILE - MWPhotoBrowser/MWPhotoBrowser-Info.plist - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MODULE_NAME - ExampleApp - PRODUCT_BUNDLE_IDENTIFIER - org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} - PRODUCT_NAME - $(TARGET_NAME) - WRAPPER_EXTENSION - app - - isa - XCBuildConfiguration - name - Debug - - 6003F5C1195388D20070C39A - - baseConfigurationReference - 4D7FBE8AC8249BBC4ADD838E - buildSettings - - ASSETCATALOG_COMPILER_APPICON_NAME - AppIcon - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME - LaunchImage - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - MWPhotoBrowser/MWPhotoBrowser-Prefix.pch - INFOPLIST_FILE - MWPhotoBrowser/MWPhotoBrowser-Info.plist - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MODULE_NAME - ExampleApp - PRODUCT_BUNDLE_IDENTIFIER - org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} - PRODUCT_NAME - $(TARGET_NAME) - WRAPPER_EXTENSION - app - - isa - XCBuildConfiguration - name - Release - - 6003F5C2195388D20070C39A - - buildConfigurations - - 6003F5C3195388D20070C39A - 6003F5C4195388D20070C39A - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 6003F5C3195388D20070C39A - - baseConfigurationReference - CA6EC4575DA50FD5A6F8685B - buildSettings - - BUNDLE_LOADER - $(TEST_HOST) - FRAMEWORK_SEARCH_PATHS - - $(SDKROOT)/Developer/Library/Frameworks - $(inherited) - $(DEVELOPER_FRAMEWORKS_DIR) - - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - Tests/Tests-Prefix.pch - GCC_PREPROCESSOR_DEFINITIONS - - DEBUG=1 - $(inherited) - - INFOPLIST_FILE - Tests/Tests-Info.plist - PRODUCT_BUNDLE_IDENTIFIER - org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} - PRODUCT_NAME - $(TARGET_NAME) - TEST_HOST - $(BUILT_PRODUCTS_DIR)/MWPhotoBrowser_Example.app/MWPhotoBrowser_Example - WRAPPER_EXTENSION - xctest - - isa - XCBuildConfiguration - name - Debug - - 6003F5C4195388D20070C39A - - baseConfigurationReference - 234A7CACC7671133BED1A091 - buildSettings - - BUNDLE_LOADER - $(TEST_HOST) - FRAMEWORK_SEARCH_PATHS - - $(SDKROOT)/Developer/Library/Frameworks - $(inherited) - $(DEVELOPER_FRAMEWORKS_DIR) - - GCC_PRECOMPILE_PREFIX_HEADER - YES - GCC_PREFIX_HEADER - Tests/Tests-Prefix.pch - INFOPLIST_FILE - Tests/Tests-Info.plist - PRODUCT_BUNDLE_IDENTIFIER - org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier} - PRODUCT_NAME - $(TARGET_NAME) - TEST_HOST - $(BUILT_PRODUCTS_DIR)/MWPhotoBrowser_Example.app/MWPhotoBrowser_Example - WRAPPER_EXTENSION - xctest - - isa - XCBuildConfiguration - name - Release - - 606FC2411953D9B200FFA9A0 - - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - Tests-Prefix.pch - sourceTree - <group> - - 6E2C60685D353B336094E4E7 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods-MWPhotoBrowser_Example.debug.xcconfig - path - Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.debug.xcconfig - sourceTree - <group> - - 81B3EFFED33BEA59184A897C - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Check Pods Manifest.lock - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null -if [[ $? != 0 ]] ; then - cat << EOM -error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. -EOM - exit 1 -fi - - showEnvVarsInLog - 0 - - 873B8AEA1B1F5CCA007FD442 - - fileEncoding - 4 - isa - PBXFileReference - lastKnownFileType - file.storyboard - path - Main.storyboard - sourceTree - <group> - - 873B8AEB1B1F5CCA007FD442 - - fileRef - 873B8AEA1B1F5CCA007FD442 - isa - PBXBuildFile - - 9C165E5EE0D40A4673EB6CB0 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - path - libPods-MWPhotoBrowser_Example.a - sourceTree - BUILT_PRODUCTS_DIR - - B5C85CB7FE89F584D392C9CF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - net.daringfireball.markdown - name - README.md - path - ../README.md - sourceTree - <group> - - BBD9ABBBC6D859245030E9BA - - fileRef - 2BD41C6E3DA363EE7B81636E - isa - PBXBuildFile - - BDF7E0625C136532C64B3038 - - fileRef - 9C165E5EE0D40A4673EB6CB0 - isa - PBXBuildFile - - C7E06D0576A92A1C834427BE - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Embed Pods Frameworks - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - "${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh" - - showEnvVarsInLog - 0 - - CA6EC4575DA50FD5A6F8685B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - name - Pods-MWPhotoBrowser_Tests.debug.xcconfig - path - Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.debug.xcconfig - sourceTree - <group> - - F7D70421FEADB9922E5F26C7 - - buildActionMask - 2147483647 - files - - inputPaths - - isa - PBXShellScriptBuildPhase - name - Check Pods Manifest.lock - outputPaths - - runOnlyForDeploymentPostprocessing - 0 - shellPath - /bin/sh - shellScript - diff "${PODS_ROOT}/../Podfile.lock" "${PODS_ROOT}/Manifest.lock" > /dev/null -if [[ $? != 0 ]] ; then - cat << EOM -error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. -EOM - exit 1 -fi - - showEnvVarsInLog - 0 - - - rootObject - 6003F582195388D10070C39A - - +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 0EC5D4B51B4C46E50092ACC1 /* photo1.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4A41B4C46E50092ACC1 /* photo1.jpg */; }; + 0EC5D4B61B4C46E50092ACC1 /* photo1t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4A51B4C46E50092ACC1 /* photo1t.jpg */; }; + 0EC5D4B71B4C46E50092ACC1 /* photo2.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4A61B4C46E50092ACC1 /* photo2.jpg */; }; + 0EC5D4B81B4C46E50092ACC1 /* photo2t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4A71B4C46E50092ACC1 /* photo2t.jpg */; }; + 0EC5D4B91B4C46E50092ACC1 /* photo3.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4A81B4C46E50092ACC1 /* photo3.jpg */; }; + 0EC5D4BA1B4C46E50092ACC1 /* photo3t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4A91B4C46E50092ACC1 /* photo3t.jpg */; }; + 0EC5D4BB1B4C46E50092ACC1 /* photo4.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4AA1B4C46E50092ACC1 /* photo4.jpg */; }; + 0EC5D4BC1B4C46E50092ACC1 /* photo4t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4AB1B4C46E50092ACC1 /* photo4t.jpg */; }; + 0EC5D4BD1B4C46E50092ACC1 /* photo5.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4AC1B4C46E50092ACC1 /* photo5.jpg */; }; + 0EC5D4BE1B4C46E50092ACC1 /* photo5t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4AD1B4C46E50092ACC1 /* photo5t.jpg */; }; + 0EC5D4BF1B4C46E50092ACC1 /* photo6.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4AE1B4C46E50092ACC1 /* photo6.jpg */; }; + 0EC5D4C01B4C46E50092ACC1 /* photo6t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4AF1B4C46E50092ACC1 /* photo6t.jpg */; }; + 0EC5D4C11B4C46E50092ACC1 /* photo7.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4B01B4C46E50092ACC1 /* photo7.jpg */; }; + 0EC5D4C21B4C46E50092ACC1 /* photo7t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4B11B4C46E50092ACC1 /* photo7t.jpg */; }; + 0EC5D4C31B4C46E50092ACC1 /* photo8.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4B21B4C46E50092ACC1 /* photo8.jpg */; }; + 0EC5D4C41B4C46E50092ACC1 /* photo8t.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4B31B4C46E50092ACC1 /* photo8t.jpg */; }; + 0EC5D4C51B4C46E50092ACC1 /* video.mp4 in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4B41B4C46E50092ACC1 /* video.mp4 */; }; + 0EC5D4C91B4C480E0092ACC1 /* video_thumb.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 0EC5D4C81B4C480E0092ACC1 /* video_thumb.jpg */; }; + 41DF0A5368A1C71E2DEFDEF0 /* Pods_MWPhotoBrowser_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6D6918980171D9D0838C32B8 /* Pods_MWPhotoBrowser_Tests.framework */; }; + 45596DBA63CC9F59E49932E2 /* Pods_MWPhotoBrowser_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4BCBE1DE9B52694377279881 /* Pods_MWPhotoBrowser_Example.framework */; }; + 4C18E11B1B47E72800E3D63A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C18E1181B47E72800E3D63A /* AppDelegate.m */; }; + 4C18E11C1B47E72800E3D63A /* Menu.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C18E11A1B47E72800E3D63A /* Menu.m */; }; + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; + 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; + 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 6003F582195388D10070C39A /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6003F589195388D20070C39A; + remoteInfo = MWPhotoBrowser; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 0EC5D4A41B4C46E50092ACC1 /* photo1.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo1.jpg; path = "MWPhotoBrowser/Local Media/photo1.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4A51B4C46E50092ACC1 /* photo1t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo1t.jpg; path = "MWPhotoBrowser/Local Media/photo1t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4A61B4C46E50092ACC1 /* photo2.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo2.jpg; path = "MWPhotoBrowser/Local Media/photo2.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4A71B4C46E50092ACC1 /* photo2t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo2t.jpg; path = "MWPhotoBrowser/Local Media/photo2t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4A81B4C46E50092ACC1 /* photo3.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo3.jpg; path = "MWPhotoBrowser/Local Media/photo3.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4A91B4C46E50092ACC1 /* photo3t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo3t.jpg; path = "MWPhotoBrowser/Local Media/photo3t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4AA1B4C46E50092ACC1 /* photo4.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo4.jpg; path = "MWPhotoBrowser/Local Media/photo4.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4AB1B4C46E50092ACC1 /* photo4t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo4t.jpg; path = "MWPhotoBrowser/Local Media/photo4t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4AC1B4C46E50092ACC1 /* photo5.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo5.jpg; path = "MWPhotoBrowser/Local Media/photo5.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4AD1B4C46E50092ACC1 /* photo5t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo5t.jpg; path = "MWPhotoBrowser/Local Media/photo5t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4AE1B4C46E50092ACC1 /* photo6.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo6.jpg; path = "MWPhotoBrowser/Local Media/photo6.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4AF1B4C46E50092ACC1 /* photo6t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo6t.jpg; path = "MWPhotoBrowser/Local Media/photo6t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4B01B4C46E50092ACC1 /* photo7.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo7.jpg; path = "MWPhotoBrowser/Local Media/photo7.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4B11B4C46E50092ACC1 /* photo7t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo7t.jpg; path = "MWPhotoBrowser/Local Media/photo7t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4B21B4C46E50092ACC1 /* photo8.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo8.jpg; path = "MWPhotoBrowser/Local Media/photo8.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4B31B4C46E50092ACC1 /* photo8t.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = photo8t.jpg; path = "MWPhotoBrowser/Local Media/photo8t.jpg"; sourceTree = SOURCE_ROOT; }; + 0EC5D4B41B4C46E50092ACC1 /* video.mp4 */ = {isa = PBXFileReference; lastKnownFileType = file; name = video.mp4; path = "MWPhotoBrowser/Local Media/video.mp4"; sourceTree = SOURCE_ROOT; }; + 0EC5D4C81B4C480E0092ACC1 /* video_thumb.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; name = video_thumb.jpg; path = "MWPhotoBrowser/Local Media/video_thumb.jpg"; sourceTree = SOURCE_ROOT; }; + 42FCB8D314CA85E2DF2C6434 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 4BCBE1DE9B52694377279881 /* Pods_MWPhotoBrowser_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MWPhotoBrowser_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4C18E1171B47E72800E3D63A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 4C18E1181B47E72800E3D63A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 4C18E1191B47E72800E3D63A /* Menu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Menu.h; sourceTree = ""; }; + 4C18E11A1B47E72800E3D63A /* Menu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Menu.m; sourceTree = ""; }; + 4E0A14EFB687307A0833E979 /* MWPhotoBrowser.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = MWPhotoBrowser.podspec; path = ../MWPhotoBrowser.podspec; sourceTree = ""; }; + 6003F58A195388D20070C39A /* MWPhotoBrowser_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MWPhotoBrowser_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 6003F595195388D20070C39A /* MWPhotoBrowser-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "MWPhotoBrowser-Info.plist"; sourceTree = ""; }; + 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 6003F59B195388D20070C39A /* MWPhotoBrowser-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "MWPhotoBrowser-Prefix.pch"; sourceTree = ""; }; + 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 6003F5AE195388D20070C39A /* MWPhotoBrowser_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MWPhotoBrowser_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; + 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; + 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; + 6D6918980171D9D0838C32B8 /* Pods_MWPhotoBrowser_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_MWPhotoBrowser_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; + 8AE2392997CE1F844BA317A0 /* Pods-MWPhotoBrowser_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MWPhotoBrowser_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.debug.xcconfig"; sourceTree = ""; }; + 919E0E0D805B36BD5EBF0AD8 /* Pods-MWPhotoBrowser_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MWPhotoBrowser_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.debug.xcconfig"; sourceTree = ""; }; + A98F5A9B015DF739500634D8 /* Pods-MWPhotoBrowser_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MWPhotoBrowser_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.release.xcconfig"; sourceTree = ""; }; + B5C85CB7FE89F584D392C9CF /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; + C7B0D993583FD1700B18B66B /* Pods-MWPhotoBrowser_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-MWPhotoBrowser_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.release.xcconfig"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 6003F587195388D20070C39A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, + 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, + 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, + 45596DBA63CC9F59E49932E2 /* Pods_MWPhotoBrowser_Example.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6003F5AB195388D20070C39A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, + 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, + 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, + 41DF0A5368A1C71E2DEFDEF0 /* Pods_MWPhotoBrowser_Tests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4C18E1431B47F05900E3D63A /* Local Media */ = { + isa = PBXGroup; + children = ( + 0EC5D4C81B4C480E0092ACC1 /* video_thumb.jpg */, + 0EC5D4A41B4C46E50092ACC1 /* photo1.jpg */, + 0EC5D4A51B4C46E50092ACC1 /* photo1t.jpg */, + 0EC5D4A61B4C46E50092ACC1 /* photo2.jpg */, + 0EC5D4A71B4C46E50092ACC1 /* photo2t.jpg */, + 0EC5D4A81B4C46E50092ACC1 /* photo3.jpg */, + 0EC5D4A91B4C46E50092ACC1 /* photo3t.jpg */, + 0EC5D4AA1B4C46E50092ACC1 /* photo4.jpg */, + 0EC5D4AB1B4C46E50092ACC1 /* photo4t.jpg */, + 0EC5D4AC1B4C46E50092ACC1 /* photo5.jpg */, + 0EC5D4AD1B4C46E50092ACC1 /* photo5t.jpg */, + 0EC5D4AE1B4C46E50092ACC1 /* photo6.jpg */, + 0EC5D4AF1B4C46E50092ACC1 /* photo6t.jpg */, + 0EC5D4B01B4C46E50092ACC1 /* photo7.jpg */, + 0EC5D4B11B4C46E50092ACC1 /* photo7t.jpg */, + 0EC5D4B21B4C46E50092ACC1 /* photo8.jpg */, + 0EC5D4B31B4C46E50092ACC1 /* photo8t.jpg */, + 0EC5D4B41B4C46E50092ACC1 /* video.mp4 */, + ); + name = "Local Media"; + path = Photos; + sourceTree = ""; + }; + 6003F581195388D10070C39A = { + isa = PBXGroup; + children = ( + 4E0A14EFB687307A0833E979 /* MWPhotoBrowser.podspec */, + B5C85CB7FE89F584D392C9CF /* README.md */, + 42FCB8D314CA85E2DF2C6434 /* LICENSE */, + 6003F593195388D20070C39A /* Example */, + 6003F5B5195388D20070C39A /* Tests */, + 6003F58C195388D20070C39A /* Frameworks */, + 6003F58B195388D20070C39A /* Products */, + DF8FB277476324B37E514C0D /* Pods */, + ); + sourceTree = ""; + }; + 6003F58B195388D20070C39A /* Products */ = { + isa = PBXGroup; + children = ( + 6003F58A195388D20070C39A /* MWPhotoBrowser_Example.app */, + 6003F5AE195388D20070C39A /* MWPhotoBrowser_Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 6003F58C195388D20070C39A /* Frameworks */ = { + isa = PBXGroup; + children = ( + 6003F58D195388D20070C39A /* Foundation.framework */, + 6003F58F195388D20070C39A /* CoreGraphics.framework */, + 6003F591195388D20070C39A /* UIKit.framework */, + 6003F5AF195388D20070C39A /* XCTest.framework */, + 4BCBE1DE9B52694377279881 /* Pods_MWPhotoBrowser_Example.framework */, + 6D6918980171D9D0838C32B8 /* Pods_MWPhotoBrowser_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 6003F593195388D20070C39A /* Example */ = { + isa = PBXGroup; + children = ( + 4C18E1171B47E72800E3D63A /* AppDelegate.h */, + 4C18E1181B47E72800E3D63A /* AppDelegate.m */, + 4C18E1191B47E72800E3D63A /* Menu.h */, + 4C18E11A1B47E72800E3D63A /* Menu.m */, + 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, + 6003F5A8195388D20070C39A /* Images.xcassets */, + 4C18E1431B47F05900E3D63A /* Local Media */, + 6003F594195388D20070C39A /* Supporting Files */, + ); + name = Example; + path = MWPhotoBrowser; + sourceTree = ""; + }; + 6003F594195388D20070C39A /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 6003F595195388D20070C39A /* MWPhotoBrowser-Info.plist */, + 6003F596195388D20070C39A /* InfoPlist.strings */, + 6003F599195388D20070C39A /* main.m */, + 6003F59B195388D20070C39A /* MWPhotoBrowser-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 6003F5B5195388D20070C39A /* Tests */ = { + isa = PBXGroup; + children = ( + 6003F5BB195388D20070C39A /* Tests.m */, + 6003F5B6195388D20070C39A /* Supporting Files */, + ); + path = Tests; + sourceTree = ""; + }; + 6003F5B6195388D20070C39A /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 6003F5B7195388D20070C39A /* Tests-Info.plist */, + 6003F5B8195388D20070C39A /* InfoPlist.strings */, + 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + DF8FB277476324B37E514C0D /* Pods */ = { + isa = PBXGroup; + children = ( + 919E0E0D805B36BD5EBF0AD8 /* Pods-MWPhotoBrowser_Example.debug.xcconfig */, + A98F5A9B015DF739500634D8 /* Pods-MWPhotoBrowser_Example.release.xcconfig */, + 8AE2392997CE1F844BA317A0 /* Pods-MWPhotoBrowser_Tests.debug.xcconfig */, + C7B0D993583FD1700B18B66B /* Pods-MWPhotoBrowser_Tests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 6003F589195388D20070C39A /* MWPhotoBrowser_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "MWPhotoBrowser_Example" */; + buildPhases = ( + EE135CC06A212495582BFDBE /* [CP] Check Pods Manifest.lock */, + 6003F586195388D20070C39A /* Sources */, + 6003F587195388D20070C39A /* Frameworks */, + 6003F588195388D20070C39A /* Resources */, + 383D20B3104F191290CDA14C /* [CP] Embed Pods Frameworks */, + 30782085EF9F6AAC3DB61129 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MWPhotoBrowser_Example; + productName = MWPhotoBrowser; + productReference = 6003F58A195388D20070C39A /* MWPhotoBrowser_Example.app */; + productType = "com.apple.product-type.application"; + }; + 6003F5AD195388D20070C39A /* MWPhotoBrowser_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "MWPhotoBrowser_Tests" */; + buildPhases = ( + 76016475B329D3AEF4A2BE48 /* [CP] Check Pods Manifest.lock */, + 6003F5AA195388D20070C39A /* Sources */, + 6003F5AB195388D20070C39A /* Frameworks */, + 6003F5AC195388D20070C39A /* Resources */, + C61FAB7DAA566C699A778E0E /* [CP] Embed Pods Frameworks */, + E4C257001896116932A09B7E /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + 6003F5B4195388D20070C39A /* PBXTargetDependency */, + ); + name = MWPhotoBrowser_Tests; + productName = MWPhotoBrowserTests; + productReference = 6003F5AE195388D20070C39A /* MWPhotoBrowser_Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 6003F582195388D10070C39A /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = MW; + LastUpgradeCheck = 0730; + ORGANIZATIONNAME = "Michael Waterfall"; + TargetAttributes = { + 6003F5AD195388D20070C39A = { + TestTargetID = 6003F589195388D20070C39A; + }; + }; + }; + buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "MWPhotoBrowser" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 6003F581195388D10070C39A; + productRefGroup = 6003F58B195388D20070C39A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 6003F589195388D20070C39A /* MWPhotoBrowser_Example */, + 6003F5AD195388D20070C39A /* MWPhotoBrowser_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 6003F588195388D20070C39A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0EC5D4B51B4C46E50092ACC1 /* photo1.jpg in Resources */, + 0EC5D4C31B4C46E50092ACC1 /* photo8.jpg in Resources */, + 0EC5D4B71B4C46E50092ACC1 /* photo2.jpg in Resources */, + 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, + 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, + 0EC5D4BD1B4C46E50092ACC1 /* photo5.jpg in Resources */, + 0EC5D4BF1B4C46E50092ACC1 /* photo6.jpg in Resources */, + 0EC5D4BE1B4C46E50092ACC1 /* photo5t.jpg in Resources */, + 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, + 0EC5D4BB1B4C46E50092ACC1 /* photo4.jpg in Resources */, + 0EC5D4C41B4C46E50092ACC1 /* photo8t.jpg in Resources */, + 0EC5D4C51B4C46E50092ACC1 /* video.mp4 in Resources */, + 0EC5D4C21B4C46E50092ACC1 /* photo7t.jpg in Resources */, + 0EC5D4C01B4C46E50092ACC1 /* photo6t.jpg in Resources */, + 0EC5D4C11B4C46E50092ACC1 /* photo7.jpg in Resources */, + 0EC5D4B61B4C46E50092ACC1 /* photo1t.jpg in Resources */, + 0EC5D4C91B4C480E0092ACC1 /* video_thumb.jpg in Resources */, + 0EC5D4BC1B4C46E50092ACC1 /* photo4t.jpg in Resources */, + 0EC5D4BA1B4C46E50092ACC1 /* photo3t.jpg in Resources */, + 0EC5D4B91B4C46E50092ACC1 /* photo3.jpg in Resources */, + 0EC5D4B81B4C46E50092ACC1 /* photo2t.jpg in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6003F5AC195388D20070C39A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 30782085EF9F6AAC3DB61129 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 383D20B3104F191290CDA14C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/DACircularProgress/DACircularProgress.framework", + "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework", + "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser/MWPhotoBrowser.framework", + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DACircularProgress.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MBProgressHUD.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MWPhotoBrowser.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 76016475B329D3AEF4A2BE48 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MWPhotoBrowser_Tests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + C61FAB7DAA566C699A778E0E /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/DACircularProgress/DACircularProgress.framework", + "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework", + "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser/MWPhotoBrowser.framework", + "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", + "${BUILT_PRODUCTS_DIR}/Expecta/Expecta.framework", + "${BUILT_PRODUCTS_DIR}/Expecta+Snapshots/Expecta_Snapshots.framework", + "${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework", + "${BUILT_PRODUCTS_DIR}/Specta/Specta.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/DACircularProgress.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MBProgressHUD.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/MWPhotoBrowser.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Expecta.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Expecta_Snapshots.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSnapshotTestCase.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Specta.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + E4C257001896116932A09B7E /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + EE135CC06A212495582BFDBE /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-MWPhotoBrowser_Example-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 6003F586195388D20070C39A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4C18E11B1B47E72800E3D63A /* AppDelegate.m in Sources */, + 6003F59A195388D20070C39A /* main.m in Sources */, + 4C18E11C1B47E72800E3D63A /* Menu.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6003F5AA195388D20070C39A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6003F5BC195388D20070C39A /* Tests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6003F589195388D20070C39A /* MWPhotoBrowser_Example */; + targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 6003F596195388D20070C39A /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 6003F597195388D20070C39A /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; + 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + 6003F5B9195388D20070C39A /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 6003F5BD195388D20070C39A /* 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__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = 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; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 6003F5BE195388D20070C39A /* 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__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + 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; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 6003F5C0195388D20070C39A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 919E0E0D805B36BD5EBF0AD8 /* Pods-MWPhotoBrowser_Example.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MWPhotoBrowser/MWPhotoBrowser-Prefix.pch"; + INFOPLIST_FILE = "MWPhotoBrowser/MWPhotoBrowser-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 6003F5C1195388D20070C39A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A98F5A9B015DF739500634D8 /* Pods-MWPhotoBrowser_Example.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "MWPhotoBrowser/MWPhotoBrowser-Prefix.pch"; + INFOPLIST_FILE = "MWPhotoBrowser/MWPhotoBrowser-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME)"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 6003F5C3195388D20070C39A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8AE2392997CE1F844BA317A0 /* Pods-MWPhotoBrowser_Tests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "Tests/Tests-Info.plist"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MWPhotoBrowser_Example.app/MWPhotoBrowser_Example"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 6003F5C4195388D20070C39A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C7B0D993583FD1700B18B66B /* Pods-MWPhotoBrowser_Tests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; + INFOPLIST_FILE = "Tests/Tests-Info.plist"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MWPhotoBrowser_Example.app/MWPhotoBrowser_Example"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 6003F585195388D10070C39A /* Build configuration list for PBXProject "MWPhotoBrowser" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6003F5BD195388D20070C39A /* Debug */, + 6003F5BE195388D20070C39A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "MWPhotoBrowser_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6003F5C0195388D20070C39A /* Debug */, + 6003F5C1195388D20070C39A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "MWPhotoBrowser_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 6003F5C3195388D20070C39A /* Debug */, + 6003F5C4195388D20070C39A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 6003F582195388D10070C39A /* Project object */; +} diff --git a/Example/MWPhotoBrowser/MWPhotoBrowser-Info.plist b/Example/MWPhotoBrowser/MWPhotoBrowser-Info.plist index 940966cd9..4bb6042c7 100644 --- a/Example/MWPhotoBrowser/MWPhotoBrowser-Info.plist +++ b/Example/MWPhotoBrowser/MWPhotoBrowser-Info.plist @@ -49,5 +49,9 @@ UIViewControllerBasedStatusBarAppearance + NSCameraUsageDescription + Allow MWPhotoBrowser to access Camera + NSPhotoLibraryUsageDescription + Allow MWPhotoBrowser to access Photo Library diff --git a/Example/MWPhotoBrowser/Menu.m b/Example/MWPhotoBrowser/Menu.m index 76b563539..423ea5cff 100644 --- a/Example/MWPhotoBrowser/Menu.m +++ b/Example/MWPhotoBrowser/Menu.m @@ -21,7 +21,7 @@ - (id)initWithCoder:(NSCoder *)aDecoder { self.title = @"MWPhotoBrowser"; // Clear cache for testing - [[SDImageCache sharedImageCache] clearDisk]; + [[SDImageCache sharedImageCache] clearDiskOnCompletion:nil]; [[SDImageCache sharedImageCache] clearMemory]; _segmentedControl = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"Push", @"Modal", nil]]; diff --git a/Example/Podfile b/Example/Podfile index b67576b04..5e2e87f7f 100644 --- a/Example/Podfile +++ b/Example/Podfile @@ -1,10 +1,13 @@ source 'https://github.com/CocoaPods/Specs.git' -target 'MWPhotoBrowser_Example', :exclusive => true do +platform :ios, '8.0' +use_frameworks! + +target 'MWPhotoBrowser_Example' do pod "MWPhotoBrowser", :path => "../" end -target 'MWPhotoBrowser_Tests', :exclusive => true do +target 'MWPhotoBrowser_Tests' do pod "MWPhotoBrowser", :path => "../" pod 'Specta' diff --git a/Example/Podfile.lock b/Example/Podfile.lock index b2e52edfd..8b008b419 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,19 +1,24 @@ PODS: - DACircularProgress (2.3.1) - - Expecta (1.0.0) - - Expecta+Snapshots (1.3.4): + - Expecta (1.0.6) + - Expecta+Snapshots (3.1.1): - Expecta (~> 1.0) - - FBSnapshotTestCase (~> 1.8) - - FBSnapshotTestCase (1.8.1) - - MBProgressHUD (0.9.2) - - MWPhotoBrowser (2.1.2): - - DACircularProgress (~> 2.3) - - MBProgressHUD (~> 0.9) - - SDWebImage (!= 3.7.2, ~> 3.7) - - SDWebImage (3.7.5): - - SDWebImage/Core (= 3.7.5) - - SDWebImage/Core (3.7.5) - - Specta (1.0.2) + - FBSnapshotTestCase/Core (~> 2.0) + - Specta (~> 1.0) + - FBSnapshotTestCase (2.1.4): + - FBSnapshotTestCase/SwiftSupport (= 2.1.4) + - FBSnapshotTestCase/Core (2.1.4) + - FBSnapshotTestCase/SwiftSupport (2.1.4): + - FBSnapshotTestCase/Core + - MBProgressHUD (1.1.0) + - MWPhotoBrowser (2.1.4): + - DACircularProgress (~> 2.3.1) + - MBProgressHUD (~> 1.1.0) + - SDWebImage (~> 4.2.2) + - SDWebImage (4.2.2): + - SDWebImage/Core (= 4.2.2) + - SDWebImage/Core (4.2.2) + - Specta (1.0.7) DEPENDENCIES: - Expecta @@ -28,12 +33,14 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71 - Expecta: 32604574add2c46a36f8d2f716b6c5736eb75024 - Expecta+Snapshots: ca15bfb57e7a0f78f86c7699c2c54ffacfa4ad2a - FBSnapshotTestCase: 3dc3899168747a0319c5278f5b3445c13a6532dd - MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1 - MWPhotoBrowser: 5836d7aa041dc05a13de380c246826578adc5ea5 - SDWebImage: 69c6303e3348fba97e03f65d65d4fbc26740f461 - Specta: 9cec98310dca411f7c7ffd6943552b501622abfe + Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5 + Expecta+Snapshots: dcff217eef506dabd6dfdc7864ea2da321fafbb8 + FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a + MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9 + MWPhotoBrowser: c145b4dc9dffad86f04ab807ff7d7ce078519183 + SDWebImage: 89a9d32cd520bbb46eb14e541d5109b3564af198 + Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66 -COCOAPODS: 0.39.0 +PODFILE CHECKSUM: 224dfa218add06d33581ed929244ca41d6e9c969 + +COCOAPODS: 1.3.1 diff --git a/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h b/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h index 37466e4d2..1783da58a 100644 --- a/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h +++ b/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h @@ -1,12 +1,6 @@ -// -// EXPMatchers+FBSnapshotTest.h -// Artsy -// -// Created by Daniel Doubrovkine on 1/14/14. -// Copyright (c) 2014 Artsy Inc. All rights reserved. -// - +#import #import +#import "ExpectaObject+FBSnapshotTest.h" @interface EXPExpectFBSnapshotTest : NSObject @end @@ -19,3 +13,6 @@ EXPMatcherInterface(recordSnapshot, (void)); EXPMatcherInterface(haveValidSnapshotNamed, (NSString *snapshot)); EXPMatcherInterface(recordSnapshotNamed, (NSString *snapshot)); + +EXPMatcherInterface(haveValidSnapshotNamedWithTolerance, (NSString *snapshot, CGFloat tolerance)); +EXPMatcherInterface(haveValidSnapshotWithTolerance, (CGFloat tolerance)); diff --git a/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.m b/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.m index 230d448fa..571b522c3 100644 --- a/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.m +++ b/Example/Pods/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.m @@ -1,11 +1,3 @@ -// -// EXPMatchers+FBSnapshotTest.h -// Artsy -// -// Created by Daniel Doubrovkine on 1/14/14. -// Copyright (c) 2014 Artsy Inc. All rights reserved. -// - #import "EXPMatchers+FBSnapshotTest.h" #import #import @@ -26,13 +18,15 @@ + (id)instance return instance; } -+ (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer snapshot:(NSString *)snapshot testCase:(id)testCase record:(BOOL)record referenceDirectory:(NSString *)referenceDirectory error:(NSError **)error ++ (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer snapshot:(NSString *)snapshot testCase:(id)testCase record:(BOOL)record referenceDirectory:(NSString *)referenceDirectory tolerance:(CGFloat)tolerance error:(NSError **)error { FBSnapshotTestController *snapshotController = [[FBSnapshotTestController alloc] initWithTestClass:[testCase class]]; snapshotController.recordMode = record; snapshotController.referenceImagesDirectory = referenceDirectory; - + snapshotController.usesDrawViewHierarchyInRect = [Expecta usesDrawViewHierarchyInRect]; + snapshotController.deviceAgnostic = [Expecta isDeviceAgnostic]; + if (! snapshotController.referenceImagesDirectory) { [NSException raise:@"Missing value for referenceImagesDirectory" format:@"Call [[EXPExpectFBSnapshotTest instance] setReferenceImagesDirectory"]; } @@ -40,6 +34,7 @@ + (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer snapshot:(NSString *)snapsh return [snapshotController compareSnapshotOfViewOrLayer:viewOrLayer selector:NSSelectorFromString(snapshot) identifier:nil + tolerance:tolerance error:error]; } @@ -85,26 +80,39 @@ - (NSString *)_getDefaultReferenceDirectory NSString *testFileName = [NSString stringWithCString:self.fileName encoding:NSUTF8StringEncoding]; NSArray *pathComponents = [testFileName pathComponents]; - for (NSString *folder in pathComponents) { - if ([folder.lowercaseString rangeOfString:@"tests"].location != NSNotFound) { + NSString *firstFolderFound = nil; + for (NSString *folder in pathComponents.reverseObjectEnumerator) { + if ([folder.lowercaseString rangeOfString:@"tests"].location != NSNotFound) { NSArray *folderPathComponents = [pathComponents subarrayWithRange:NSMakeRange(0, [pathComponents indexOfObject:folder] + 1)]; - return [NSString stringWithFormat:@"%@/ReferenceImages", [folderPathComponents componentsJoinedByString:@"/"]]; + NSString *referenceImagesPath = [NSString stringWithFormat:@"%@/ReferenceImages", [folderPathComponents componentsJoinedByString:@"/"]]; + if (!firstFolderFound) { + firstFolderFound = referenceImagesPath; + } + + BOOL isDirectory = NO; + BOOL referenceDirExists = [[NSFileManager defaultManager] fileExistsAtPath:referenceImagesPath isDirectory:&isDirectory]; + + // if the folder exists, this is the reference dir for sure + if (referenceDirExists && isDirectory) { + return referenceImagesPath; + } } } + // if a reference folder wasn't found, we should create one + if (firstFolderFound) { + return firstFolderFound; + } + [NSException raise:@"Could not infer reference image folder" format:@"You should provide a reference dir using setGlobalReferenceImageDir(FB_REFERENCE_IMAGE_DIR);"]; return nil; } -@end - +@end -// If you're bringing in Speca via CocoaPods -// use the test path to get the test's image file URL -#if __has_include() #import #import #import @@ -125,9 +133,14 @@ - (NSString *)_getDefaultReferenceDirectory return name; } -EXPMatcherImplementationBegin(haveValidSnapshot, (void)){ +EXPMatcherImplementationBegin(haveValidSnapshotWithTolerance, (CGFloat tolerance)){ __block NSError *error = nil; + prerequisite(^BOOL{ + return actual != nil; + }); + + match(^BOOL{ NSString *referenceImageDir = [self _getDefaultReferenceDirectory]; NSString *name = sanitizedTestPath(); @@ -138,10 +151,14 @@ - (NSString *)_getDefaultReferenceDirectory actual = [actual view]; } - return [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:name testCase:[self testCase] record:NO referenceDirectory:referenceImageDir error:&error]; + return [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:name testCase:[self testCase] record:NO referenceDirectory:referenceImageDir tolerance:tolerance error:&error]; }); failureMessageForTo(^NSString *{ + if (!actual) { + return [EXPExpectFBSnapshotTest combinedError:@"Nil was passed into haveValidSnapshot." test:sanitizedTestPath() error:nil]; + } + return [EXPExpectFBSnapshotTest combinedError:@"expected a matching snapshot in" test:sanitizedTestPath() error:error]; }); @@ -151,18 +168,22 @@ - (NSString *)_getDefaultReferenceDirectory } EXPMatcherImplementationEnd +EXPMatcherImplementationBegin(haveValidSnapshot, (void)) { + return self.haveValidSnapshotWithTolerance(0); +} +EXPMatcherImplementationEnd + EXPMatcherImplementationBegin(recordSnapshot, (void)) { __block NSError *error = nil; BOOL actualIsViewLayerOrViewController = ([actual isKindOfClass:UIView.class] || [actual isKindOfClass:CALayer.class] || [actual isKindOfClass:UIViewController.class]); prerequisite(^BOOL{ - return actualIsViewLayerOrViewController; + return actual != nil && actualIsViewLayerOrViewController; }); match(^BOOL{ NSString *referenceImageDir = [self _getDefaultReferenceDirectory]; - // For view controllers do the viewWill/viewDid dance, then pass view through if ([actual isKindOfClass:UIViewController.class]) { @@ -171,11 +192,15 @@ - (NSString *)_getDefaultReferenceDirectory actual = [actual view]; } - [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:sanitizedTestPath() testCase:[self testCase] record:YES referenceDirectory:referenceImageDir error:&error]; + [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:sanitizedTestPath() testCase:[self testCase] record:YES referenceDirectory:referenceImageDir tolerance:0 error:&error]; return NO; }); failureMessageForTo(^NSString *{ + if (!actual) { + return [EXPExpectFBSnapshotTest combinedError:@"Nil was passed into recordSnapshot." test:sanitizedTestPath() error:nil]; + } + if (!actualIsViewLayerOrViewController) { return [EXPExpectFBSnapshotTest combinedError:@"Expected a View, Layer or View Controller." test:sanitizedTestPath() error:nil]; } @@ -196,54 +221,12 @@ - (NSString *)_getDefaultReferenceDirectory } EXPMatcherImplementationEnd -#else - -// If you don't have Speca stub the functions - -EXPMatcherImplementationBegin(haveValidSnapshot, (void)){ - - prerequisite(^BOOL{ - return NO; - }); - - failureMessageForTo(^NSString *{ - return @"you need Specta installed via CocoaPods to use haveValidSnapshot, use haveValidSnapshotNamed instead"; - }); - - failureMessageForNotTo(^NSString *{ - return @"you need Specta installed via CocoaPods to use haveValidSnapshot, use haveValidSnapshotNamed instead"; - }); -} -EXPMatcherImplementationEnd - - -EXPMatcherImplementationBegin(recordSnapshot, (void)) { - - prerequisite(^BOOL{ - return NO; - }); - - failureMessageForTo(^NSString *{ - return @"you need Specta installed via CocoaPods to use recordSnapshot, use recordSnapshotNamed instead"; - }); - - failureMessageForNotTo(^NSString *{ - return @"you need Specta installed via CocoaPods to use recordSnapshot, use recordSnapshotNamed instead"; - }); -} -EXPMatcherImplementationEnd - - -#endif - - - -EXPMatcherImplementationBegin(haveValidSnapshotNamed, (NSString *snapshot)){ +EXPMatcherImplementationBegin(haveValidSnapshotNamedWithTolerance, (NSString *snapshot, CGFloat tolerance)) { BOOL snapshotIsNil = (snapshot == nil); __block NSError *error = nil; prerequisite(^BOOL{ - return !(snapshotIsNil); + return actual != nil && !(snapshotIsNil); }); match(^BOOL{ @@ -254,10 +237,14 @@ - (NSString *)_getDefaultReferenceDirectory actual = [actual view]; } - return [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:snapshot testCase:[self testCase] record:NO referenceDirectory:referenceImageDir error:&error]; + return [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:snapshot testCase:[self testCase] record:NO referenceDirectory:referenceImageDir tolerance:tolerance error:&error]; }); failureMessageForTo(^NSString *{ + if (!actual) { + return [EXPExpectFBSnapshotTest combinedError:@"Nil was passed into haveValidSnapshotNamed." test:sanitizedTestPath() error:nil]; + } + return [EXPExpectFBSnapshotTest combinedError:@"expected a matching snapshot named" test:snapshot error:error]; }); @@ -268,6 +255,11 @@ - (NSString *)_getDefaultReferenceDirectory } EXPMatcherImplementationEnd +EXPMatcherImplementationBegin(haveValidSnapshotNamed, (NSString *snapshot)) { + return self.haveValidSnapshotNamedWithTolerance(snapshot, 0); +} +EXPMatcherImplementationEnd + EXPMatcherImplementationBegin(recordSnapshotNamed, (NSString *snapshot)) { BOOL snapshotExists = (snapshot != nil); BOOL actualIsViewLayerOrViewController = ([actual isKindOfClass:UIView.class] || [actual isKindOfClass:CALayer.class] || [actual isKindOfClass:UIViewController.class]); @@ -275,12 +267,11 @@ - (NSString *)_getDefaultReferenceDirectory id actualRef = actual; prerequisite(^BOOL{ - return actualRef && snapshotExists && actualIsViewLayerOrViewController; + return actualRef != nil && snapshotExists && actualIsViewLayerOrViewController; }); match(^BOOL{ NSString *referenceImageDir = [self _getDefaultReferenceDirectory]; - // For view controllers do the viewWill/viewDid dance, then pass view through if ([actual isKindOfClass:UIViewController.class]) { [actual beginAppearanceTransition:YES animated:NO]; @@ -288,11 +279,14 @@ - (NSString *)_getDefaultReferenceDirectory actual = [actual view]; } - [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:snapshot testCase:[self testCase] record:YES referenceDirectory:referenceImageDir error:&error]; + [EXPExpectFBSnapshotTest compareSnapshotOfViewOrLayer:actual snapshot:snapshot testCase:[self testCase] record:YES referenceDirectory:referenceImageDir tolerance:0 error:&error]; return NO; }); failureMessageForTo(^NSString *{ + if (!actual) { + return [EXPExpectFBSnapshotTest combinedError:@"Nil was passed into recordSnapshotNamed." test:sanitizedTestPath() error:nil]; + } if (!actualIsViewLayerOrViewController) { return [EXPExpectFBSnapshotTest combinedError:@"Expected a View, Layer or View Controller." test:snapshot error:nil]; } diff --git a/Example/Pods/Expecta+Snapshots/README.md b/Example/Pods/Expecta+Snapshots/README.md index ada0015a7..af161b616 100644 --- a/Example/Pods/Expecta+Snapshots/README.md +++ b/Example/Pods/Expecta+Snapshots/README.md @@ -3,7 +3,7 @@ Expecta Matchers for FBSnapshotTestCase [Expecta](https://github.com/specta/expecta) matchers for [ios-snapshot-test-case](https://github.com/facebook/ios-snapshot-test-case). -[![Build Status](https://travis-ci.org/dblock/ios-snapshot-test-case-expecta.png)](https://travis-ci.org/dblock/ios-snapshot-test-case-expecta) +[![Build Status](https://travis-ci.org/dblock/ios-snapshot-test-case-expecta.svg)](https://travis-ci.org/dblock/ios-snapshot-test-case-expecta) ### Usage @@ -19,6 +19,8 @@ Use `expect(view).to.recordSnapshotNamed(@"unique snapshot name")` to record a s If you project was compiled with Specta included, you have two extra methods that use the spec hierarchy to generate the snapshot name for you: `recordSnapshot()` and `haveValidSnapshot()`. You should only call these once per `it()` block. +If you need the `usesDrawViewHierarchyInRect` property in order to correctly render UIVisualEffect, UIAppearance and Size Classes, call `[Expecta setUsesDrawViewHierarchyInRect:NO];` inside `beforeAll`. + ``` Objective-C #define EXP_SHORTHAND #include @@ -61,6 +63,15 @@ describe(@"test name derived matching", ^{ SpecEnd ``` +### Approximation support + +If for some reason you want to specify a tolerance for your test, you can use either named or unnamed matchers, where the `tolerance` parameter is a `CGFloat` in the interval `[0, 1]` and it represents the minimum ratio of unmatched points by the total number of points in your snapshot. In the example below, a tolerance of `0.01` means our `view` could be up to `1%` different from the reference image. + +``` Objective-C +expect(view).to.haveValidSnapshotWithTolerance(0.01); +expect(view).to.haveValidSnapshotNamedWithTolerance(@"unique snapshot name", 0.01); +``` + ### Sane defaults `EXPMatchers+FBSnapshotTest` will automatically figure out the tests folder, and [add a reference image](https://github.com/dblock/ios-snapshot-test-case-expecta/blob/master/EXPMatchers%2BFBSnapshotTest.m#L84-L85) directory, if you'd like to override this, you should include a `beforeAll` block setting the `setGlobalReferenceImageDir` in each file containing tests. diff --git a/Example/Pods/Expecta/Expecta/EXPDefines.h b/Example/Pods/Expecta/Expecta/EXPDefines.h index 52af72191..f37f697fa 100644 --- a/Example/Pods/Expecta/Expecta/EXPDefines.h +++ b/Example/Pods/Expecta/Expecta/EXPDefines.h @@ -9,9 +9,9 @@ #ifndef Expecta_EXPDefines_h #define Expecta_EXPDefines_h -typedef void (^EXPBasicBlock)(); -typedef id (^EXPIdBlock)(); -typedef BOOL (^EXPBoolBlock)(); -typedef NSString *(^EXPStringBlock)(); +typedef void (^EXPBasicBlock)(void); +typedef id (^EXPIdBlock)(void); +typedef BOOL (^EXPBoolBlock)(void); +typedef NSString *(^EXPStringBlock)(void); #endif diff --git a/Example/Pods/Expecta/Expecta/EXPDoubleTuple.m b/Example/Pods/Expecta/Expecta/EXPDoubleTuple.m index 829e35422..9ebef5000 100644 --- a/Example/Pods/Expecta/Expecta/EXPDoubleTuple.m +++ b/Example/Pods/Expecta/Expecta/EXPDoubleTuple.m @@ -1,6 +1,9 @@ #import "EXPDoubleTuple.h" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wobjc-designated-initializers" @implementation EXPDoubleTuple +#pragma clang diagnostic pop @synthesize values = _values, size = _size; diff --git a/Example/Pods/Expecta/Expecta/EXPExpect.m b/Example/Pods/Expecta/Expecta/EXPExpect.m index 729794d69..230e137f1 100644 --- a/Example/Pods/Expecta/Expecta/EXPExpect.m +++ b/Example/Pods/Expecta/Expecta/EXPExpect.m @@ -6,7 +6,10 @@ #import "EXPBlockDefinedMatcher.h" #import +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wobjc-designated-initializers" @implementation EXPExpect +#pragma clang diagnostic pop @dynamic actual, @@ -42,6 +45,7 @@ - (instancetype)initWithActualBlock:(id)actualBlock testCase:(id)testCase lineNu - (void)dealloc { + [_actualBlock release]; _actualBlock = nil; [super dealloc]; } @@ -176,7 +180,10 @@ - (void)forwardInvocation:(NSInvocation *)anInvocation @end +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wobjc-designated-initializers" @implementation EXPDynamicPredicateMatcher +#pragma clang diagnostic pop - (instancetype)initWithExpectation:(EXPExpect *)expectation selector:(SEL)selector { diff --git a/Example/Pods/Expecta/Expecta/EXPFloatTuple.m b/Example/Pods/Expecta/Expecta/EXPFloatTuple.m index 8e8505bca..b7ccf0856 100644 --- a/Example/Pods/Expecta/Expecta/EXPFloatTuple.m +++ b/Example/Pods/Expecta/Expecta/EXPFloatTuple.m @@ -1,6 +1,9 @@ #import "EXPFloatTuple.h" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wobjc-designated-initializers" @implementation EXPFloatTuple +#pragma clang diagnostic pop @synthesize values = _values, size = _size; diff --git a/Example/Pods/Expecta/Expecta/EXPUnsupportedObject.m b/Example/Pods/Expecta/Expecta/EXPUnsupportedObject.m index 4312beff1..3d062e3ea 100644 --- a/Example/Pods/Expecta/Expecta/EXPUnsupportedObject.m +++ b/Example/Pods/Expecta/Expecta/EXPUnsupportedObject.m @@ -1,6 +1,9 @@ #import "EXPUnsupportedObject.h" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wobjc-designated-initializers" @implementation EXPUnsupportedObject +#pragma clang diagnostic pop @synthesize type=_type; diff --git a/Example/Pods/Expecta/Expecta/Expecta.h b/Example/Pods/Expecta/Expecta/Expecta.h index 6e5188e62..066e98837 100644 --- a/Example/Pods/Expecta/Expecta/Expecta.h +++ b/Example/Pods/Expecta/Expecta/Expecta.h @@ -12,4 +12,4 @@ FOUNDATION_EXPORT const unsigned char ExpectaVersionString[]; // Enable shorthand by default #define expect(...) EXP_expect((__VA_ARGS__)) -#define failure(...) EXP_failure((__VA_ARGS__)) \ No newline at end of file +#define failure(...) EXP_failure((__VA_ARGS__)) diff --git a/Example/Pods/Expecta/Expecta/ExpectaObject.h b/Example/Pods/Expecta/Expecta/ExpectaObject.h index ef2a38aaf..e4277a9ae 100644 --- a/Example/Pods/Expecta/Expecta/ExpectaObject.h +++ b/Example/Pods/Expecta/Expecta/ExpectaObject.h @@ -1,7 +1,7 @@ #import #define EXPObjectify(value) _EXPObjectify(@encode(__typeof__((value))), (value)) -#define EXP_expect(actual) _EXP_expect(self, __LINE__, __FILE__, ^id{ return EXPObjectify((actual)); }) +#define EXP_expect(actual) _EXP_expect(self, __LINE__, __FILE__, ^id{ __typeof__((actual)) strongActual = (actual); return EXPObjectify(strongActual); }) #define EXPMatcherInterface(matcherName, matcherArguments) _EXPMatcherInterface(matcherName, matcherArguments) #define EXPMatcherImplementationBegin(matcherName, matcherArguments) _EXPMatcherImplementationBegin(matcherName, matcherArguments) #define EXPMatcherImplementationEnd _EXPMatcherImplementationEnd diff --git a/Example/Pods/Expecta/Expecta/ExpectaSupport.h b/Example/Pods/Expecta/Expecta/ExpectaSupport.h index fb0ef4f46..28fc5e0e4 100644 --- a/Example/Pods/Expecta/Expecta/ExpectaSupport.h +++ b/Example/Pods/Expecta/Expecta/ExpectaSupport.h @@ -53,6 +53,7 @@ EXPFixCategoriesBug(EXPMatcher##matcherName##Matcher); \ #define _EXPMatcherImplementationEnd \ } \ [self applyMatcher:matcher to:&actual]; \ + [[[NSThread currentThread] threadDictionary] removeObjectForKey:@"EXP_currentMatcher"]; \ } copy]; \ _EXP_release(matcher); \ return _EXP_autorelease(matcherBlock); \ diff --git a/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+equal.m b/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+equal.m index a610df029..0dc4d33d5 100644 --- a/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+equal.m +++ b/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+equal.m @@ -21,7 +21,14 @@ }); failureMessageForTo(^NSString *{ - return [NSString stringWithFormat:@"expected: %@, got: %@", EXPDescribeObject(expected), EXPDescribeObject(actual)]; + NSString *expectedDescription = EXPDescribeObject(expected); + NSString *actualDescription = EXPDescribeObject(actual); + + if (![expectedDescription isEqualToString:actualDescription]) { + return [NSString stringWithFormat:@"expected: %@, got: %@", EXPDescribeObject(expected), EXPDescribeObject(actual)]; + } else { + return [NSString stringWithFormat:@"expected (%@): %@, got (%@): %@", NSStringFromClass([expected class]), EXPDescribeObject(expected), NSStringFromClass([actual class]), EXPDescribeObject(actual)]; + } }); failureMessageForNotTo(^NSString *{ diff --git a/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+respondTo.m b/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+respondTo.m index d294113ff..597aeec49 100644 --- a/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+respondTo.m +++ b/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+respondTo.m @@ -4,12 +4,16 @@ EXPMatcherImplementationBegin(respondTo, (SEL expected)) { BOOL actualIsNil = (actual == nil); BOOL expectedIsNull = (expected == NULL); - + prerequisite (^BOOL { return !(actualIsNil || expectedIsNull); }); match(^BOOL { + if ([actual respondsToSelector:@selector(instancesRespondToSelector:)] && + [actual instancesRespondToSelector:expected]) { + return YES; + } return [actual respondsToSelector:expected]; }); diff --git a/Example/Pods/Expecta/README.md b/Example/Pods/Expecta/README.md index c3eb64862..afebcf259 100644 --- a/Example/Pods/Expecta/README.md +++ b/Example/Pods/Expecta/README.md @@ -1,13 +1,8 @@ -#Expecta - -[![Build Status](http://img.shields.io/travis/specta/expecta/master.svg?style=flat)](https://travis-ci.org/specta/expecta) -[![Pod Version](http://img.shields.io/cocoapods/v/Expecta.svg?style=flat)](http://cocoadocs.org/docsets/Expecta/) -[![Pod Platform](http://img.shields.io/cocoapods/p/Expecta.svg?style=flat)](http://cocoadocs.org/docsets/Expecta/) -[![Pod License](http://img.shields.io/cocoapods/l/Expecta.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html) +# Expecta [![Build Status](http://img.shields.io/travis/specta/expecta/master.svg?style=flat)](https://travis-ci.org/specta/expecta) [![Pod Version](http://img.shields.io/cocoapods/v/Expecta.svg?style=flat)](http://cocoadocs.org/docsets/Expecta/) A matcher framework for Objective-C and Cocoa. -## Introduction +## FEATURES The main advantage of using Expecta over other matcher frameworks is that you do not have to specify the data types. Also, the syntax of Expecta matchers is much more readable and does not suffer from parenthesitis. @@ -18,63 +13,10 @@ expect([bar isBar]).to.equal(YES); expect(baz).to.equal(3.14159); ``` -Expecta is framework-agnostic: it works well with XCTest and XCTest-compatible test frameworks such as [Specta](http://github.com/petejkim/specta/). - - -## Setup - -You can setup Expecta using [Carthage](https://github.com/Carthage/Carthage), [CocoaPods](http://github.com/CocoaPods/CocoaPods) or [completely manually](#setting-up-manually). - -### Carthage +Expecta is framework-agnostic: it works well with XCTest and XCTest-compatible test frameworks such as [Specta](http://github.com/petejkim/specta/), or [Kiwi](https://github.com/kiwi-bdd/Kiwi/). -1. Add Expecta to your project's `Cartfile.private`: - ```ruby - github "specta/expecta" "master" - ``` - -2. Run `carthage update` in your project directory. -3. Drag the appropriate **Expecta.framework** for your platform (located in `Carthage/Build/`) into your application’s Xcode project, and add it to your test target(s). - -### CocoaPods - -1. Add Expecta to your project's `Podfile`: - - ```ruby - target :MyApp do - # Your app's dependencies - end - - target :MyAppTests do - pod 'Expecta', '~> 0.2.4' - end - ``` - -2. Run `pod update` or `pod install` in your project directory. - -### Setting Up Manually - -1. Clone Expecta from Github. -2. Run `rake` in your project directory to build the frameworks and libraries. -3. Add a Cocoa or Cocoa Touch Unit Testing Bundle target to your Xcode project if you don't already have one. -4. For **OS X projects**, copy and add `Expecta.framework` in the `Products/osx` folder to your project's test target. - - For **iOS projects**, copy and add `Expecta.framework` in the `Products/ios` folder to your project's test target. - - You can also use `libExpecta.a` if you prefer to link Expecta as a static library — iOS 7.x and below require this. - -6. Add `-ObjC` and `-all_load` to the **Other Linker Flags** build setting for the test target in your Xcode project. -7. You can now use Expecta in your test classes by adding the following import: - - ```objective-c - @import Expecta; // If you're using Expecta.framework - - // OR - - #import // If you're using the static library, or the framework - ``` - -## Built-in Matchers +## MATCHERS > `expect(x).to.equal(y);` compares objects or primitives x and y and passes if they are identical (==) or equivalent isEqual:). @@ -132,13 +74,13 @@ You can setup Expecta using [Carthage](https://github.com/Carthage/Carthage), [C > `expect(x).to.match(y);` passes if an instance of NSString `x` matches regular expression (given as NSString) `y` one or more times. -## Inverting Matchers +### Inverting Matchers Every matcher's criteria can be inverted by prepending `.notTo` or `.toNot`: >`expect(x).notTo.equal(y);` compares objects or primitives x and y and passes if they are *not* equivalent. -## Asynchronous Testing +### Asynchronous Testing Every matcher can be made to perform asynchronous testing by prepending `.will`, `.willNot` or `after(...)`: @@ -172,14 +114,14 @@ describe(@"Foo", ^{ }); ``` -## Forced Failing +### Forced Failing You can fail a test by using the `failure` attribute. This can be used to test branching. > `failure(@"This should not happen");` outright fails a test. -## Writing New Matchers +### WRITING NEW MATCHERS Writing a new matcher is easy with special macros provided by Expecta. Take a look at how `.beKindOf()` matcher is defined: @@ -246,7 +188,7 @@ EXPMatcherImplementationBegin(beKindOf, (Class expected)) { EXPMatcherImplementationEnd ``` -## Dynamic Predicate Matchers +## DYNAMIC PREDICATE MATCHERS It is possible to add predicate matchers by simply defining the matcher interface, with the matcher implementation being handled at runtime by delegating to the predicate method on your object. @@ -282,6 +224,68 @@ You can now write your assertion as follows: expect(lightSwitch).isTurnedOn(); ``` +## INSTALLATION + +You can setup Expecta using [CocoaPods](http://github.com/CocoaPods/CocoaPods), [Carthage](https://github.com/Carthage/Carthage) or [completely manually](#setting-up-manually). + +### CocoaPods + +1. Add Expecta to your project's `Podfile`: + +```ruby +target :MyApp do +# your app dependencies + + target :MyAppTests do + inherit! search_paths + + pod 'Expecta', '~> 1.0' + end +end +``` + +### Carthage + +1. Add Expecta to your project's `Cartfile.private`: + + ```ruby + github "specta/expecta" "master" + ``` + +2. Run `carthage update` in your project directory. +3. Drag the appropriate **Expecta.framework** for your platform (located in `Carthage/Build/`) into your application’s Xcode project, and add it to your test target(s). + + +2. Run `pod update` or `pod install` in your project directory. + +### Setting Up Manually + +1. Clone Expecta from Github. +2. Run `rake` in your project directory to build the frameworks and libraries. +3. Add a Cocoa or Cocoa Touch Unit Testing Bundle target to your Xcode project if you don't already have one. +4. For **OS X projects**, copy and add `Expecta.framework` in the `Products/osx` folder to your project's test target. + + For **iOS projects**, copy and add `Expecta.framework` in the `Products/ios` folder to your project's test target. + + You can also use `libExpecta.a` if you prefer to link Expecta as a static library — iOS 7.x and below require this. + +6. Add `-ObjC` and `-all_load` to the **Other Linker Flags** build setting for the test target in your Xcode project. +7. You can now use Expecta in your test classes by adding the following import: + + ```objective-c + @import Expecta; // If you're using Expecta.framework + + // OR + + #import // If you're using the static library, or the framework + ``` + +## STATUS + +Expecta, and Specta are considered done projects, there are no plans for _active_ development on the project at the moment aside from ensuring future Xcode compatability. +Therefore it is a stable dependency, but will not be moving into the Swift world. If you are looking for that, we recommend you consider [Quick](https://github.com/quick/quick) and [Nimble](https://github.com/quick/nimble). + + ## Contribution Guidelines * Please use only spaces and indent 2 spaces at a time. @@ -290,4 +294,4 @@ expect(lightSwitch).isTurnedOn(); ## License -Copyright (c) 2012-2015 [Specta Team](https://github.com/specta?tab=members). This software is licensed under the [MIT License](http://github.com/specta/specta/raw/master/LICENSE). +Copyright (c) 2012-2016 [Specta Team](https://github.com/specta?tab=members). This software is licensed under the [MIT License](http://github.com/specta/specta/raw/master/LICENSE). diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.h b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.h index 9fd2e54af..72abc3c00 100644 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.h +++ b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Facebook, Inc. + * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the @@ -9,6 +9,7 @@ */ #import +#import #import @@ -16,8 +17,19 @@ #import +/* + There are three ways of setting reference image directories. + + 1. Set the preprocessor macro FB_REFERENCE_IMAGE_DIR to a double quoted + c-string with the path. + 2. Set an environment variable named FB_REFERENCE_IMAGE_DIR with the path. This + takes precedence over the preprocessor macro to allow for run-time override. + 3. Keep everything unset, which will cause the reference images to be looked up + inside the bundle holding the current test, in the + Resources/ReferenceImages_* directories. + */ #ifndef FB_REFERENCE_IMAGE_DIR -#define FB_REFERENCE_IMAGE_DIR "\"$(SOURCE_ROOT)/$(PROJECT_NAME)Tests/ReferenceImages\"" +#define FB_REFERENCE_IMAGE_DIR "" #endif /** @@ -25,57 +37,47 @@ @param view The view to snapshot @param identifier An optional identifier, used if there are multiple snapshot tests in a given -test method. @param suffixes An NSOrderedSet of strings for the different suffixes + @param tolerance The percentage of pixels that can differ and still count as an 'identical' view */ -#define FBSnapshotVerifyViewWithOptions(view__, identifier__, suffixes__) \ -{ \ -NSError *error__ = nil; \ -BOOL comparisonSuccess__; \ -XCTAssertTrue((suffixes__.count > 0), @"Suffixes set cannot be empty %@", suffixes__); \ -for (NSString *suffix__ in suffixes__) { \ -NSString *referenceImagesDirectory__ = [NSString stringWithFormat:@"%s%@", FB_REFERENCE_IMAGE_DIR, suffix__]; \ -comparisonSuccess__ = [self compareSnapshotOfView:(view__) referenceImagesDirectory:referenceImagesDirectory__ identifier:(identifier__) error:&error__]; \ -if (comparisonSuccess__ || self.recordMode) break; \ -} \ -XCTAssertTrue(comparisonSuccess__, @"Snapshot comparison failed: %@", error__); \ -XCTAssertFalse(self.recordMode, @"Test ran in record mode. Reference image is now saved. Disable record mode to perform an actual snapshot comparison!"); \ -} +#define FBSnapshotVerifyViewWithOptions(view__, identifier__, suffixes__, tolerance__) \ + FBSnapshotVerifyViewOrLayerWithOptions(View, view__, identifier__, suffixes__, tolerance__) #define FBSnapshotVerifyView(view__, identifier__) \ -{ \ -FBSnapshotVerifyViewWithOptions(view__, identifier__, FBSnapshotTestCaseDefaultSuffixes()); \ -} + FBSnapshotVerifyViewWithOptions(view__, identifier__, FBSnapshotTestCaseDefaultSuffixes(), 0) + /** Similar to our much-loved XCTAssert() macros. Use this to perform your test. No need to write an explanation, though. @param layer The layer to snapshot - @param identifier An optional identifier, used is there are multiple snapshot tests in a given -test method. + @param identifier An optional identifier, used if there are multiple snapshot tests in a given -test method. @param suffixes An NSOrderedSet of strings for the different suffixes + @param tolerance The percentage of pixels that can differ and still count as an 'identical' layer */ -#define FBSnapshotVerifyLayerWithOptions(layer__, identifier__, suffixes__) \ -{ \ -NSError *error__ = nil; \ -BOOL comparisonSuccess__; \ -XCTAssertTrue((suffixes__.count > 0), @"Suffixes set cannot be empty %@", suffixes__); \ -for (NSString *suffix__ in suffixes__) { \ -NSString *referenceImagesDirectory__ = [NSString stringWithFormat:@"%s%@", FB_REFERENCE_IMAGE_DIR, suffix__]; \ -comparisonSuccess__ = [self compareSnapshotOfLayer:(layer__) referenceImagesDirectory:referenceImagesDirectory__ identifier:(identifier__) error:&error__]; \ -if (comparisonSuccess__ || self.recordMode) break; \ -} \ -XCTAssertTrue(comparisonSuccess__, @"Snapshot comparison failed: %@", error__); \ -XCTAssertFalse(self.recordMode, @"Test ran in record mode. Reference image is now saved. Disable record mode to perform an actual snapshot comparison!"); \ -} +#define FBSnapshotVerifyLayerWithOptions(layer__, identifier__, suffixes__, tolerance__) \ + FBSnapshotVerifyViewOrLayerWithOptions(Layer, layer__, identifier__, suffixes__, tolerance__) #define FBSnapshotVerifyLayer(layer__, identifier__) \ + FBSnapshotVerifyLayerWithOptions(layer__, identifier__, FBSnapshotTestCaseDefaultSuffixes(), 0) + + +#define FBSnapshotVerifyViewOrLayerWithOptions(what__, viewOrLayer__, identifier__, suffixes__, tolerance__) \ { \ -FBSnapshotVerifyLayerWithOptions(layer__, identifier__, FBSnapshotTestCaseDefaultSuffixes()); \ + NSString *errorDescription = [self snapshotVerifyViewOrLayer:viewOrLayer__ identifier:identifier__ suffixes:suffixes__ tolerance:tolerance__]; \ + BOOL noErrors = (errorDescription == nil); \ + XCTAssertTrue(noErrors, @"%@", errorDescription); \ } + /** The base class of view snapshotting tests. If you have small UI component, it's often easier to configure it in a test and compare an image of the view to a reference image that write lots of complex layout-code tests. In order to flip the tests in your subclass to record the reference images set @c recordMode to @c YES. + @attention When recording, the reference image directory should be explicitly + set, otherwise the images may be written to somewhere inside the + simulator directory. + For example: @code - (void)setUp @@ -92,17 +94,52 @@ FBSnapshotVerifyLayerWithOptions(layer__, identifier__, FBSnapshotTestCaseDefaul */ @property (readwrite, nonatomic, assign) BOOL recordMode; +/** + When @c YES appends the name of the device model and OS to the snapshot file name. + The default value is @c NO. + */ +@property (readwrite, nonatomic, assign, getter=isDeviceAgnostic) BOOL deviceAgnostic; + +/** + When YES, renders a snapshot of the complete view hierarchy as visible onscreen. + There are several things that do not work if renderInContext: is used. + - UIVisualEffect #70 + - UIAppearance #91 + - Size Classes #92 + + @attention If the view does't belong to a UIWindow, it will create one and add the view as a subview. + */ +@property (readwrite, nonatomic, assign) BOOL usesDrawViewHierarchyInRect; + +- (void)setUp NS_REQUIRES_SUPER; +- (void)tearDown NS_REQUIRES_SUPER; + +/** + Performs the comparison or records a snapshot of the layer if recordMode is YES. + @param viewOrLayer The UIView or CALayer to snapshot + @param identifier An optional identifier, used if there are multiple snapshot tests in a given -test method. + @param suffixes An NSOrderedSet of strings for the different suffixes + @param tolerance The percentage difference to still count as identical - 0 mean pixel perfect, 1 means I don't care + @returns nil if the comparison (or saving of the reference image) succeeded. Otherwise it contains an error description. + */ +- (NSString *)snapshotVerifyViewOrLayer:(id)viewOrLayer + identifier:(NSString *)identifier + suffixes:(NSOrderedSet *)suffixes + tolerance:(CGFloat)tolerance; + /** Performs the comparison or records a snapshot of the layer if recordMode is YES. @param layer The Layer to snapshot @param referenceImagesDirectory The directory in which reference images are stored. @param identifier An optional identifier, used if there are multiple snapshot tests in a given -test method. + @param tolerance The percentage difference to still count as identical - 0 mean pixel perfect, 1 means I don't care @param errorPtr An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). @returns YES if the comparison (or saving of the reference image) succeeded. */ - (BOOL)compareSnapshotOfLayer:(CALayer *)layer referenceImagesDirectory:(NSString *)referenceImagesDirectory identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr; /** @@ -110,12 +147,34 @@ FBSnapshotVerifyLayerWithOptions(layer__, identifier__, FBSnapshotTestCaseDefaul @param view The view to snapshot @param referenceImagesDirectory The directory in which reference images are stored. @param identifier An optional identifier, used if there are multiple snapshot tests in a given -test method. + @param tolerance The percentage difference to still count as identical - 0 mean pixel perfect, 1 means I don't care @param errorPtr An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). @returns YES if the comparison (or saving of the reference image) succeeded. */ - (BOOL)compareSnapshotOfView:(UIView *)view referenceImagesDirectory:(NSString *)referenceImagesDirectory identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr; +/** + Checks if reference image with identifier based name exists in the reference images directory. + @param referenceImagesDirectory The directory in which reference images are stored. + @param identifier An optional identifier, used if there are multiple snapshot tests in a given -test method. + @param errorPtr An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). + @returns YES if reference image exists. + */ +- (BOOL)referenceImageRecordedInDirectory:(NSString *)referenceImagesDirectory + identifier:(NSString *)identifier + error:(NSError **)errorPtr; + +/** + Returns the reference image directory. + + Helper function used to implement the assert macros. + + @param dir directory to use if environment variable not specified. Ignored if null or empty. + */ +- (NSString *)getReferenceImageDirectoryWithDefault:(NSString *)dir; + @end diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.m b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.m index 4e840ce98..f44458ce8 100644 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.m +++ b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.m @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Facebook, Inc. + * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the @@ -8,15 +8,16 @@ * */ -#import "FBSnapshotTestCase.h" - -#import "FBSnapshotTestController.h" +#import +#import @implementation FBSnapshotTestCase { FBSnapshotTestController *_snapshotController; } +#pragma mark - Overrides + - (void)setUp { [super setUp]; @@ -40,40 +41,151 @@ - (void)setRecordMode:(BOOL)recordMode _snapshotController.recordMode = recordMode; } +- (BOOL)isDeviceAgnostic +{ + return _snapshotController.deviceAgnostic; +} + +- (void)setDeviceAgnostic:(BOOL)deviceAgnostic +{ + NSAssert1(_snapshotController, @"%s cannot be called before [super setUp]", __FUNCTION__); + _snapshotController.deviceAgnostic = deviceAgnostic; +} + +- (BOOL)usesDrawViewHierarchyInRect +{ + return _snapshotController.usesDrawViewHierarchyInRect; +} + +- (void)setUsesDrawViewHierarchyInRect:(BOOL)usesDrawViewHierarchyInRect +{ + NSAssert1(_snapshotController, @"%s cannot be called before [super setUp]", __FUNCTION__); + _snapshotController.usesDrawViewHierarchyInRect = usesDrawViewHierarchyInRect; +} + +#pragma mark - Public API + +- (NSString *)snapshotVerifyViewOrLayer:(id)viewOrLayer + identifier:(NSString *)identifier + suffixes:(NSOrderedSet *)suffixes + tolerance:(CGFloat)tolerance +{ + if (nil == viewOrLayer) { + return @"Object to be snapshotted must not be nil"; + } + NSString *referenceImageDirectory = [self getReferenceImageDirectoryWithDefault:(@ FB_REFERENCE_IMAGE_DIR)]; + if (referenceImageDirectory == nil) { + return @"Missing value for referenceImagesDirectory - Set FB_REFERENCE_IMAGE_DIR as Environment variable in your scheme."; + } + if (suffixes.count == 0) { + return [NSString stringWithFormat:@"Suffixes set cannot be empty %@", suffixes]; + } + + BOOL testSuccess = NO; + NSError *error = nil; + NSMutableArray *errors = [NSMutableArray array]; + + if (self.recordMode) { + NSString *referenceImagesDirectory = [NSString stringWithFormat:@"%@%@", referenceImageDirectory, suffixes.firstObject]; + BOOL referenceImageSaved = [self _compareSnapshotOfViewOrLayer:viewOrLayer referenceImagesDirectory:referenceImagesDirectory identifier:(identifier) tolerance:tolerance error:&error]; + if (!referenceImageSaved) { + [errors addObject:error]; + } + } else { + for (NSString *suffix in suffixes) { + NSString *referenceImagesDirectory = [NSString stringWithFormat:@"%@%@", referenceImageDirectory, suffix]; + BOOL referenceImageAvailable = [self referenceImageRecordedInDirectory:referenceImagesDirectory identifier:(identifier) error:&error]; + + if (referenceImageAvailable) { + BOOL comparisonSuccess = [self _compareSnapshotOfViewOrLayer:viewOrLayer referenceImagesDirectory:referenceImagesDirectory identifier:identifier tolerance:tolerance error:&error]; + [errors removeAllObjects]; + if (comparisonSuccess) { + testSuccess = YES; + break; + } else { + [errors addObject:error]; + } + } else { + [errors addObject:error]; + } + } + } + + if (!testSuccess) { + return [NSString stringWithFormat:@"Snapshot comparison failed: %@", errors.firstObject]; + } + if (self.recordMode) { + return @"Test ran in record mode. Reference image is now saved. Disable record mode to perform an actual snapshot comparison!"; + } + + return nil; +} + - (BOOL)compareSnapshotOfLayer:(CALayer *)layer referenceImagesDirectory:(NSString *)referenceImagesDirectory identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr { return [self _compareSnapshotOfViewOrLayer:layer referenceImagesDirectory:referenceImagesDirectory identifier:identifier + tolerance:tolerance error:errorPtr]; } - (BOOL)compareSnapshotOfView:(UIView *)view referenceImagesDirectory:(NSString *)referenceImagesDirectory identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr { return [self _compareSnapshotOfViewOrLayer:view referenceImagesDirectory:referenceImagesDirectory identifier:identifier + tolerance:tolerance error:errorPtr]; } -#pragma mark - -#pragma mark Private API +- (BOOL)referenceImageRecordedInDirectory:(NSString *)referenceImagesDirectory + identifier:(NSString *)identifier + error:(NSError **)errorPtr +{ + NSAssert1(_snapshotController, @"%s cannot be called before [super setUp]", __FUNCTION__); + _snapshotController.referenceImagesDirectory = referenceImagesDirectory; + UIImage *referenceImage = [_snapshotController referenceImageForSelector:self.invocation.selector + identifier:identifier + error:errorPtr]; + + return (referenceImage != nil); +} + +- (NSString *)getReferenceImageDirectoryWithDefault:(NSString *)dir +{ + NSString *envReferenceImageDirectory = [NSProcessInfo processInfo].environment[@"FB_REFERENCE_IMAGE_DIR"]; + if (envReferenceImageDirectory) { + return envReferenceImageDirectory; + } + if (dir && dir.length > 0) { + return dir; + } + return [[NSBundle bundleForClass:self.class].resourcePath stringByAppendingPathComponent:@"ReferenceImages"]; +} + + +#pragma mark - Private API - (BOOL)_compareSnapshotOfViewOrLayer:(id)viewOrLayer referenceImagesDirectory:(NSString *)referenceImagesDirectory identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr { _snapshotController.referenceImagesDirectory = referenceImagesDirectory; return [_snapshotController compareSnapshotOfViewOrLayer:viewOrLayer selector:self.invocation.selector identifier:identifier + tolerance:tolerance error:errorPtr]; } diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h index 99f648052..e04acf2f3 100644 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h +++ b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h @@ -30,6 +30,14 @@ BOOL FBSnapshotTestCaseIs64Bit(void); @returns An @c NSOrderedSet object containing strings that are appended to the reference images directory. */ NSOrderedSet *FBSnapshotTestCaseDefaultSuffixes(void); + +/** + Returns a fully «normalized» file name. + Strips punctuation and spaces and replaces them with @c _. Also appends the device model, running OS and screen size to the file name. + + @returns An @c NSString object containing the passed @c fileName with the device model, OS and screen size appended at the end. + */ +NSString *FBDeviceAgnosticNormalizedFileName(NSString *fileName); #ifdef __cplusplus } diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.m b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.m index 95746c811..d8709d8bc 100644 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.m +++ b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.m @@ -9,6 +9,8 @@ */ #import +#import +#import BOOL FBSnapshotTestCaseIs64Bit(void) { @@ -29,3 +31,21 @@ BOOL FBSnapshotTestCaseIs64Bit(void) } return [suffixesSet copy]; } + +NSString *FBDeviceAgnosticNormalizedFileName(NSString *fileName) +{ + UIDevice *device = [UIDevice currentDevice]; + UIWindow *keyWindow = [[UIApplication sharedApplication] fb_strictKeyWindow]; + CGSize screenSize = keyWindow.bounds.size; + NSString *os = device.systemVersion; + + fileName = [NSString stringWithFormat:@"%@_%@%@_%.0fx%.0f", fileName, device.model, os, screenSize.width, screenSize.height]; + + NSMutableCharacterSet *invalidCharacters = [NSMutableCharacterSet new]; + [invalidCharacters formUnionWithCharacterSet:[NSCharacterSet whitespaceCharacterSet]]; + [invalidCharacters formUnionWithCharacterSet:[NSCharacterSet punctuationCharacterSet]]; + NSArray *validComponents = [fileName componentsSeparatedByCharactersInSet:invalidCharacters]; + fileName = [validComponents componentsJoinedByString:@"_"]; + + return fileName; +} \ No newline at end of file diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.h b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.h index f9b698464..a0285ad8a 100644 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.h +++ b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Facebook, Inc. + * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the @@ -28,6 +28,21 @@ extern NSString *const FBSnapshotTestControllerErrorDomain; */ extern NSString *const FBReferenceImageFilePathKey; +/** + Errors returned by the methods of FBSnapshotTestController sometimes contain this key in the `userInfo` dictionary. + */ +extern NSString *const FBReferenceImageKey; + +/** + Errors returned by the methods of FBSnapshotTestController sometimes contain this key in the `userInfo` dictionary. + */ +extern NSString *const FBCapturedImageKey; + +/** + Errors returned by the methods of FBSnapshotTestController sometimes contain this key in the `userInfo` dictionary. + */ +extern NSString *const FBDiffedImageKey; + /** Provides the heavy-lifting for FBSnapshotTestCase. It loads and saves images, along with performing the actual pixel- by-pixel comparison of images. @@ -37,9 +52,25 @@ extern NSString *const FBReferenceImageFilePathKey; /** Record snapshots. - **/ + */ @property (readwrite, nonatomic, assign) BOOL recordMode; +/** + When @c YES appends the name of the device model and OS to the snapshot file name. + The default value is @c NO. + */ +@property (readwrite, nonatomic, assign, getter=isDeviceAgnostic) BOOL deviceAgnostic; + +/** + Uses drawViewHierarchyInRect:afterScreenUpdates: to draw the image instead of renderInContext: + */ +@property (readwrite, nonatomic, assign) BOOL usesDrawViewHierarchyInRect; + +/** + The directory in which referfence images are stored. + */ +@property (readwrite, nonatomic, copy) NSString *referenceImagesDirectory; + /** @param testClass The subclass of FBSnapshotTestCase that is using this controller. @returns An instance of FBSnapshotTestController. @@ -53,7 +84,6 @@ extern NSString *const FBReferenceImageFilePathKey; */ - (instancetype)initWithTestName:(NSString *)testName; - /** Performs the comparison of the layer. @param layer The Layer to snapshot. @@ -85,20 +115,16 @@ extern NSString *const FBReferenceImageFilePathKey; @param view The view or layer to snapshot. @param selector The test method being run. @param identifier An optional identifier, used is there are muliptle snapshot tests in a given -test method. + @param tolerance The percentage of pixels that can differ and still be considered 'identical' @param error An error to log in an XCTAssert() macro if the method fails (missing reference image, images differ, etc). @returns YES if the comparison (or saving of the reference image) succeeded. */ - (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer selector:(SEL)selector identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr; - -/** - The directory in which referfence images are stored. - */ -@property (readwrite, nonatomic, copy) NSString *referenceImagesDirectory; - /** Loads a reference image. @param selector The test method being run. @@ -111,26 +137,16 @@ extern NSString *const FBReferenceImageFilePathKey; error:(NSError **)errorPtr; /** - Saves a reference image. - @param selector The test method being run. - @param identifier The optional identifier, used when multiple images are tested in a single -test method. - @param errorPtr An error, if this methods returns NO, the error will be something useful. - @returns An image. - */ -- (BOOL)saveReferenceImage:(UIImage *)image - selector:(SEL)selector - identifier:(NSString *)identifier - error:(NSError **)errorPtr; - -/** - Performs a pixel-by-pixel comparison of the two images. + Performs a pixel-by-pixel comparison of the two images with an allowable margin of error. @param referenceImage The reference (correct) image. @param image The image to test against the reference. + @param tolerance The percentage of pixels that can differ and still be considered 'identical' @param errorPtr An error that indicates why the comparison failed if it does. - @returns YES if the comparison succeeded and the images are the same. + @returns YES if the comparison succeeded and the images are the same(ish). */ - (BOOL)compareReferenceImage:(UIImage *)referenceImage toImage:(UIImage *)image + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr; /** diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.m b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.m index 125f15a6f..74c5a0a6d 100644 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.m +++ b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.m @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Facebook, Inc. + * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the @@ -8,16 +8,26 @@ * */ -#import "FBSnapshotTestController.h" - -#import "UIImage+Compare.h" -#import "UIImage+Diff.h" +#import +#import +#import +#import +#import #import NSString *const FBSnapshotTestControllerErrorDomain = @"FBSnapshotTestControllerErrorDomain"; - NSString *const FBReferenceImageFilePathKey = @"FBReferenceImageFilePathKey"; +NSString *const FBReferenceImageKey = @"FBReferenceImageKey"; +NSString *const FBCapturedImageKey = @"FBCapturedImageKey"; +NSString *const FBDiffedImageKey = @"FBDiffedImageKey"; + +typedef NS_ENUM(NSUInteger, FBTestSnapshotFileNameType) { + FBTestSnapshotFileNameTypeReference, + FBTestSnapshotFileNameTypeFailedReference, + FBTestSnapshotFileNameTypeFailedTest, + FBTestSnapshotFileNameTypeFailedTestDiff, +}; @implementation FBSnapshotTestController { @@ -25,8 +35,7 @@ @implementation FBSnapshotTestController NSFileManager *_fileManager; } -#pragma mark - -#pragma mark Lifecycle +#pragma mark - Initializers - (instancetype)initWithTestClass:(Class)testClass; { @@ -35,23 +44,60 @@ - (instancetype)initWithTestClass:(Class)testClass; - (instancetype)initWithTestName:(NSString *)testName { - if ((self = [super init])) { + if (self = [super init]) { _testName = [testName copy]; + _deviceAgnostic = NO; + _fileManager = [[NSFileManager alloc] init]; } return self; } -#pragma mark - -#pragma mark Properties +#pragma mark - Overrides - (NSString *)description { return [NSString stringWithFormat:@"%@ %@", [super description], _referenceImagesDirectory]; } -#pragma mark - -#pragma mark Public API +#pragma mark - Public API + +- (BOOL)compareSnapshotOfLayer:(CALayer *)layer + selector:(SEL)selector + identifier:(NSString *)identifier + error:(NSError **)errorPtr +{ + return [self compareSnapshotOfViewOrLayer:layer + selector:selector + identifier:identifier + tolerance:0 + error:errorPtr]; +} + +- (BOOL)compareSnapshotOfView:(UIView *)view + selector:(SEL)selector + identifier:(NSString *)identifier + error:(NSError **)errorPtr +{ + return [self compareSnapshotOfViewOrLayer:view + selector:selector + identifier:identifier + tolerance:0 + error:errorPtr]; +} + +- (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer + selector:(SEL)selector + identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance + error:(NSError **)errorPtr +{ + if (self.recordMode) { + return [self _recordSnapshotOfViewOrLayer:viewOrLayer selector:selector identifier:identifier error:errorPtr]; + } else { + return [self _performPixelComparisonWithViewOrLayer:viewOrLayer selector:selector identifier:identifier tolerance:tolerance error:errorPtr]; + } +} - (UIImage *)referenceImageForSelector:(SEL)selector identifier:(NSString *)identifier @@ -78,42 +124,33 @@ - (UIImage *)referenceImageForSelector:(SEL)selector return image; } -- (BOOL)saveReferenceImage:(UIImage *)image - selector:(SEL)selector - identifier:(NSString *)identifier - error:(NSError **)errorPtr +- (BOOL)compareReferenceImage:(UIImage *)referenceImage + toImage:(UIImage *)image + tolerance:(CGFloat)tolerance + error:(NSError **)errorPtr { - BOOL didWrite = NO; - if (nil != image) { - NSString *filePath = [self _referenceFilePathForSelector:selector identifier:identifier]; - NSData *pngData = UIImagePNGRepresentation(image); - if (nil != pngData) { - NSError *creationError = nil; - BOOL didCreateDir = [_fileManager createDirectoryAtPath:[filePath stringByDeletingLastPathComponent] - withIntermediateDirectories:YES - attributes:nil - error:&creationError]; - if (!didCreateDir) { - if (NULL != errorPtr) { - *errorPtr = creationError; - } - return NO; - } - didWrite = [pngData writeToFile:filePath options:NSDataWritingAtomic error:errorPtr]; - if (didWrite) { - NSLog(@"Reference image save at: %@", filePath); - } - } else { - if (nil != errorPtr) { - *errorPtr = [NSError errorWithDomain:FBSnapshotTestControllerErrorDomain - code:FBSnapshotTestControllerErrorCodePNGCreationFailed - userInfo:@{ - FBReferenceImageFilePathKey: filePath, - }]; - } - } + BOOL sameImageDimensions = CGSizeEqualToSize(referenceImage.size, image.size); + if (sameImageDimensions && [referenceImage fb_compareWithImage:image tolerance:tolerance]) { + return YES; } - return didWrite; + + if (NULL != errorPtr) { + NSString *errorDescription = sameImageDimensions ? @"Images different" : @"Images different sizes"; + NSString *errorReason = sameImageDimensions ? [NSString stringWithFormat:@"image pixels differed by more than %.2f%% from the reference image", tolerance * 100] + : [NSString stringWithFormat:@"referenceImage:%@, image:%@", NSStringFromCGSize(referenceImage.size), NSStringFromCGSize(image.size)]; + FBSnapshotTestControllerErrorCode errorCode = sameImageDimensions ? FBSnapshotTestControllerErrorCodeImagesDifferent : FBSnapshotTestControllerErrorCodeImagesDifferentSizes; + + *errorPtr = [NSError errorWithDomain:FBSnapshotTestControllerErrorDomain + code:errorCode + userInfo:@{ + NSLocalizedDescriptionKey: errorDescription, + NSLocalizedFailureReasonErrorKey: errorReason, + FBReferenceImageKey: referenceImage, + FBCapturedImageKey: image, + FBDiffedImageKey: [referenceImage fb_diffWithImage:image], + }]; + } + return NO; } - (BOOL)saveFailedReferenceImage:(UIImage *)referenceImage @@ -157,7 +194,7 @@ - (BOOL)saveFailedReferenceImage:(UIImage *)referenceImage identifier:identifier fileNameType:FBTestSnapshotFileNameTypeFailedTestDiff]; - UIImage *diffImage = [referenceImage diffWithImage:testImage]; + UIImage *diffImage = [referenceImage fb_diffWithImage:testImage]; NSData *diffImageData = UIImagePNGRepresentation(diffImage); if (![diffImageData writeToFile:diffPath options:NSDataWritingAtomic error:errorPtr]) { @@ -170,42 +207,7 @@ - (BOOL)saveFailedReferenceImage:(UIImage *)referenceImage return YES; } -- (BOOL)compareReferenceImage:(UIImage *)referenceImage toImage:(UIImage *)image error:(NSError **)errorPtr -{ - if (CGSizeEqualToSize(referenceImage.size, image.size)) { - - BOOL imagesEqual = [referenceImage compareWithImage:image]; - if (NULL != errorPtr) { - *errorPtr = [NSError errorWithDomain:FBSnapshotTestControllerErrorDomain - code:FBSnapshotTestControllerErrorCodeImagesDifferent - userInfo:@{ - NSLocalizedDescriptionKey: @"Images different", - }]; - } - return imagesEqual; - } - if (NULL != errorPtr) { - *errorPtr = [NSError errorWithDomain:FBSnapshotTestControllerErrorDomain - code:FBSnapshotTestControllerErrorCodeImagesDifferentSizes - userInfo:@{ - NSLocalizedDescriptionKey: @"Images different sizes", - NSLocalizedFailureReasonErrorKey: [NSString stringWithFormat:@"referenceImage:%@, image:%@", - NSStringFromCGSize(referenceImage.size), - NSStringFromCGSize(image.size)], - }]; - } - return NO; -} - -#pragma mark - -#pragma mark Private API - -typedef NS_ENUM(NSUInteger, FBTestSnapshotFileNameType) { - FBTestSnapshotFileNameTypeReference, - FBTestSnapshotFileNameTypeFailedReference, - FBTestSnapshotFileNameTypeFailedTest, - FBTestSnapshotFileNameTypeFailedTestDiff, -}; +#pragma mark - Private API - (NSString *)_fileNameForSelector:(SEL)selector identifier:(NSString *)identifier @@ -230,6 +232,11 @@ - (NSString *)_fileNameForSelector:(SEL)selector if (0 < identifier.length) { fileName = [fileName stringByAppendingFormat:@"_%@", identifier]; } + + if (self.isDeviceAgnostic) { + fileName = FBDeviceAgnosticNormalizedFileName(fileName); + } + if ([[UIScreen mainScreen] scale] > 1) { fileName = [fileName stringByAppendingFormat:@"@%.fx", [[UIScreen mainScreen] scale]]; } @@ -237,7 +244,8 @@ - (NSString *)_fileNameForSelector:(SEL)selector return fileName; } -- (NSString *)_referenceFilePathForSelector:(SEL)selector identifier:(NSString *)identifier +- (NSString *)_referenceFilePathForSelector:(SEL)selector + identifier:(NSString *)identifier { NSString *fileName = [self _fileNameForSelector:selector identifier:identifier @@ -263,58 +271,21 @@ - (NSString *)_failedFilePathForSelector:(SEL)selector return filePath; } -- (BOOL)compareSnapshotOfLayer:(CALayer *)layer - selector:(SEL)selector - identifier:(NSString *)identifier - error:(NSError **)errorPtr -{ - return [self compareSnapshotOfViewOrLayer:layer - selector:selector - identifier:identifier - error:errorPtr]; -} - -- (BOOL)compareSnapshotOfView:(UIView *)view - selector:(SEL)selector - identifier:(NSString *)identifier - error:(NSError **)errorPtr -{ - return [self compareSnapshotOfViewOrLayer:view - selector:selector - identifier:identifier - error:errorPtr]; -} - -- (BOOL)compareSnapshotOfViewOrLayer:(id)viewOrLayer - selector:(SEL)selector - identifier:(NSString *)identifier - error:(NSError **)errorPtr -{ - if (self.recordMode) { - return [self _recordSnapshotOfViewOrLayer:viewOrLayer selector:selector identifier:identifier error:errorPtr]; - } else { - return [self _performPixelComparisonWithViewOrLayer:viewOrLayer selector:selector identifier:identifier error:errorPtr]; - } -} - -#pragma mark - -#pragma mark Private API - -- (BOOL)_performPixelComparisonWithViewOrLayer:(UIView *)viewOrLayer +- (BOOL)_performPixelComparisonWithViewOrLayer:(id)viewOrLayer selector:(SEL)selector identifier:(NSString *)identifier + tolerance:(CGFloat)tolerance error:(NSError **)errorPtr { UIImage *referenceImage = [self referenceImageForSelector:selector identifier:identifier error:errorPtr]; if (nil != referenceImage) { - UIImage *snapshot = [self _snapshotViewOrLayer:viewOrLayer]; - BOOL imagesSame = [self compareReferenceImage:referenceImage toImage:snapshot error:errorPtr]; + UIImage *snapshot = [self _imageForViewOrLayer:viewOrLayer]; + BOOL imagesSame = [self compareReferenceImage:referenceImage toImage:snapshot tolerance:tolerance error:errorPtr]; if (!imagesSame) { - [self saveFailedReferenceImage:referenceImage - testImage:snapshot - selector:selector - identifier:identifier - error:errorPtr]; + NSError *saveError = nil; + if ([self saveFailedReferenceImage:referenceImage testImage:snapshot selector:selector identifier:identifier error:&saveError] == NO) { + NSLog(@"Error saving test images: %@", saveError); + } } return imagesSame; } @@ -326,53 +297,62 @@ - (BOOL)_recordSnapshotOfViewOrLayer:(id)viewOrLayer identifier:(NSString *)identifier error:(NSError **)errorPtr { - UIImage *snapshot = [self _snapshotViewOrLayer:viewOrLayer]; - return [self saveReferenceImage:snapshot selector:selector identifier:identifier error:errorPtr]; + UIImage *snapshot = [self _imageForViewOrLayer:viewOrLayer]; + return [self _saveReferenceImage:snapshot selector:selector identifier:identifier error:errorPtr]; } -- (UIImage *)_snapshotViewOrLayer:(id)viewOrLayer +- (BOOL)_saveReferenceImage:(UIImage *)image + selector:(SEL)selector + identifier:(NSString *)identifier + error:(NSError **)errorPtr +{ + BOOL didWrite = NO; + if (nil != image) { + NSString *filePath = [self _referenceFilePathForSelector:selector identifier:identifier]; + NSData *pngData = UIImagePNGRepresentation(image); + if (nil != pngData) { + NSError *creationError = nil; + BOOL didCreateDir = [_fileManager createDirectoryAtPath:[filePath stringByDeletingLastPathComponent] + withIntermediateDirectories:YES + attributes:nil + error:&creationError]; + if (!didCreateDir) { + if (NULL != errorPtr) { + *errorPtr = creationError; + } + return NO; + } + didWrite = [pngData writeToFile:filePath options:NSDataWritingAtomic error:errorPtr]; + if (didWrite) { + NSLog(@"Reference image save at: %@", filePath); + } + } else { + if (nil != errorPtr) { + *errorPtr = [NSError errorWithDomain:FBSnapshotTestControllerErrorDomain + code:FBSnapshotTestControllerErrorCodePNGCreationFailed + userInfo:@{ + FBReferenceImageFilePathKey: filePath, + }]; + } + } + } + return didWrite; +} + +- (UIImage *)_imageForViewOrLayer:(id)viewOrLayer { - CALayer *layer = nil; - if ([viewOrLayer isKindOfClass:[UIView class]]) { - return [self _renderView:viewOrLayer]; + if (_usesDrawViewHierarchyInRect) { + return [UIImage fb_imageForView:viewOrLayer]; + } else { + return [UIImage fb_imageForViewLayer:viewOrLayer]; + } } else if ([viewOrLayer isKindOfClass:[CALayer class]]) { - layer = (CALayer *)viewOrLayer; - [layer layoutIfNeeded]; - return [self _renderLayer:layer]; + return [UIImage fb_imageForLayer:viewOrLayer]; } else { [NSException raise:@"Only UIView and CALayer classes can be snapshotted" format:@"%@", viewOrLayer]; } return nil; } -- (UIImage *)_renderLayer:(CALayer *)layer -{ - CGRect bounds = layer.bounds; - - NSAssert1(CGRectGetWidth(bounds), @"Zero width for layer %@", layer); - NSAssert1(CGRectGetHeight(bounds), @"Zero height for layer %@", layer); - - UIGraphicsBeginImageContextWithOptions(bounds.size, NO, 0); - CGContextRef context = UIGraphicsGetCurrentContext(); - NSAssert1(context, @"Could not generate context for layer %@", layer); - - CGContextSaveGState(context); - { - [layer renderInContext:context]; - } - CGContextRestoreGState(context); - - UIImage *snapshot = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsEndImageContext(); - - return snapshot; -} - -- (UIImage *)_renderView:(UIView *)view -{ - [view layoutIfNeeded]; - return [self _renderLayer:view.layer]; -} - @end diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.h b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.h deleted file mode 100644 index 11c6fa638..000000000 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// Created by Gabriel Handford on 3/1/09. -// Copyright 2009-2013. All rights reserved. -// Created by John Boiles on 10/20/11. -// Copyright (c) 2011. All rights reserved -// Modified by Felix Schulze on 2/11/13. -// Copyright 2013. All rights reserved. -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without -// restriction, including without limitation the rights to use, -// copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following -// conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - -#import - -@interface UIImage (Compare) - -- (BOOL)compareWithImage:(UIImage *)image; - -@end diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.m b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.m deleted file mode 100644 index 2b26e029d..000000000 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.m +++ /dev/null @@ -1,91 +0,0 @@ -// -// Created by Gabriel Handford on 3/1/09. -// Copyright 2009-2013. All rights reserved. -// Created by John Boiles on 10/20/11. -// Copyright (c) 2011. All rights reserved -// Modified by Felix Schulze on 2/11/13. -// Copyright 2013. All rights reserved. -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without -// restriction, including without limitation the rights to use, -// copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following -// conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - -#import "UIImage+Compare.h" - -@implementation UIImage (Compare) - -- (BOOL)compareWithImage:(UIImage *)image -{ - NSAssert(CGSizeEqualToSize(self.size, image.size), @"Images must be same size."); - - // The images have the equal size, so we could use the smallest amount of bytes because of byte padding - size_t minBytesPerRow = MIN(CGImageGetBytesPerRow(self.CGImage), CGImageGetBytesPerRow(image.CGImage)); - size_t referenceImageSizeBytes = CGImageGetHeight(self.CGImage) * minBytesPerRow; - void *referenceImagePixels = calloc(1, referenceImageSizeBytes); - void *imagePixels = calloc(1, referenceImageSizeBytes); - - if (!referenceImagePixels || !imagePixels) { - free(referenceImagePixels); - free(imagePixels); - return NO; - } - - CGContextRef referenceImageContext = CGBitmapContextCreate(referenceImagePixels, - CGImageGetWidth(self.CGImage), - CGImageGetHeight(self.CGImage), - CGImageGetBitsPerComponent(self.CGImage), - minBytesPerRow, - CGImageGetColorSpace(self.CGImage), - (CGBitmapInfo)kCGImageAlphaPremultipliedLast - ); - CGContextRef imageContext = CGBitmapContextCreate(imagePixels, - CGImageGetWidth(image.CGImage), - CGImageGetHeight(image.CGImage), - CGImageGetBitsPerComponent(image.CGImage), - minBytesPerRow, - CGImageGetColorSpace(image.CGImage), - (CGBitmapInfo)kCGImageAlphaPremultipliedLast - ); - - CGFloat scaleFactor = [[UIScreen mainScreen] scale]; - CGContextScaleCTM(referenceImageContext, scaleFactor, scaleFactor); - CGContextScaleCTM(imageContext, scaleFactor, scaleFactor); - - if (!referenceImageContext || !imageContext) { - CGContextRelease(referenceImageContext); - CGContextRelease(imageContext); - free(referenceImagePixels); - free(imagePixels); - return NO; - } - - CGContextDrawImage(referenceImageContext, CGRectMake(0, 0, self.size.width, self.size.height), self.CGImage); - CGContextDrawImage(imageContext, CGRectMake(0, 0, image.size.width, image.size.height), image.CGImage); - CGContextRelease(referenceImageContext); - CGContextRelease(imageContext); - - BOOL imageEqual = (memcmp(referenceImagePixels, imagePixels, referenceImageSizeBytes) == 0); - free(referenceImagePixels); - free(imagePixels); - return imageEqual; -} - -@end diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.h b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.h deleted file mode 100644 index 35595843f..000000000 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.h +++ /dev/null @@ -1,37 +0,0 @@ -// -// Created by Gabriel Handford on 3/1/09. -// Copyright 2009-2013. All rights reserved. -// Created by John Boiles on 10/20/11. -// Copyright (c) 2011. All rights reserved -// Modified by Felix Schulze on 2/11/13. -// Copyright 2013. All rights reserved. -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without -// restriction, including without limitation the rights to use, -// copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following -// conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - -#import - -@interface UIImage (Diff) - -- (UIImage *)diffWithImage:(UIImage *)image; - -@end diff --git a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.m b/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.m deleted file mode 100644 index cb3dae53a..000000000 --- a/Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.m +++ /dev/null @@ -1,56 +0,0 @@ -// -// Created by Gabriel Handford on 3/1/09. -// Copyright 2009-2013. All rights reserved. -// Created by John Boiles on 10/20/11. -// Copyright (c) 2011. All rights reserved -// Modified by Felix Schulze on 2/11/13. -// Copyright 2013. All rights reserved. -// -// Permission is hereby granted, free of charge, to any person -// obtaining a copy of this software and associated documentation -// files (the "Software"), to deal in the Software without -// restriction, including without limitation the rights to use, -// copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the -// Software is furnished to do so, subject to the following -// conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -// OTHER DEALINGS IN THE SOFTWARE. -// - -#import "UIImage+Diff.h" - -@implementation UIImage (Diff) - -- (UIImage *)diffWithImage:(UIImage *)image -{ - if (!image) { - return nil; - } - CGSize imageSize = CGSizeMake(MAX(self.size.width, image.size.width), MAX(self.size.height, image.size.height)); - UIGraphicsBeginImageContextWithOptions(imageSize, YES, 0); - CGContextRef context = UIGraphicsGetCurrentContext(); - [self drawInRect:CGRectMake(0, 0, self.size.width, self.size.height)]; - CGContextSetAlpha(context, 0.5); - CGContextBeginTransparencyLayer(context, NULL); - [image drawInRect:CGRectMake(0, 0, image.size.width, image.size.height)]; - CGContextSetBlendMode(context, kCGBlendModeDifference); - CGContextSetFillColorWithColor(context,[UIColor whiteColor].CGColor); - CGContextFillRect(context, CGRectMake(0, 0, self.size.width, self.size.height)); - CGContextEndTransparencyLayer(context); - UIImage *returnImage = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsEndImageContext(); - return returnImage; -} - -@end diff --git a/Example/Pods/FBSnapshotTestCase/README.md b/Example/Pods/FBSnapshotTestCase/README.md index 0a7c6256f..bc23b8378 100644 --- a/Example/Pods/FBSnapshotTestCase/README.md +++ b/Example/Pods/FBSnapshotTestCase/README.md @@ -1,7 +1,7 @@ FBSnapshotTestCase ====================== -[![Build Status](https://travis-ci.org/facebook/ios-snapshot-test-case.svg)](https://travis-ci.org/facebook/ios-snapshot-test-case) +[![Build Status](https://travis-ci.org/facebook/ios-snapshot-test-case.svg)](https://travis-ci.org/facebook/ios-snapshot-test-case) [![Cocoa Pod Version](https://cocoapod-badges.herokuapp.com/v/FBSnapshotTestCase/badge.svg)](http://cocoadocs.org/docsets/FBSnapshotTestCase/) What it does ------------ @@ -40,13 +40,18 @@ Installation with CocoaPods end ``` + If you support iOS 7 use `FBSnapshotTestCase/Core` instead, which doesn't contain Swift support. + Replace "Tests" with the name of your test project. -2. Define `FB_REFERENCE_IMAGE_DIR` in `GCC_PREPROCESSOR_DEFINITIONS`. This should - point to the directory where you want reference images to be stored. At Facebook, - we normally use this: +2. There are [three ways](https://github.com/facebook/ios-snapshot-test-case/blob/master/FBSnapshotTestCase/FBSnapshotTestCase.h#L19-L29) of setting reference image directories, the recommended one is to define `FB_REFERENCE_IMAGE_DIR` in your scheme. This should point to the directory where you want reference images to be stored. At Facebook, we normally use this: + +|Name|Value| +|:---|:----| +|`FB_REFERENCE_IMAGE_DIR`|`$(SOURCE_ROOT)/$(PROJECT_NAME)Tests/ReferenceImages`| + - `GCC_PREPROCESSOR_DEFINITIONS = $(inherited) FB_REFERENCE_IMAGE_DIR="\"$(SOURCE_ROOT)/$(PROJECT_NAME)Tests/ReferenceImages\""` +![](FBSnapshotTestCaseDemo/Scheme_FB_REFERENCE_IMAGE_DIR.png) Creating a snapshot test ------------------------ @@ -68,6 +73,8 @@ Features - Supply an optional "identifier" if you want to perform multiple snapshots in a single test method. - Support for `CALayer` via `FBSnapshotVerifyLayer`. +- `usesDrawViewHierarchyInRect` to handle cases like `UIVisualEffect`, `UIAppearance` and Size Classes. +- `isDeviceAgnostic` to allow appending the device model (`iPhone`, `iPad`, `iPod Touch`, etc), OS version and screen size to the images (allowing to have multiple tests for the same «snapshot» for different `OS`s and devices). Notes ----- diff --git a/Example/Pods/Headers/Private/DACircularProgress/DACircularProgressView.h b/Example/Pods/Headers/Private/DACircularProgress/DACircularProgressView.h deleted file mode 120000 index b67e984a6..000000000 --- a/Example/Pods/Headers/Private/DACircularProgress/DACircularProgressView.h +++ /dev/null @@ -1 +0,0 @@ -../../../DACircularProgress/DACircularProgress/DACircularProgressView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/DACircularProgress/DALabeledCircularProgressView.h b/Example/Pods/Headers/Private/DACircularProgress/DALabeledCircularProgressView.h deleted file mode 120000 index 89a694f3e..000000000 --- a/Example/Pods/Headers/Private/DACircularProgress/DALabeledCircularProgressView.h +++ /dev/null @@ -1 +0,0 @@ -../../../DACircularProgress/DACircularProgress/DALabeledCircularProgressView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h b/Example/Pods/Headers/Private/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h deleted file mode 120000 index 93356db7f..000000000 --- a/Example/Pods/Headers/Private/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h b/Example/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h deleted file mode 120000 index ebefa87b1..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPBlockDefinedMatcher.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPDefines.h b/Example/Pods/Headers/Private/Expecta/EXPDefines.h deleted file mode 120000 index 22add0cdc..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPDefines.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPDefines.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPDoubleTuple.h b/Example/Pods/Headers/Private/Expecta/EXPDoubleTuple.h deleted file mode 120000 index 54aa0b5e6..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPDoubleTuple.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPDoubleTuple.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPExpect.h b/Example/Pods/Headers/Private/Expecta/EXPExpect.h deleted file mode 120000 index a677bddfc..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPExpect.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPExpect.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPFloatTuple.h b/Example/Pods/Headers/Private/Expecta/EXPFloatTuple.h deleted file mode 120000 index 2b405694a..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPFloatTuple.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPFloatTuple.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatcher.h b/Example/Pods/Headers/Private/Expecta/EXPMatcher.h deleted file mode 120000 index 3b20a122c..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatcher.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPMatcher.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h b/Example/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h deleted file mode 120000 index 697385b07..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatcherHelpers.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h deleted file mode 120000 index 0eed377cb..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h deleted file mode 120000 index 92643c49a..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beFalsy.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h deleted file mode 120000 index 1ccc62b4a..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThan.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h deleted file mode 120000 index db5bf966a..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h deleted file mode 120000 index 6e17ea43e..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beIdenticalTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h deleted file mode 120000 index 362d8a7f6..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beInTheRangeOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h deleted file mode 120000 index 4dd60632f..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beInstanceOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h deleted file mode 120000 index 113c7d372..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beKindOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h deleted file mode 120000 index 675e86a56..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThan.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h deleted file mode 120000 index c16df2f05..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h deleted file mode 120000 index 9f65a6c12..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beNil.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h deleted file mode 120000 index 27aa7bea5..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beSubclassOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h deleted file mode 120000 index ea3f770a1..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beSupersetOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h deleted file mode 120000 index 192ac764e..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beTruthy.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h deleted file mode 120000 index 2efba8fea..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beginWith.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h deleted file mode 120000 index 062fb51d7..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+conformTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+contain.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+contain.h deleted file mode 120000 index 3661fe5f3..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+contain.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+contain.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h deleted file mode 120000 index 7e6c9cf1c..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+endWith.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+equal.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+equal.h deleted file mode 120000 index 7bee78866..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+equal.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+equal.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h deleted file mode 120000 index f46d23adf..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+haveCountOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+match.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+match.h deleted file mode 120000 index 18f995de6..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+match.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+match.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+postNotification.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+postNotification.h deleted file mode 120000 index c9422e3e7..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+postNotification.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+postNotification.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+raise.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+raise.h deleted file mode 120000 index 901e04c19..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+raise.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+raise.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h deleted file mode 120000 index 5b063b64e..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+raiseWithReason.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h deleted file mode 120000 index e7a5fad13..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+respondTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPMatchers.h b/Example/Pods/Headers/Private/Expecta/EXPMatchers.h deleted file mode 120000 index a454dc408..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPMatchers.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h b/Example/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h deleted file mode 120000 index 60fae89f1..000000000 --- a/Example/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPUnsupportedObject.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/Expecta.h b/Example/Pods/Headers/Private/Expecta/Expecta.h deleted file mode 120000 index 45ef877d8..000000000 --- a/Example/Pods/Headers/Private/Expecta/Expecta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Expecta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/ExpectaObject.h b/Example/Pods/Headers/Private/Expecta/ExpectaObject.h deleted file mode 120000 index 36a99e13b..000000000 --- a/Example/Pods/Headers/Private/Expecta/ExpectaObject.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/ExpectaObject.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/ExpectaSupport.h b/Example/Pods/Headers/Private/Expecta/ExpectaSupport.h deleted file mode 120000 index c59d3fc60..000000000 --- a/Example/Pods/Headers/Private/Expecta/ExpectaSupport.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/ExpectaSupport.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/NSObject+Expecta.h b/Example/Pods/Headers/Private/Expecta/NSObject+Expecta.h deleted file mode 120000 index 55c3635a6..000000000 --- a/Example/Pods/Headers/Private/Expecta/NSObject+Expecta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/NSObject+Expecta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Expecta/NSValue+Expecta.h b/Example/Pods/Headers/Private/Expecta/NSValue+Expecta.h deleted file mode 120000 index ee557b848..000000000 --- a/Example/Pods/Headers/Private/Expecta/NSValue+Expecta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/NSValue+Expecta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestCase.h b/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestCase.h deleted file mode 120000 index 2925eab14..000000000 --- a/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestCase.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h b/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h deleted file mode 120000 index 6127a30c8..000000000 --- a/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestController.h b/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestController.h deleted file mode 120000 index 4a7dea130..000000000 --- a/Example/Pods/Headers/Private/FBSnapshotTestCase/FBSnapshotTestController.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/FBSnapshotTestCase/UIImage+Compare.h b/Example/Pods/Headers/Private/FBSnapshotTestCase/UIImage+Compare.h deleted file mode 120000 index a68eafb67..000000000 --- a/Example/Pods/Headers/Private/FBSnapshotTestCase/UIImage+Compare.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/FBSnapshotTestCase/UIImage+Diff.h b/Example/Pods/Headers/Private/FBSnapshotTestCase/UIImage+Diff.h deleted file mode 120000 index f21e64d33..000000000 --- a/Example/Pods/Headers/Private/FBSnapshotTestCase/UIImage+Diff.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h b/Example/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h deleted file mode 120000 index 19ed4db7d..000000000 --- a/Example/Pods/Headers/Private/MBProgressHUD/MBProgressHUD.h +++ /dev/null @@ -1 +0,0 @@ -../../../MBProgressHUD/MBProgressHUD.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWCaptionView.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWCaptionView.h deleted file mode 120000 index a5887c667..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWCaptionView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWCaptionView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWCommon.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWCommon.h deleted file mode 120000 index cd2ef983c..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWCommon.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWCommon.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWGridCell.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWGridCell.h deleted file mode 120000 index ed9f6936d..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWGridCell.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWGridCell.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWGridViewController.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWGridViewController.h deleted file mode 120000 index 463dc2a00..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWGridViewController.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWGridViewController.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhoto.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhoto.h deleted file mode 120000 index b7fe05294..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhoto.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhoto.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoBrowser.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoBrowser.h deleted file mode 120000 index 4cb1b8a96..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoBrowser.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhotoBrowser.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoBrowserPrivate.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoBrowserPrivate.h deleted file mode 120000 index ad465d89b..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoBrowserPrivate.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhotoBrowserPrivate.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoProtocol.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoProtocol.h deleted file mode 120000 index fa3da5cc6..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWPhotoProtocol.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhotoProtocol.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWTapDetectingImageView.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWTapDetectingImageView.h deleted file mode 120000 index 0e7dfd8b1..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWTapDetectingImageView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWTapDetectingImageView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWTapDetectingView.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWTapDetectingView.h deleted file mode 120000 index 8203ed0f6..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWTapDetectingView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWTapDetectingView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/MWZoomingScrollView.h b/Example/Pods/Headers/Private/MWPhotoBrowser/MWZoomingScrollView.h deleted file mode 120000 index 62ccefecc..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/MWZoomingScrollView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWZoomingScrollView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/MWPhotoBrowser/UIImage+MWPhotoBrowser.h b/Example/Pods/Headers/Private/MWPhotoBrowser/UIImage+MWPhotoBrowser.h deleted file mode 120000 index 763285f35..000000000 --- a/Example/Pods/Headers/Private/MWPhotoBrowser/UIImage+MWPhotoBrowser.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/UIImage+MWPhotoBrowser.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h b/Example/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h deleted file mode 120000 index 84574987a..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/NSData+ImageContentType.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/NSData+ImageContentType.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDImageCache.h b/Example/Pods/Headers/Private/SDWebImage/SDImageCache.h deleted file mode 120000 index 0040b06a1..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDImageCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDImageCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h deleted file mode 120000 index 6ca247842..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImageCompat.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageCompat.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h deleted file mode 120000 index a2f3a683d..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImageDecoder.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageDecoder.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h deleted file mode 120000 index 303b03b1e..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImageDownloader.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageDownloader.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h deleted file mode 120000 index 99441c485..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImageDownloaderOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImageManager.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImageManager.h deleted file mode 120000 index 1b8184856..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImageManager.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageManager.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h deleted file mode 120000 index 20e5b89ef..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImageOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageOperation.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h b/Example/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h deleted file mode 120000 index 50585c6d0..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/SDWebImagePrefetcher.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h b/Example/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h deleted file mode 120000 index 19d2d8e8c..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/UIButton+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIButton+WebCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/UIImage+GIF.h b/Example/Pods/Headers/Private/SDWebImage/UIImage+GIF.h deleted file mode 120000 index 14d5aadd9..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/UIImage+GIF.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImage+GIF.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h b/Example/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h deleted file mode 120000 index 1fb965010..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/UIImage+MultiFormat.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h b/Example/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h deleted file mode 120000 index fd4dea41e..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/UIImageView+HighlightedWebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h b/Example/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h deleted file mode 120000 index 0c53a47b8..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/UIImageView+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImageView+WebCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h b/Example/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h deleted file mode 120000 index f9890c406..000000000 --- a/Example/Pods/Headers/Private/SDWebImage/UIView+WebCacheOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTCallSite.h b/Example/Pods/Headers/Private/Specta/SPTCallSite.h deleted file mode 120000 index dbb535a60..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTCallSite.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTCallSite.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTCompiledExample.h b/Example/Pods/Headers/Private/Specta/SPTCompiledExample.h deleted file mode 120000 index 659770480..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTCompiledExample.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTCompiledExample.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTExample.h b/Example/Pods/Headers/Private/Specta/SPTExample.h deleted file mode 120000 index 79a18d4c5..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTExample.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTExample.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTExampleGroup.h b/Example/Pods/Headers/Private/Specta/SPTExampleGroup.h deleted file mode 120000 index 1effac57b..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTExampleGroup.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTExampleGroup.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTExcludeGlobalBeforeAfterEach.h b/Example/Pods/Headers/Private/Specta/SPTExcludeGlobalBeforeAfterEach.h deleted file mode 120000 index 64df73423..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTExcludeGlobalBeforeAfterEach.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTGlobalBeforeAfterEach.h b/Example/Pods/Headers/Private/Specta/SPTGlobalBeforeAfterEach.h deleted file mode 120000 index 7f83b65ff..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTGlobalBeforeAfterEach.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTGlobalBeforeAfterEach.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTSharedExampleGroups.h b/Example/Pods/Headers/Private/Specta/SPTSharedExampleGroups.h deleted file mode 120000 index 579d360e6..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTSharedExampleGroups.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTSharedExampleGroups.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTSpec.h b/Example/Pods/Headers/Private/Specta/SPTSpec.h deleted file mode 120000 index 3b1679ae8..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTSpec.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTSpec.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SPTTestSuite.h b/Example/Pods/Headers/Private/Specta/SPTTestSuite.h deleted file mode 120000 index 2f607e468..000000000 --- a/Example/Pods/Headers/Private/Specta/SPTTestSuite.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTTestSuite.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/Specta.h b/Example/Pods/Headers/Private/Specta/Specta.h deleted file mode 120000 index 111c968e9..000000000 --- a/Example/Pods/Headers/Private/Specta/Specta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/Specta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SpectaDSL.h b/Example/Pods/Headers/Private/Specta/SpectaDSL.h deleted file mode 120000 index fd1ad3756..000000000 --- a/Example/Pods/Headers/Private/Specta/SpectaDSL.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SpectaDSL.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SpectaTypes.h b/Example/Pods/Headers/Private/Specta/SpectaTypes.h deleted file mode 120000 index 9428b1324..000000000 --- a/Example/Pods/Headers/Private/Specta/SpectaTypes.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SpectaTypes.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/SpectaUtility.h b/Example/Pods/Headers/Private/Specta/SpectaUtility.h deleted file mode 120000 index 576248091..000000000 --- a/Example/Pods/Headers/Private/Specta/SpectaUtility.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SpectaUtility.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/XCTest+Private.h b/Example/Pods/Headers/Private/Specta/XCTest+Private.h deleted file mode 120000 index bb4a8e026..000000000 --- a/Example/Pods/Headers/Private/Specta/XCTest+Private.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/XCTest+Private.h \ No newline at end of file diff --git a/Example/Pods/Headers/Private/Specta/XCTestCase+Specta.h b/Example/Pods/Headers/Private/Specta/XCTestCase+Specta.h deleted file mode 120000 index 95f58cccd..000000000 --- a/Example/Pods/Headers/Private/Specta/XCTestCase+Specta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/XCTestCase+Specta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/DACircularProgress/DACircularProgressView.h b/Example/Pods/Headers/Public/DACircularProgress/DACircularProgressView.h deleted file mode 120000 index b67e984a6..000000000 --- a/Example/Pods/Headers/Public/DACircularProgress/DACircularProgressView.h +++ /dev/null @@ -1 +0,0 @@ -../../../DACircularProgress/DACircularProgress/DACircularProgressView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/DACircularProgress/DALabeledCircularProgressView.h b/Example/Pods/Headers/Public/DACircularProgress/DALabeledCircularProgressView.h deleted file mode 120000 index 89a694f3e..000000000 --- a/Example/Pods/Headers/Public/DACircularProgress/DALabeledCircularProgressView.h +++ /dev/null @@ -1 +0,0 @@ -../../../DACircularProgress/DACircularProgress/DALabeledCircularProgressView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h b/Example/Pods/Headers/Public/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h deleted file mode 120000 index 93356db7f..000000000 --- a/Example/Pods/Headers/Public/Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta+Snapshots/EXPMatchers+FBSnapshotTest.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h b/Example/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h deleted file mode 120000 index ebefa87b1..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPBlockDefinedMatcher.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPDefines.h b/Example/Pods/Headers/Public/Expecta/EXPDefines.h deleted file mode 120000 index 22add0cdc..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPDefines.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPDefines.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPDoubleTuple.h b/Example/Pods/Headers/Public/Expecta/EXPDoubleTuple.h deleted file mode 120000 index 54aa0b5e6..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPDoubleTuple.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPDoubleTuple.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPExpect.h b/Example/Pods/Headers/Public/Expecta/EXPExpect.h deleted file mode 120000 index a677bddfc..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPExpect.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPExpect.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPFloatTuple.h b/Example/Pods/Headers/Public/Expecta/EXPFloatTuple.h deleted file mode 120000 index 2b405694a..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPFloatTuple.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPFloatTuple.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatcher.h b/Example/Pods/Headers/Public/Expecta/EXPMatcher.h deleted file mode 120000 index 3b20a122c..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatcher.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPMatcher.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h b/Example/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h deleted file mode 120000 index 697385b07..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatcherHelpers.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h deleted file mode 120000 index 0eed377cb..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h deleted file mode 120000 index 92643c49a..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beFalsy.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h deleted file mode 120000 index 1ccc62b4a..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThan.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h deleted file mode 120000 index db5bf966a..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h deleted file mode 120000 index 6e17ea43e..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beIdenticalTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h deleted file mode 120000 index 362d8a7f6..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beInTheRangeOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h deleted file mode 120000 index 4dd60632f..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beInstanceOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h deleted file mode 120000 index 113c7d372..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beKindOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h deleted file mode 120000 index 675e86a56..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThan.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h deleted file mode 120000 index c16df2f05..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h deleted file mode 120000 index 9f65a6c12..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beNil.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h deleted file mode 120000 index 27aa7bea5..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beSubclassOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h deleted file mode 120000 index ea3f770a1..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beSupersetOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h deleted file mode 120000 index 192ac764e..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beTruthy.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h deleted file mode 120000 index 2efba8fea..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+beginWith.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h deleted file mode 120000 index 062fb51d7..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+conformTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+contain.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+contain.h deleted file mode 120000 index 3661fe5f3..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+contain.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+contain.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h deleted file mode 120000 index 7e6c9cf1c..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+endWith.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+equal.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+equal.h deleted file mode 120000 index 7bee78866..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+equal.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+equal.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h deleted file mode 120000 index f46d23adf..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+haveCountOf.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+match.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+match.h deleted file mode 120000 index 18f995de6..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+match.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+match.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+postNotification.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+postNotification.h deleted file mode 120000 index c9422e3e7..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+postNotification.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+postNotification.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+raise.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+raise.h deleted file mode 120000 index 901e04c19..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+raise.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+raise.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h deleted file mode 120000 index 5b063b64e..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+raiseWithReason.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h deleted file mode 120000 index e7a5fad13..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers+respondTo.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPMatchers.h b/Example/Pods/Headers/Public/Expecta/EXPMatchers.h deleted file mode 120000 index a454dc408..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPMatchers.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Matchers/EXPMatchers.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h b/Example/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h deleted file mode 120000 index 60fae89f1..000000000 --- a/Example/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/EXPUnsupportedObject.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/Expecta.h b/Example/Pods/Headers/Public/Expecta/Expecta.h deleted file mode 120000 index 45ef877d8..000000000 --- a/Example/Pods/Headers/Public/Expecta/Expecta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/Expecta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/ExpectaObject.h b/Example/Pods/Headers/Public/Expecta/ExpectaObject.h deleted file mode 120000 index 36a99e13b..000000000 --- a/Example/Pods/Headers/Public/Expecta/ExpectaObject.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/ExpectaObject.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/ExpectaSupport.h b/Example/Pods/Headers/Public/Expecta/ExpectaSupport.h deleted file mode 120000 index c59d3fc60..000000000 --- a/Example/Pods/Headers/Public/Expecta/ExpectaSupport.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/ExpectaSupport.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/NSObject+Expecta.h b/Example/Pods/Headers/Public/Expecta/NSObject+Expecta.h deleted file mode 120000 index 55c3635a6..000000000 --- a/Example/Pods/Headers/Public/Expecta/NSObject+Expecta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/NSObject+Expecta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Expecta/NSValue+Expecta.h b/Example/Pods/Headers/Public/Expecta/NSValue+Expecta.h deleted file mode 120000 index ee557b848..000000000 --- a/Example/Pods/Headers/Public/Expecta/NSValue+Expecta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Expecta/Expecta/NSValue+Expecta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestCase.h b/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestCase.h deleted file mode 120000 index 2925eab14..000000000 --- a/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestCase.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCase.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h b/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h deleted file mode 120000 index 6127a30c8..000000000 --- a/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestController.h b/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestController.h deleted file mode 120000 index 4a7dea130..000000000 --- a/Example/Pods/Headers/Public/FBSnapshotTestCase/FBSnapshotTestController.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestController.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/FBSnapshotTestCase/UIImage+Compare.h b/Example/Pods/Headers/Public/FBSnapshotTestCase/UIImage+Compare.h deleted file mode 120000 index a68eafb67..000000000 --- a/Example/Pods/Headers/Public/FBSnapshotTestCase/UIImage+Compare.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Compare.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/FBSnapshotTestCase/UIImage+Diff.h b/Example/Pods/Headers/Public/FBSnapshotTestCase/UIImage+Diff.h deleted file mode 120000 index f21e64d33..000000000 --- a/Example/Pods/Headers/Public/FBSnapshotTestCase/UIImage+Diff.h +++ /dev/null @@ -1 +0,0 @@ -../../../FBSnapshotTestCase/FBSnapshotTestCase/UIImage+Diff.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h b/Example/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h deleted file mode 120000 index 19ed4db7d..000000000 --- a/Example/Pods/Headers/Public/MBProgressHUD/MBProgressHUD.h +++ /dev/null @@ -1 +0,0 @@ -../../../MBProgressHUD/MBProgressHUD.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWCaptionView.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWCaptionView.h deleted file mode 120000 index a5887c667..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWCaptionView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWCaptionView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWCommon.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWCommon.h deleted file mode 120000 index cd2ef983c..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWCommon.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWCommon.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWGridCell.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWGridCell.h deleted file mode 120000 index ed9f6936d..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWGridCell.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWGridCell.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWGridViewController.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWGridViewController.h deleted file mode 120000 index 463dc2a00..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWGridViewController.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWGridViewController.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhoto.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhoto.h deleted file mode 120000 index b7fe05294..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhoto.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhoto.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoBrowser.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoBrowser.h deleted file mode 120000 index 4cb1b8a96..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoBrowser.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhotoBrowser.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoBrowserPrivate.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoBrowserPrivate.h deleted file mode 120000 index ad465d89b..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoBrowserPrivate.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhotoBrowserPrivate.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoProtocol.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoProtocol.h deleted file mode 120000 index fa3da5cc6..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWPhotoProtocol.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWPhotoProtocol.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWTapDetectingImageView.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWTapDetectingImageView.h deleted file mode 120000 index 0e7dfd8b1..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWTapDetectingImageView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWTapDetectingImageView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWTapDetectingView.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWTapDetectingView.h deleted file mode 120000 index 8203ed0f6..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWTapDetectingView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWTapDetectingView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/MWZoomingScrollView.h b/Example/Pods/Headers/Public/MWPhotoBrowser/MWZoomingScrollView.h deleted file mode 120000 index 62ccefecc..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/MWZoomingScrollView.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/MWZoomingScrollView.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/MWPhotoBrowser/UIImage+MWPhotoBrowser.h b/Example/Pods/Headers/Public/MWPhotoBrowser/UIImage+MWPhotoBrowser.h deleted file mode 120000 index 763285f35..000000000 --- a/Example/Pods/Headers/Public/MWPhotoBrowser/UIImage+MWPhotoBrowser.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../Pod/Classes/UIImage+MWPhotoBrowser.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h b/Example/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h deleted file mode 120000 index 84574987a..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/NSData+ImageContentType.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/NSData+ImageContentType.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDImageCache.h b/Example/Pods/Headers/Public/SDWebImage/SDImageCache.h deleted file mode 120000 index 0040b06a1..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDImageCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDImageCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h deleted file mode 120000 index 6ca247842..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImageCompat.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageCompat.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h deleted file mode 120000 index a2f3a683d..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImageDecoder.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageDecoder.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h deleted file mode 120000 index 303b03b1e..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImageDownloader.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageDownloader.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h deleted file mode 120000 index 99441c485..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImageDownloaderOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImageManager.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImageManager.h deleted file mode 120000 index 1b8184856..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImageManager.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageManager.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h deleted file mode 120000 index 20e5b89ef..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImageOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImageOperation.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h b/Example/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h deleted file mode 120000 index 50585c6d0..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/SDWebImagePrefetcher.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/SDWebImagePrefetcher.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h b/Example/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h deleted file mode 120000 index 19d2d8e8c..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/UIButton+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIButton+WebCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/UIImage+GIF.h b/Example/Pods/Headers/Public/SDWebImage/UIImage+GIF.h deleted file mode 120000 index 14d5aadd9..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/UIImage+GIF.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImage+GIF.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h b/Example/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h deleted file mode 120000 index 1fb965010..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/UIImage+MultiFormat.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImage+MultiFormat.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h b/Example/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h deleted file mode 120000 index fd4dea41e..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/UIImageView+HighlightedWebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h b/Example/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h deleted file mode 120000 index 0c53a47b8..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/UIImageView+WebCache.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIImageView+WebCache.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h b/Example/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h deleted file mode 120000 index f9890c406..000000000 --- a/Example/Pods/Headers/Public/SDWebImage/UIView+WebCacheOperation.h +++ /dev/null @@ -1 +0,0 @@ -../../../SDWebImage/SDWebImage/UIView+WebCacheOperation.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTCallSite.h b/Example/Pods/Headers/Public/Specta/SPTCallSite.h deleted file mode 120000 index dbb535a60..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTCallSite.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTCallSite.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTCompiledExample.h b/Example/Pods/Headers/Public/Specta/SPTCompiledExample.h deleted file mode 120000 index 659770480..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTCompiledExample.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTCompiledExample.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTExample.h b/Example/Pods/Headers/Public/Specta/SPTExample.h deleted file mode 120000 index 79a18d4c5..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTExample.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTExample.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTExampleGroup.h b/Example/Pods/Headers/Public/Specta/SPTExampleGroup.h deleted file mode 120000 index 1effac57b..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTExampleGroup.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTExampleGroup.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTExcludeGlobalBeforeAfterEach.h b/Example/Pods/Headers/Public/Specta/SPTExcludeGlobalBeforeAfterEach.h deleted file mode 120000 index 64df73423..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTExcludeGlobalBeforeAfterEach.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTGlobalBeforeAfterEach.h b/Example/Pods/Headers/Public/Specta/SPTGlobalBeforeAfterEach.h deleted file mode 120000 index 7f83b65ff..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTGlobalBeforeAfterEach.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTGlobalBeforeAfterEach.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTSharedExampleGroups.h b/Example/Pods/Headers/Public/Specta/SPTSharedExampleGroups.h deleted file mode 120000 index 579d360e6..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTSharedExampleGroups.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTSharedExampleGroups.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTSpec.h b/Example/Pods/Headers/Public/Specta/SPTSpec.h deleted file mode 120000 index 3b1679ae8..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTSpec.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTSpec.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SPTTestSuite.h b/Example/Pods/Headers/Public/Specta/SPTTestSuite.h deleted file mode 120000 index 2f607e468..000000000 --- a/Example/Pods/Headers/Public/Specta/SPTTestSuite.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SPTTestSuite.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/Specta.h b/Example/Pods/Headers/Public/Specta/Specta.h deleted file mode 120000 index 111c968e9..000000000 --- a/Example/Pods/Headers/Public/Specta/Specta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/Specta.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SpectaDSL.h b/Example/Pods/Headers/Public/Specta/SpectaDSL.h deleted file mode 120000 index fd1ad3756..000000000 --- a/Example/Pods/Headers/Public/Specta/SpectaDSL.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SpectaDSL.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SpectaTypes.h b/Example/Pods/Headers/Public/Specta/SpectaTypes.h deleted file mode 120000 index 9428b1324..000000000 --- a/Example/Pods/Headers/Public/Specta/SpectaTypes.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SpectaTypes.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/SpectaUtility.h b/Example/Pods/Headers/Public/Specta/SpectaUtility.h deleted file mode 120000 index 576248091..000000000 --- a/Example/Pods/Headers/Public/Specta/SpectaUtility.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/SpectaUtility.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/XCTest+Private.h b/Example/Pods/Headers/Public/Specta/XCTest+Private.h deleted file mode 120000 index bb4a8e026..000000000 --- a/Example/Pods/Headers/Public/Specta/XCTest+Private.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/XCTest+Private.h \ No newline at end of file diff --git a/Example/Pods/Headers/Public/Specta/XCTestCase+Specta.h b/Example/Pods/Headers/Public/Specta/XCTestCase+Specta.h deleted file mode 120000 index 95f58cccd..000000000 --- a/Example/Pods/Headers/Public/Specta/XCTestCase+Specta.h +++ /dev/null @@ -1 +0,0 @@ -../../../Specta/Specta/Specta/XCTestCase+Specta.h \ No newline at end of file diff --git a/Example/Pods/Local Podspecs/MWPhotoBrowser.podspec.json b/Example/Pods/Local Podspecs/MWPhotoBrowser.podspec.json index 2a29889a6..97d9f3fc3 100644 --- a/Example/Pods/Local Podspecs/MWPhotoBrowser.podspec.json +++ b/Example/Pods/Local Podspecs/MWPhotoBrowser.podspec.json @@ -1,6 +1,6 @@ { "name": "MWPhotoBrowser", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "summary": "A simple iOS photo and video browser with optional grid view, captions and selections.", "description": "MWPhotoBrowser can display one or more images or videos by providing either UIImage\nobjects, PHAsset objects, or URLs to library assets, web images/videos or local files.\nThe photo browser handles the downloading and caching of photos from the web seamlessly.\nPhotos can be zoomed and panned, and optional (customisable) captions can be displayed.", @@ -18,8 +18,8 @@ }, "social_media_url": "https://twitter.com/mwaterfall", "source": { - "git": "https://github.com/mwaterfall/MWPhotoBrowser.git", - "tag": "2.1.2" + "git": "https://github.com/moinku07/MWPhotoBrowser", + "tag": "2.1.4" }, "platforms": { "ios": "7.0" @@ -40,14 +40,13 @@ "weak_frameworks": "Photos", "dependencies": { "MBProgressHUD": [ - "~> 0.9" + "~> 1.1.0" ], "DACircularProgress": [ - "~> 2.3" + "~> 2.3.1" ], "SDWebImage": [ - "~> 3.7", - "!= 3.7.2" + "~> 4.2.2" ] } } diff --git a/Example/Pods/MBProgressHUD/LICENSE b/Example/Pods/MBProgressHUD/LICENSE index 0e357d1bf..1c0d59bb8 100644 --- a/Example/Pods/MBProgressHUD/LICENSE +++ b/Example/Pods/MBProgressHUD/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009-2015 Matej Bukovinski +Copyright © 2009-2016 Matej Bukovinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Example/Pods/MBProgressHUD/MBProgressHUD.h b/Example/Pods/MBProgressHUD/MBProgressHUD.h index 40e71a9b2..a7b54ee97 100644 --- a/Example/Pods/MBProgressHUD/MBProgressHUD.h +++ b/Example/Pods/MBProgressHUD/MBProgressHUD.h @@ -1,12 +1,12 @@ // // MBProgressHUD.h -// Version 0.9.2 +// Version 1.1.0 // Created by Matej Bukovinski on 2.4.09. // // This code is distributed under the terms and conditions of the MIT license. -// Copyright (c) 2009-2015 Matej Bukovinski +// Copyright © 2009-2016 Matej Bukovinski // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -30,90 +30,67 @@ #import #import +@class MBBackgroundView; @protocol MBProgressHUDDelegate; +extern CGFloat const MBProgressMaxOffset; + typedef NS_ENUM(NSInteger, MBProgressHUDMode) { - /** Progress is shown using an UIActivityIndicatorView. This is the default. */ - MBProgressHUDModeIndeterminate, - /** Progress is shown using a round, pie-chart like, progress view. */ - MBProgressHUDModeDeterminate, - /** Progress is shown using a horizontal progress bar */ - MBProgressHUDModeDeterminateHorizontalBar, - /** Progress is shown using a ring-shaped progress view. */ - MBProgressHUDModeAnnularDeterminate, - /** Shows a custom view */ - MBProgressHUDModeCustomView, - /** Shows only labels */ - MBProgressHUDModeText + /// UIActivityIndicatorView. + MBProgressHUDModeIndeterminate, + /// A round, pie-chart like, progress view. + MBProgressHUDModeDeterminate, + /// Horizontal progress bar. + MBProgressHUDModeDeterminateHorizontalBar, + /// Ring-shaped progress view. + MBProgressHUDModeAnnularDeterminate, + /// Shows a custom view. + MBProgressHUDModeCustomView, + /// Shows only labels. + MBProgressHUDModeText }; typedef NS_ENUM(NSInteger, MBProgressHUDAnimation) { - /** Opacity animation */ - MBProgressHUDAnimationFade, - /** Opacity + scale animation */ - MBProgressHUDAnimationZoom, - MBProgressHUDAnimationZoomOut = MBProgressHUDAnimationZoom, - MBProgressHUDAnimationZoomIn + /// Opacity animation + MBProgressHUDAnimationFade, + /// Opacity + scale animation (zoom in when appearing zoom out when disappearing) + MBProgressHUDAnimationZoom, + /// Opacity + scale animation (zoom out style) + MBProgressHUDAnimationZoomOut, + /// Opacity + scale animation (zoom in style) + MBProgressHUDAnimationZoomIn }; +typedef NS_ENUM(NSInteger, MBProgressHUDBackgroundStyle) { + /// Solid color background + MBProgressHUDBackgroundStyleSolidColor, + /// UIVisualEffectView or UIToolbar.layer background view + MBProgressHUDBackgroundStyleBlur +}; -#ifndef MB_INSTANCETYPE -#if __has_feature(objc_instancetype) - #define MB_INSTANCETYPE instancetype -#else - #define MB_INSTANCETYPE id -#endif -#endif - -#ifndef MB_STRONG -#if __has_feature(objc_arc) - #define MB_STRONG strong -#else - #define MB_STRONG retain -#endif -#endif +typedef void (^MBProgressHUDCompletionBlock)(void); -#ifndef MB_WEAK -#if __has_feature(objc_arc_weak) - #define MB_WEAK weak -#elif __has_feature(objc_arc) - #define MB_WEAK unsafe_unretained -#else - #define MB_WEAK assign -#endif -#endif -#if NS_BLOCKS_AVAILABLE -typedef void (^MBProgressHUDCompletionBlock)(); -#endif +NS_ASSUME_NONNULL_BEGIN /** * Displays a simple HUD window containing a progress indicator and two optional labels for short messages. * * This is a simple drop-in class for displaying a progress HUD view similar to Apple's private UIProgressHUD class. - * The MBProgressHUD window spans over the entire space given to it by the initWithFrame constructor and catches all - * user input on this region, thereby preventing the user operations on components below the view. The HUD itself is - * drawn centered as a rounded semi-transparent view which resizes depending on the user specified content. + * The MBProgressHUD window spans over the entire space given to it by the initWithFrame: constructor and catches all + * user input on this region, thereby preventing the user operations on components below the view. * - * This view supports four modes of operation: - * - MBProgressHUDModeIndeterminate - shows a UIActivityIndicatorView - * - MBProgressHUDModeDeterminate - shows a custom round progress indicator - * - MBProgressHUDModeAnnularDeterminate - shows a custom annular progress indicator - * - MBProgressHUDModeCustomView - shows an arbitrary, user specified view (see `customView`) - * - * All three modes can have optional labels assigned: - * - If the labelText property is set and non-empty then a label containing the provided content is placed below the - * indicator view. - * - If also the detailsLabelText property is set then another label is placed below the first label. + * @note To still allow touches to pass through the HUD, you can set hud.userInteractionEnabled = NO. + * @attention MBProgressHUD is a UI class and should therefore only be accessed on the main thread. */ @interface MBProgressHUD : UIView /** * Creates a new HUD, adds it to provided view and shows it. The counterpart to this method is hideHUDForView:animated:. * - * @note This method sets `removeFromSuperViewOnHide`. The HUD will automatically be removed from the view hierarchy when hidden. + * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden. * * @param view The view that the HUD will be added to * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use @@ -123,12 +100,14 @@ typedef void (^MBProgressHUDCompletionBlock)(); * @see hideHUDForView:animated: * @see animationType */ -+ (MB_INSTANCETYPE)showHUDAddedTo:(UIView *)view animated:(BOOL)animated; ++ (instancetype)showHUDAddedTo:(UIView *)view animated:(BOOL)animated; + +/// @name Showing and hiding /** - * Finds the top-most HUD subview and hides it. The counterpart to this method is showHUDAddedTo:animated:. + * Finds the top-most HUD subview that hasn't finished and hides it. The counterpart to this method is showHUDAddedTo:animated:. * - * @note This method sets `removeFromSuperViewOnHide`. The HUD will automatically be removed from the view hierarchy when hidden. + * @note This method sets removeFromSuperViewOnHide. The HUD will automatically be removed from the view hierarchy when hidden. * * @param view The view that is going to be searched for a HUD subview. * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use @@ -141,68 +120,38 @@ typedef void (^MBProgressHUDCompletionBlock)(); + (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated; /** - * Finds all the HUD subviews and hides them. - * - * @note This method sets `removeFromSuperViewOnHide`. The HUDs will automatically be removed from the view hierarchy when hidden. - * - * @param view The view that is going to be searched for HUD subviews. - * @param animated If set to YES the HUDs will disappear using the current animationType. If set to NO the HUDs will not use - * animations while disappearing. - * @return the number of HUDs found and removed. - * - * @see hideHUDForView:animated: - * @see animationType - */ -+ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated; - -/** - * Finds the top-most HUD subview and returns it. + * Finds the top-most HUD subview that hasn't finished and returns it. * * @param view The view that is going to be searched. * @return A reference to the last HUD subview discovered. */ -+ (MB_INSTANCETYPE)HUDForView:(UIView *)view; - -/** - * Finds all HUD subviews and returns them. - * - * @param view The view that is going to be searched. - * @return All found HUD views (array of MBProgressHUD objects). - */ -+ (NSArray *)allHUDsForView:(UIView *)view; - -/** - * A convenience constructor that initializes the HUD with the window's bounds. Calls the designated constructor with - * window.bounds as the parameter. - * - * @param window The window instance that will provide the bounds for the HUD. Should be the same instance as - * the HUD's superview (i.e., the window that the HUD will be added to). - */ -- (id)initWithWindow:(UIWindow *)window; ++ (nullable MBProgressHUD *)HUDForView:(UIView *)view; /** * A convenience constructor that initializes the HUD with the view's bounds. Calls the designated constructor with - * view.bounds as the parameter + * view.bounds as the parameter. * * @param view The view instance that will provide the bounds for the HUD. Should be the same instance as * the HUD's superview (i.e., the view that the HUD will be added to). */ -- (id)initWithView:(UIView *)view; +- (instancetype)initWithView:(UIView *)view; /** - * Display the HUD. You need to make sure that the main thread completes its run loop soon after this method call so - * the user interface can be updated. Call this method when your task is already set-up to be executed in a new thread - * (e.g., when using something like NSOperation or calling an asynchronous call like NSURLRequest). + * Displays the HUD. + * + * @note You need to make sure that the main thread completes its run loop soon after this method call so that + * the user interface can be updated. Call this method when your task is already set up to be executed in a new thread + * (e.g., when using something like NSOperation or making an asynchronous call like NSURLRequest). * * @param animated If set to YES the HUD will appear using the current animationType. If set to NO the HUD will not use * animations while appearing. * * @see animationType */ -- (void)show:(BOOL)animated; +- (void)showAnimated:(BOOL)animated; /** - * Hide the HUD. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to + * Hides the HUD. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to * hide the HUD when your task completes. * * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use @@ -210,10 +159,10 @@ typedef void (^MBProgressHUDCompletionBlock)(); * * @see animationType */ -- (void)hide:(BOOL)animated; +- (void)hideAnimated:(BOOL)animated; /** - * Hide the HUD after a delay. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to + * Hides the HUD after a delay. This still calls the hudWasHidden: delegate. This is the counterpart of the show: method. Use it to * hide the HUD when your task completes. * * @param animated If set to YES the HUD will disappear using the current animationType. If set to NO the HUD will not use @@ -222,228 +171,136 @@ typedef void (^MBProgressHUDCompletionBlock)(); * * @see animationType */ -- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay; - -/** - * Shows the HUD while a background task is executing in a new thread, then hides the HUD. - * - * This method also takes care of autorelease pools so your method does not have to be concerned with setting up a - * pool. - * - * @param method The method to be executed while the HUD is shown. This method will be executed in a new thread. - * @param target The object that the target method belongs to. - * @param object An optional object to be passed to the method. - * @param animated If set to YES the HUD will (dis)appear using the current animationType. If set to NO the HUD will not use - * animations while (dis)appearing. - */ -- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated; - -#if NS_BLOCKS_AVAILABLE +- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay; /** - * Shows the HUD while a block is executing on a background queue, then hides the HUD. - * - * @see showAnimated:whileExecutingBlock:onQueue:completionBlock: + * The HUD delegate object. Receives HUD state notifications. */ -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block; +@property (weak, nonatomic) id delegate; /** - * Shows the HUD while a block is executing on a background queue, then hides the HUD. - * - * @see showAnimated:whileExecutingBlock:onQueue:completionBlock: + * Called after the HUD is hiden. */ -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(MBProgressHUDCompletionBlock)completion; +@property (copy, nullable) MBProgressHUDCompletionBlock completionBlock; -/** - * Shows the HUD while a block is executing on the specified dispatch queue, then hides the HUD. - * - * @see showAnimated:whileExecutingBlock:onQueue:completionBlock: +/* + * Grace period is the time (in seconds) that the invoked method may be run without + * showing the HUD. If the task finishes before the grace time runs out, the HUD will + * not be shown at all. + * This may be used to prevent HUD display for very short tasks. + * Defaults to 0 (no grace time). */ -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue; +@property (assign, nonatomic) NSTimeInterval graceTime; -/** - * Shows the HUD while a block is executing on the specified dispatch queue, executes completion block on the main queue, and then hides the HUD. - * - * @param animated If set to YES the HUD will (dis)appear using the current animationType. If set to NO the HUD will - * not use animations while (dis)appearing. - * @param block The block to be executed while the HUD is shown. - * @param queue The dispatch queue on which the block should be executed. - * @param completion The block to be executed on completion. - * - * @see completionBlock +/** + * The minimum time (in seconds) that the HUD is shown. + * This avoids the problem of the HUD being shown and than instantly hidden. + * Defaults to 0 (no minimum show time). */ -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue - completionBlock:(MBProgressHUDCompletionBlock)completion; +@property (assign, nonatomic) NSTimeInterval minShowTime; /** - * A block that gets called after the HUD was completely hidden. + * Removes the HUD from its parent view when hidden. + * Defaults to NO. */ -@property (copy) MBProgressHUDCompletionBlock completionBlock; +@property (assign, nonatomic) BOOL removeFromSuperViewOnHide; -#endif +/// @name Appearance /** * MBProgressHUD operation mode. The default is MBProgressHUDModeIndeterminate. - * - * @see MBProgressHUDMode */ -@property (assign) MBProgressHUDMode mode; +@property (assign, nonatomic) MBProgressHUDMode mode; /** - * The animation type that should be used when the HUD is shown and hidden. - * - * @see MBProgressHUDAnimation + * A color that gets forwarded to all labels and supported indicators. Also sets the tintColor + * for custom views on iOS 7+. Set to nil to manage color individually. + * Defaults to semi-translucent black on iOS 7 and later and white on earlier iOS versions. */ -@property (assign) MBProgressHUDAnimation animationType; +@property (strong, nonatomic, nullable) UIColor *contentColor UI_APPEARANCE_SELECTOR; /** - * The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView. - * For best results use a 37 by 37 pixel view (so the bounds match the built in indicator bounds). - */ -@property (MB_STRONG) UIView *customView; - -/** - * The HUD delegate object. - * - * @see MBProgressHUDDelegate - */ -@property (MB_WEAK) id delegate; - -/** - * An optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit - * the entire text. If the text is too long it will get clipped by displaying "..." at the end. If left unchanged or - * set to @"", then no message is displayed. - */ -@property (copy) NSString *labelText; - -/** - * An optional details message displayed below the labelText message. This message is displayed only if the labelText - * property is also set and is different from an empty string (@""). The details text can span multiple lines. - */ -@property (copy) NSString *detailsLabelText; - -/** - * The opacity of the HUD window. Defaults to 0.8 (80% opacity). + * The animation type that should be used when the HUD is shown and hidden. */ -@property (assign) float opacity; +@property (assign, nonatomic) MBProgressHUDAnimation animationType UI_APPEARANCE_SELECTOR; /** - * The color of the HUD window. Defaults to black. If this property is set, color is set using - * this UIColor and the opacity property is not used. using retain because performing copy on - * UIColor base colors (like [UIColor greenColor]) cause problems with the copyZone. + * The bezel offset relative to the center of the view. You can use MBProgressMaxOffset + * and -MBProgressMaxOffset to move the HUD all the way to the screen edge in each direction. + * E.g., CGPointMake(0.f, MBProgressMaxOffset) would position the HUD centered on the bottom edge. */ -@property (MB_STRONG) UIColor *color; +@property (assign, nonatomic) CGPoint offset UI_APPEARANCE_SELECTOR; -/** - * The x-axis offset of the HUD relative to the centre of the superview. +/** + * The amount of space between the HUD edge and the HUD elements (labels, indicators or custom views). + * This also represents the minimum bezel distance to the edge of the HUD view. + * Defaults to 20.f */ -@property (assign) float xOffset; +@property (assign, nonatomic) CGFloat margin UI_APPEARANCE_SELECTOR; -/** - * The y-axis offset of the HUD relative to the centre of the superview. +/** + * The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size). */ -@property (assign) float yOffset; +@property (assign, nonatomic) CGSize minSize UI_APPEARANCE_SELECTOR; /** - * The amount of space between the HUD edge and the HUD elements (labels, indicators or custom views). - * Defaults to 20.0 + * Force the HUD dimensions to be equal if possible. */ -@property (assign) float margin; +@property (assign, nonatomic, getter = isSquare) BOOL square UI_APPEARANCE_SELECTOR; /** - * The corner radius for the HUD - * Defaults to 10.0 + * When enabled, the bezel center gets slightly affected by the device accelerometer data. + * Has no effect on iOS < 7.0. Defaults to YES. */ -@property (assign) float cornerRadius; +@property (assign, nonatomic, getter=areDefaultMotionEffectsEnabled) BOOL defaultMotionEffectsEnabled UI_APPEARANCE_SELECTOR; -/** - * Cover the HUD background view with a radial gradient. - */ -@property (assign) BOOL dimBackground; - -/* - * Grace period is the time (in seconds) that the invoked method may be run without - * showing the HUD. If the task finishes before the grace time runs out, the HUD will - * not be shown at all. - * This may be used to prevent HUD display for very short tasks. - * Defaults to 0 (no grace time). - * Grace time functionality is only supported when the task status is known! - * @see taskInProgress - */ -@property (assign) float graceTime; +/// @name Progress /** - * The minimum time (in seconds) that the HUD is shown. - * This avoids the problem of the HUD being shown and than instantly hidden. - * Defaults to 0 (no minimum show time). + * The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0. */ -@property (assign) float minShowTime; +@property (assign, nonatomic) float progress; -/** - * Indicates that the executed operation is in progress. Needed for correct graceTime operation. - * If you don't set a graceTime (different than 0.0) this does nothing. - * This property is automatically set when using showWhileExecuting:onTarget:withObject:animated:. - * When threading is done outside of the HUD (i.e., when the show: and hide: methods are used directly), - * you need to set this property when your task starts and completes in order to have normal graceTime - * functionality. - */ -@property (assign) BOOL taskInProgress; +/// @name ProgressObject /** - * Removes the HUD from its parent view when hidden. - * Defaults to NO. + * The NSProgress object feeding the progress information to the progress indicator. */ -@property (assign) BOOL removeFromSuperViewOnHide; +@property (strong, nonatomic, nullable) NSProgress *progressObject; -/** - * Font to be used for the main label. Set this property if the default is not adequate. - */ -@property (MB_STRONG) UIFont* labelFont; +/// @name Views /** - * Color to be used for the main label. Set this property if the default is not adequate. + * The view containing the labels and indicator (or customView). */ -@property (MB_STRONG) UIColor* labelColor; +@property (strong, nonatomic, readonly) MBBackgroundView *bezelView; /** - * Font to be used for the details label. Set this property if the default is not adequate. + * View covering the entire HUD area, placed behind bezelView. */ -@property (MB_STRONG) UIFont* detailsLabelFont; - -/** - * Color to be used for the details label. Set this property if the default is not adequate. - */ -@property (MB_STRONG) UIColor* detailsLabelColor; +@property (strong, nonatomic, readonly) MBBackgroundView *backgroundView; /** - * The color of the activity indicator. Defaults to [UIColor whiteColor] - * Does nothing on pre iOS 5. - */ -@property (MB_STRONG) UIColor *activityIndicatorColor; - -/** - * The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0. + * The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView. + * The view should implement intrinsicContentSize for proper sizing. For best results use approximately 37 by 37 pixels. */ -@property (assign) float progress; +@property (strong, nonatomic, nullable) UIView *customView; /** - * The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size). + * A label that holds an optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit + * the entire text. */ -@property (assign) CGSize minSize; - +@property (strong, nonatomic, readonly) UILabel *label; /** - * The actual size of the HUD bezel. - * You can use this to limit touch handling on the bezel area only. - * @see https://github.com/jdg/MBProgressHUD/pull/200 + * A label that holds an optional details message displayed below the labelText message. The details text can span multiple lines. */ -@property (atomic, assign, readonly) CGSize size; - +@property (strong, nonatomic, readonly) UILabel *detailsLabel; /** - * Force the HUD dimensions to be equal if possible. + * A button that is placed below the labels. Visible only if a target / action is added. */ -@property (assign, getter = isSquare) BOOL square; +@property (strong, nonatomic, readonly) UIButton *button; @end @@ -472,15 +329,16 @@ typedef void (^MBProgressHUDCompletionBlock)(); /** * Indicator progress color. - * Defaults to white [UIColor whiteColor] + * Defaults to white [UIColor whiteColor]. */ -@property (nonatomic, MB_STRONG) UIColor *progressTintColor; +@property (nonatomic, strong) UIColor *progressTintColor; /** - * Indicator background (non-progress) color. - * Defaults to translucent white (alpha 0.1) + * Indicator background (non-progress) color. + * Only applicable on iOS versions older than iOS 7. + * Defaults to translucent white (alpha 0.1). */ -@property (nonatomic, MB_STRONG) UIColor *backgroundTintColor; +@property (nonatomic, strong) UIColor *backgroundTintColor; /* * Display mode - NO = round or YES = annular. Defaults to round. @@ -504,18 +362,82 @@ typedef void (^MBProgressHUDCompletionBlock)(); * Bar border line color. * Defaults to white [UIColor whiteColor]. */ -@property (nonatomic, MB_STRONG) UIColor *lineColor; +@property (nonatomic, strong) UIColor *lineColor; /** * Bar background color. * Defaults to clear [UIColor clearColor]; */ -@property (nonatomic, MB_STRONG) UIColor *progressRemainingColor; +@property (nonatomic, strong) UIColor *progressRemainingColor; /** * Bar progress color. * Defaults to white [UIColor whiteColor]. */ -@property (nonatomic, MB_STRONG) UIColor *progressColor; +@property (nonatomic, strong) UIColor *progressColor; + +@end + + +@interface MBBackgroundView : UIView + +/** + * The background style. + * Defaults to MBProgressHUDBackgroundStyleBlur on iOS 7 or later and MBProgressHUDBackgroundStyleSolidColor otherwise. + * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions. + */ +@property (nonatomic) MBProgressHUDBackgroundStyle style; + +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV +/** + * The blur effect style, when using MBProgressHUDBackgroundStyleBlur. + * Defaults to UIBlurEffectStyleLight. + */ +@property (nonatomic) UIBlurEffectStyle blurEffectStyle; +#endif + +/** + * The background color or the blur tint color. + * @note Due to iOS 7 not supporting UIVisualEffectView, the blur effect differs slightly between iOS 7 and later versions. + */ +@property (nonatomic, strong) UIColor *color; @end + +@interface MBProgressHUD (Deprecated) + ++ (NSArray *)allHUDsForView:(UIView *)view __attribute__((deprecated("Store references when using more than one HUD per view."))); ++ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated __attribute__((deprecated("Store references when using more than one HUD per view."))); + +- (id)initWithWindow:(UIWindow *)window __attribute__((deprecated("Use initWithView: instead."))); + +- (void)show:(BOOL)animated __attribute__((deprecated("Use showAnimated: instead."))); +- (void)hide:(BOOL)animated __attribute__((deprecated("Use hideAnimated: instead."))); +- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay __attribute__((deprecated("Use hideAnimated:afterDelay: instead."))); + +- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated __attribute__((deprecated("Use GCD directly."))); +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block __attribute__((deprecated("Use GCD directly."))); +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated("Use GCD directly."))); +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue __attribute__((deprecated("Use GCD directly."))); +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue + completionBlock:(nullable MBProgressHUDCompletionBlock)completion __attribute__((deprecated("Use GCD directly."))); +@property (assign) BOOL taskInProgress __attribute__((deprecated("No longer needed."))); + +@property (nonatomic, copy) NSString *labelText __attribute__((deprecated("Use label.text instead."))); +@property (nonatomic, strong) UIFont *labelFont __attribute__((deprecated("Use label.font instead."))); +@property (nonatomic, strong) UIColor *labelColor __attribute__((deprecated("Use label.textColor instead."))); +@property (nonatomic, copy) NSString *detailsLabelText __attribute__((deprecated("Use detailsLabel.text instead."))); +@property (nonatomic, strong) UIFont *detailsLabelFont __attribute__((deprecated("Use detailsLabel.font instead."))); +@property (nonatomic, strong) UIColor *detailsLabelColor __attribute__((deprecated("Use detailsLabel.textColor instead."))); +@property (assign, nonatomic) CGFloat opacity __attribute__((deprecated("Customize bezelView properties instead."))); +@property (strong, nonatomic) UIColor *color __attribute__((deprecated("Customize the bezelView color instead."))); +@property (assign, nonatomic) CGFloat xOffset __attribute__((deprecated("Set offset.x instead."))); +@property (assign, nonatomic) CGFloat yOffset __attribute__((deprecated("Set offset.y instead."))); +@property (assign, nonatomic) CGFloat cornerRadius __attribute__((deprecated("Set bezelView.layer.cornerRadius instead."))); +@property (assign, nonatomic) BOOL dimBackground __attribute__((deprecated("Customize HUD background properties instead."))); +@property (strong, nonatomic) UIColor *activityIndicatorColor __attribute__((deprecated("Use UIAppearance to customize UIActivityIndicatorView. E.g.: [UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil].color = [UIColor redColor];"))); +@property (atomic, assign, readonly) CGSize size __attribute__((deprecated("Get the bezelView.frame.size instead."))); + +@end + +NS_ASSUME_NONNULL_END diff --git a/Example/Pods/MBProgressHUD/MBProgressHUD.m b/Example/Pods/MBProgressHUD/MBProgressHUD.m index bf5f7fff1..1bcf9e99d 100644 --- a/Example/Pods/MBProgressHUD/MBProgressHUD.m +++ b/Example/Pods/MBProgressHUD/MBProgressHUD.m @@ -1,6 +1,6 @@ // // MBProgressHUD.m -// Version 0.9.2 +// Version 1.1.0 // Created by Matej Bukovinski on 2.4.09. // @@ -8,293 +8,199 @@ #import -#if __has_feature(objc_arc) - #define MB_AUTORELEASE(exp) exp - #define MB_RELEASE(exp) exp - #define MB_RETAIN(exp) exp -#else - #define MB_AUTORELEASE(exp) [exp autorelease] - #define MB_RELEASE(exp) [exp release] - #define MB_RETAIN(exp) [exp retain] -#endif - -#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000 - #define MBLabelAlignmentCenter NSTextAlignmentCenter -#else - #define MBLabelAlignmentCenter UITextAlignmentCenter -#endif - -#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 - #define MB_TEXTSIZE(text, font) [text length] > 0 ? [text \ - sizeWithAttributes:@{NSFontAttributeName:font}] : CGSizeZero; -#else - #define MB_TEXTSIZE(text, font) [text length] > 0 ? [text sizeWithFont:font] : CGSizeZero; -#endif - -#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 - #define MB_MULTILINE_TEXTSIZE(text, font, maxSize, mode) [text length] > 0 ? [text \ - boundingRectWithSize:maxSize options:(NSStringDrawingUsesLineFragmentOrigin) \ - attributes:@{NSFontAttributeName:font} context:nil].size : CGSizeZero; -#else - #define MB_MULTILINE_TEXTSIZE(text, font, maxSize, mode) [text length] > 0 ? [text \ - sizeWithFont:font constrainedToSize:maxSize lineBreakMode:mode] : CGSizeZero; -#endif - #ifndef kCFCoreFoundationVersionNumber_iOS_7_0 - #define kCFCoreFoundationVersionNumber_iOS_7_0 847.20 + #define kCFCoreFoundationVersionNumber_iOS_7_0 847.20 #endif #ifndef kCFCoreFoundationVersionNumber_iOS_8_0 - #define kCFCoreFoundationVersionNumber_iOS_8_0 1129.15 + #define kCFCoreFoundationVersionNumber_iOS_8_0 1129.15 #endif +#define MBMainThreadAssert() NSAssert([NSThread isMainThread], @"MBProgressHUD needs to be accessed on the main thread."); -static const CGFloat kPadding = 4.f; -static const CGFloat kLabelFontSize = 16.f; -static const CGFloat kDetailsLabelFontSize = 12.f; +CGFloat const MBProgressMaxOffset = 1000000.f; + +static const CGFloat MBDefaultPadding = 4.f; +static const CGFloat MBDefaultLabelFontSize = 16.f; +static const CGFloat MBDefaultDetailsLabelFontSize = 12.f; @interface MBProgressHUD () { - BOOL useAnimation; - SEL methodForExecution; - id targetForExecution; - id objectForExecution; - UILabel *label; - UILabel *detailsLabel; - BOOL isFinished; - CGAffineTransform rotationTransform; + // Deprecated + UIColor *_activityIndicatorColor; + CGFloat _opacity; } -@property (atomic, MB_STRONG) UIView *indicator; -@property (atomic, MB_STRONG) NSTimer *graceTimer; -@property (atomic, MB_STRONG) NSTimer *minShowTimer; -@property (atomic, MB_STRONG) NSDate *showStarted; +@property (nonatomic, assign) BOOL useAnimation; +@property (nonatomic, assign, getter=hasFinished) BOOL finished; +@property (nonatomic, strong) UIView *indicator; +@property (nonatomic, strong) NSDate *showStarted; +@property (nonatomic, strong) NSArray *paddingConstraints; +@property (nonatomic, strong) NSArray *bezelConstraints; +@property (nonatomic, strong) UIView *topSpacer; +@property (nonatomic, strong) UIView *bottomSpacer; +@property (nonatomic, weak) NSTimer *graceTimer; +@property (nonatomic, weak) NSTimer *minShowTimer; +@property (nonatomic, weak) NSTimer *hideDelayTimer; +@property (nonatomic, weak) CADisplayLink *progressObjectDisplayLink; + +// Deprecated +@property (assign) BOOL taskInProgress; @end -@implementation MBProgressHUD +@interface MBProgressHUDRoundedButton : UIButton +@end -#pragma mark - Properties -@synthesize animationType; -@synthesize delegate; -@synthesize opacity; -@synthesize color; -@synthesize labelFont; -@synthesize labelColor; -@synthesize detailsLabelFont; -@synthesize detailsLabelColor; -@synthesize indicator; -@synthesize xOffset; -@synthesize yOffset; -@synthesize minSize; -@synthesize square; -@synthesize margin; -@synthesize dimBackground; -@synthesize graceTime; -@synthesize minShowTime; -@synthesize graceTimer; -@synthesize minShowTimer; -@synthesize taskInProgress; -@synthesize removeFromSuperViewOnHide; -@synthesize customView; -@synthesize showStarted; -@synthesize mode; -@synthesize labelText; -@synthesize detailsLabelText; -@synthesize progress; -@synthesize size; -@synthesize activityIndicatorColor; -#if NS_BLOCKS_AVAILABLE -@synthesize completionBlock; -#endif +@implementation MBProgressHUD #pragma mark - Class methods -+ (MB_INSTANCETYPE)showHUDAddedTo:(UIView *)view animated:(BOOL)animated { - MBProgressHUD *hud = [[self alloc] initWithView:view]; - hud.removeFromSuperViewOnHide = YES; - [view addSubview:hud]; - [hud show:animated]; - return MB_AUTORELEASE(hud); ++ (instancetype)showHUDAddedTo:(UIView *)view animated:(BOOL)animated { + MBProgressHUD *hud = [[self alloc] initWithView:view]; + hud.removeFromSuperViewOnHide = YES; + [view addSubview:hud]; + [hud showAnimated:animated]; + return hud; } + (BOOL)hideHUDForView:(UIView *)view animated:(BOOL)animated { - MBProgressHUD *hud = [self HUDForView:view]; - if (hud != nil) { - hud.removeFromSuperViewOnHide = YES; - [hud hide:animated]; - return YES; - } - return NO; + MBProgressHUD *hud = [self HUDForView:view]; + if (hud != nil) { + hud.removeFromSuperViewOnHide = YES; + [hud hideAnimated:animated]; + return YES; + } + return NO; } -+ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated { - NSArray *huds = [MBProgressHUD allHUDsForView:view]; - for (MBProgressHUD *hud in huds) { - hud.removeFromSuperViewOnHide = YES; - [hud hide:animated]; - } - return [huds count]; ++ (MBProgressHUD *)HUDForView:(UIView *)view { + NSEnumerator *subviewsEnum = [view.subviews reverseObjectEnumerator]; + for (UIView *subview in subviewsEnum) { + if ([subview isKindOfClass:self]) { + MBProgressHUD *hud = (MBProgressHUD *)subview; + if (hud.hasFinished == NO) { + return hud; + } + } + } + return nil; } -+ (MB_INSTANCETYPE)HUDForView:(UIView *)view { - NSEnumerator *subviewsEnum = [view.subviews reverseObjectEnumerator]; - for (UIView *subview in subviewsEnum) { - if ([subview isKindOfClass:self]) { - return (MBProgressHUD *)subview; - } - } - return nil; -} +#pragma mark - Lifecycle -+ (NSArray *)allHUDsForView:(UIView *)view { - NSMutableArray *huds = [NSMutableArray array]; - NSArray *subviews = view.subviews; - for (UIView *aView in subviews) { - if ([aView isKindOfClass:self]) { - [huds addObject:aView]; - } - } - return [NSArray arrayWithArray:huds]; +- (void)commonInit { + // Set default values for properties + _animationType = MBProgressHUDAnimationFade; + _mode = MBProgressHUDModeIndeterminate; + _margin = 20.0f; + _opacity = 1.f; + _defaultMotionEffectsEnabled = YES; + + // Default color, depending on the current iOS version + BOOL isLegacy = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0; + _contentColor = isLegacy ? [UIColor whiteColor] : [UIColor colorWithWhite:0.f alpha:0.7f]; + // Transparent background + self.opaque = NO; + self.backgroundColor = [UIColor clearColor]; + // Make it invisible for now + self.alpha = 0.0f; + self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; + self.layer.allowsGroupOpacity = NO; + + [self setupViews]; + [self updateIndicators]; + [self registerForNotifications]; } -#pragma mark - Lifecycle - -- (id)initWithFrame:(CGRect)frame { - self = [super initWithFrame:frame]; - if (self) { - // Set default values for properties - self.animationType = MBProgressHUDAnimationFade; - self.mode = MBProgressHUDModeIndeterminate; - self.labelText = nil; - self.detailsLabelText = nil; - self.opacity = 0.8f; - self.color = nil; - self.labelFont = [UIFont boldSystemFontOfSize:kLabelFontSize]; - self.labelColor = [UIColor whiteColor]; - self.detailsLabelFont = [UIFont boldSystemFontOfSize:kDetailsLabelFontSize]; - self.detailsLabelColor = [UIColor whiteColor]; - self.activityIndicatorColor = [UIColor whiteColor]; - self.xOffset = 0.0f; - self.yOffset = 0.0f; - self.dimBackground = NO; - self.margin = 20.0f; - self.cornerRadius = 10.0f; - self.graceTime = 0.0f; - self.minShowTime = 0.0f; - self.removeFromSuperViewOnHide = NO; - self.minSize = CGSizeZero; - self.square = NO; - self.contentMode = UIViewContentModeCenter; - self.autoresizingMask = UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin - | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin; - - // Transparent background - self.opaque = NO; - self.backgroundColor = [UIColor clearColor]; - // Make it invisible for now - self.alpha = 0.0f; - - taskInProgress = NO; - rotationTransform = CGAffineTransformIdentity; - - [self setupLabels]; - [self updateIndicators]; - [self registerForKVO]; - [self registerForNotifications]; - } - return self; +- (instancetype)initWithFrame:(CGRect)frame { + if ((self = [super initWithFrame:frame])) { + [self commonInit]; + } + return self; } -- (id)initWithView:(UIView *)view { - NSAssert(view, @"View must not be nil."); - return [self initWithFrame:view.bounds]; +- (instancetype)initWithCoder:(NSCoder *)aDecoder { + if ((self = [super initWithCoder:aDecoder])) { + [self commonInit]; + } + return self; } -- (id)initWithWindow:(UIWindow *)window { - return [self initWithView:window]; +- (id)initWithView:(UIView *)view { + NSAssert(view, @"View must not be nil."); + return [self initWithFrame:view.bounds]; } - (void)dealloc { - [self unregisterFromNotifications]; - [self unregisterFromKVO]; -#if !__has_feature(objc_arc) - [color release]; - [indicator release]; - [label release]; - [detailsLabel release]; - [labelText release]; - [detailsLabelText release]; - [graceTimer release]; - [minShowTimer release]; - [showStarted release]; - [customView release]; - [labelFont release]; - [labelColor release]; - [detailsLabelFont release]; - [detailsLabelColor release]; -#if NS_BLOCKS_AVAILABLE - [completionBlock release]; -#endif - [super dealloc]; -#endif + [self unregisterFromNotifications]; } #pragma mark - Show & hide -- (void)show:(BOOL)animated { - NSAssert([NSThread isMainThread], @"MBProgressHUD needs to be accessed on the main thread."); - useAnimation = animated; - // If the grace time is set postpone the HUD display - if (self.graceTime > 0.0) { - NSTimer *newGraceTimer = [NSTimer timerWithTimeInterval:self.graceTime target:self selector:@selector(handleGraceTimer:) userInfo:nil repeats:NO]; - [[NSRunLoop currentRunLoop] addTimer:newGraceTimer forMode:NSRunLoopCommonModes]; - self.graceTimer = newGraceTimer; - } - // ... otherwise show the HUD imediately - else { - [self showUsingAnimation:useAnimation]; - } +- (void)showAnimated:(BOOL)animated { + MBMainThreadAssert(); + [self.minShowTimer invalidate]; + self.useAnimation = animated; + self.finished = NO; + // If the grace time is set, postpone the HUD display + if (self.graceTime > 0.0) { + NSTimer *timer = [NSTimer timerWithTimeInterval:self.graceTime target:self selector:@selector(handleGraceTimer:) userInfo:nil repeats:NO]; + [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes]; + self.graceTimer = timer; + } + // ... otherwise show the HUD immediately + else { + [self showUsingAnimation:self.useAnimation]; + } } -- (void)hide:(BOOL)animated { - NSAssert([NSThread isMainThread], @"MBProgressHUD needs to be accessed on the main thread."); - useAnimation = animated; - // If the minShow time is set, calculate how long the hud was shown, - // and pospone the hiding operation if necessary - if (self.minShowTime > 0.0 && showStarted) { - NSTimeInterval interv = [[NSDate date] timeIntervalSinceDate:showStarted]; - if (interv < self.minShowTime) { - self.minShowTimer = [NSTimer scheduledTimerWithTimeInterval:(self.minShowTime - interv) target:self - selector:@selector(handleMinShowTimer:) userInfo:nil repeats:NO]; - return; - } - } - // ... otherwise hide the HUD immediately - [self hideUsingAnimation:useAnimation]; +- (void)hideAnimated:(BOOL)animated { + MBMainThreadAssert(); + [self.graceTimer invalidate]; + self.useAnimation = animated; + self.finished = YES; + // If the minShow time is set, calculate how long the HUD was shown, + // and postpone the hiding operation if necessary + if (self.minShowTime > 0.0 && self.showStarted) { + NSTimeInterval interv = [[NSDate date] timeIntervalSinceDate:self.showStarted]; + if (interv < self.minShowTime) { + NSTimer *timer = [NSTimer timerWithTimeInterval:(self.minShowTime - interv) target:self selector:@selector(handleMinShowTimer:) userInfo:nil repeats:NO]; + [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes]; + self.minShowTimer = timer; + return; + } + } + // ... otherwise hide the HUD immediately + [self hideUsingAnimation:self.useAnimation]; } -- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay { - [self performSelector:@selector(hideDelayed:) withObject:[NSNumber numberWithBool:animated] afterDelay:delay]; -} +- (void)hideAnimated:(BOOL)animated afterDelay:(NSTimeInterval)delay { + // Cancel any scheduled hideDelayed: calls + [self.hideDelayTimer invalidate]; -- (void)hideDelayed:(NSNumber *)animated { - [self hide:[animated boolValue]]; + NSTimer *timer = [NSTimer timerWithTimeInterval:delay target:self selector:@selector(handleHideTimer:) userInfo:@(animated) repeats:NO]; + [[NSRunLoop currentRunLoop] addTimer:timer forMode:NSRunLoopCommonModes]; + self.hideDelayTimer = timer; } #pragma mark - Timer callbacks - (void)handleGraceTimer:(NSTimer *)theTimer { - // Show the HUD only if the task is still running - if (taskInProgress) { - [self showUsingAnimation:useAnimation]; - } + // Show the HUD only if the task is still running + if (!self.hasFinished) { + [self showUsingAnimation:self.useAnimation]; + } } - (void)handleMinShowTimer:(NSTimer *)theTimer { - [self hideUsingAnimation:useAnimation]; + [self hideUsingAnimation:self.useAnimation]; +} + +- (void)handleHideTimer:(NSTimer *)timer { + [self hideAnimated:[timer.userInfo boolValue]]; } #pragma mark - View Hierrarchy @@ -306,478 +212,618 @@ - (void)didMoveToSuperview { #pragma mark - Internal show & hide operations - (void)showUsingAnimation:(BOOL)animated { + // Cancel any previous animations + [self.bezelView.layer removeAllAnimations]; + [self.backgroundView.layer removeAllAnimations]; + // Cancel any scheduled hideDelayed: calls - [NSObject cancelPreviousPerformRequestsWithTarget:self]; - [self setNeedsDisplay]; - - if (animated && animationType == MBProgressHUDAnimationZoomIn) { - self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(0.5f, 0.5f)); - } else if (animated && animationType == MBProgressHUDAnimationZoomOut) { - self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(1.5f, 1.5f)); - } - self.showStarted = [NSDate date]; - // Fade in - if (animated) { - [UIView beginAnimations:nil context:NULL]; - [UIView setAnimationDuration:0.30]; - self.alpha = 1.0f; - if (animationType == MBProgressHUDAnimationZoomIn || animationType == MBProgressHUDAnimationZoomOut) { - self.transform = rotationTransform; - } - [UIView commitAnimations]; - } - else { - self.alpha = 1.0f; - } + [self.hideDelayTimer invalidate]; + + self.showStarted = [NSDate date]; + self.alpha = 1.f; + + // Needed in case we hide and re-show with the same NSProgress object attached. + [self setNSProgressDisplayLinkEnabled:YES]; + + if (animated) { + [self animateIn:YES withType:self.animationType completion:NULL]; + } else { +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + self.bezelView.alpha = self.opacity; +#pragma clang diagnostic pop + self.backgroundView.alpha = 1.f; + } } - (void)hideUsingAnimation:(BOOL)animated { - // Fade out - if (animated && showStarted) { - [UIView beginAnimations:nil context:NULL]; - [UIView setAnimationDuration:0.30]; - [UIView setAnimationDelegate:self]; - [UIView setAnimationDidStopSelector:@selector(animationFinished:finished:context:)]; - // 0.02 prevents the hud from passing through touches during the animation the hud will get completely hidden - // in the done method - if (animationType == MBProgressHUDAnimationZoomIn) { - self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(1.5f, 1.5f)); - } else if (animationType == MBProgressHUDAnimationZoomOut) { - self.transform = CGAffineTransformConcat(rotationTransform, CGAffineTransformMakeScale(0.5f, 0.5f)); - } - - self.alpha = 0.02f; - [UIView commitAnimations]; - } - else { - self.alpha = 0.0f; - [self done]; - } - self.showStarted = nil; -} - -- (void)animationFinished:(NSString *)animationID finished:(BOOL)finished context:(void*)context { - [self done]; + if (animated && self.showStarted) { + self.showStarted = nil; + [self animateIn:NO withType:self.animationType completion:^(BOOL finished) { + [self done]; + }]; + } else { + self.showStarted = nil; + self.bezelView.alpha = 0.f; + self.backgroundView.alpha = 1.f; + [self done]; + } +} + +- (void)animateIn:(BOOL)animatingIn withType:(MBProgressHUDAnimation)type completion:(void(^)(BOOL finished))completion { + // Automatically determine the correct zoom animation type + if (type == MBProgressHUDAnimationZoom) { + type = animatingIn ? MBProgressHUDAnimationZoomIn : MBProgressHUDAnimationZoomOut; + } + + CGAffineTransform small = CGAffineTransformMakeScale(0.5f, 0.5f); + CGAffineTransform large = CGAffineTransformMakeScale(1.5f, 1.5f); + + // Set starting state + UIView *bezelView = self.bezelView; + if (animatingIn && bezelView.alpha == 0.f && type == MBProgressHUDAnimationZoomIn) { + bezelView.transform = small; + } else if (animatingIn && bezelView.alpha == 0.f && type == MBProgressHUDAnimationZoomOut) { + bezelView.transform = large; + } + + // Perform animations + dispatch_block_t animations = ^{ + if (animatingIn) { + bezelView.transform = CGAffineTransformIdentity; + } else if (!animatingIn && type == MBProgressHUDAnimationZoomIn) { + bezelView.transform = large; + } else if (!animatingIn && type == MBProgressHUDAnimationZoomOut) { + bezelView.transform = small; + } +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + bezelView.alpha = animatingIn ? self.opacity : 0.f; +#pragma clang diagnostic pop + self.backgroundView.alpha = animatingIn ? 1.f : 0.f; + }; + + // Spring animations are nicer, but only available on iOS 7+ +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 || TARGET_OS_TV + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_7_0) { + [UIView animateWithDuration:0.3 delay:0. usingSpringWithDamping:1.f initialSpringVelocity:0.f options:UIViewAnimationOptionBeginFromCurrentState animations:animations completion:completion]; + return; + } +#endif + [UIView animateWithDuration:0.3 delay:0. options:UIViewAnimationOptionBeginFromCurrentState animations:animations completion:completion]; } - (void)done { - [NSObject cancelPreviousPerformRequestsWithTarget:self]; - isFinished = YES; - self.alpha = 0.0f; - if (removeFromSuperViewOnHide) { - [self removeFromSuperview]; - } -#if NS_BLOCKS_AVAILABLE - if (self.completionBlock) { - self.completionBlock(); - self.completionBlock = NULL; - } + // Cancel any scheduled hideDelayed: calls + [self.hideDelayTimer invalidate]; + [self setNSProgressDisplayLinkEnabled:NO]; + + if (self.hasFinished) { + self.alpha = 0.0f; + if (self.removeFromSuperViewOnHide) { + [self removeFromSuperview]; + } + } + MBProgressHUDCompletionBlock completionBlock = self.completionBlock; + if (completionBlock) { + completionBlock(); + } + id delegate = self.delegate; + if ([delegate respondsToSelector:@selector(hudWasHidden:)]) { + [delegate performSelector:@selector(hudWasHidden:) withObject:self]; + } +} + +#pragma mark - UI + +- (void)setupViews { + UIColor *defaultColor = self.contentColor; + + MBBackgroundView *backgroundView = [[MBBackgroundView alloc] initWithFrame:self.bounds]; + backgroundView.style = MBProgressHUDBackgroundStyleSolidColor; + backgroundView.backgroundColor = [UIColor clearColor]; + backgroundView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; + backgroundView.alpha = 0.f; + [self addSubview:backgroundView]; + _backgroundView = backgroundView; + + MBBackgroundView *bezelView = [MBBackgroundView new]; + bezelView.translatesAutoresizingMaskIntoConstraints = NO; + bezelView.layer.cornerRadius = 5.f; + bezelView.alpha = 0.f; + [self addSubview:bezelView]; + _bezelView = bezelView; + [self updateBezelMotionEffects]; + + UILabel *label = [UILabel new]; + label.adjustsFontSizeToFitWidth = NO; + label.textAlignment = NSTextAlignmentCenter; + label.textColor = defaultColor; + label.font = [UIFont boldSystemFontOfSize:MBDefaultLabelFontSize]; + label.opaque = NO; + label.backgroundColor = [UIColor clearColor]; + _label = label; + + UILabel *detailsLabel = [UILabel new]; + detailsLabel.adjustsFontSizeToFitWidth = NO; + detailsLabel.textAlignment = NSTextAlignmentCenter; + detailsLabel.textColor = defaultColor; + detailsLabel.numberOfLines = 0; + detailsLabel.font = [UIFont boldSystemFontOfSize:MBDefaultDetailsLabelFontSize]; + detailsLabel.opaque = NO; + detailsLabel.backgroundColor = [UIColor clearColor]; + _detailsLabel = detailsLabel; + + UIButton *button = [MBProgressHUDRoundedButton buttonWithType:UIButtonTypeCustom]; + button.titleLabel.textAlignment = NSTextAlignmentCenter; + button.titleLabel.font = [UIFont boldSystemFontOfSize:MBDefaultDetailsLabelFontSize]; + [button setTitleColor:defaultColor forState:UIControlStateNormal]; + _button = button; + + for (UIView *view in @[label, detailsLabel, button]) { + view.translatesAutoresizingMaskIntoConstraints = NO; + [view setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisHorizontal]; + [view setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisVertical]; + [bezelView addSubview:view]; + } + + UIView *topSpacer = [UIView new]; + topSpacer.translatesAutoresizingMaskIntoConstraints = NO; + topSpacer.hidden = YES; + [bezelView addSubview:topSpacer]; + _topSpacer = topSpacer; + + UIView *bottomSpacer = [UIView new]; + bottomSpacer.translatesAutoresizingMaskIntoConstraints = NO; + bottomSpacer.hidden = YES; + [bezelView addSubview:bottomSpacer]; + _bottomSpacer = bottomSpacer; +} + +- (void)updateIndicators { + UIView *indicator = self.indicator; + BOOL isActivityIndicator = [indicator isKindOfClass:[UIActivityIndicatorView class]]; + BOOL isRoundIndicator = [indicator isKindOfClass:[MBRoundProgressView class]]; + + MBProgressHUDMode mode = self.mode; + if (mode == MBProgressHUDModeIndeterminate) { + if (!isActivityIndicator) { + // Update to indeterminate indicator + [indicator removeFromSuperview]; + indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; + [(UIActivityIndicatorView *)indicator startAnimating]; + [self.bezelView addSubview:indicator]; + } + } + else if (mode == MBProgressHUDModeDeterminateHorizontalBar) { + // Update to bar determinate indicator + [indicator removeFromSuperview]; + indicator = [[MBBarProgressView alloc] init]; + [self.bezelView addSubview:indicator]; + } + else if (mode == MBProgressHUDModeDeterminate || mode == MBProgressHUDModeAnnularDeterminate) { + if (!isRoundIndicator) { + // Update to determinante indicator + [indicator removeFromSuperview]; + indicator = [[MBRoundProgressView alloc] init]; + [self.bezelView addSubview:indicator]; + } + if (mode == MBProgressHUDModeAnnularDeterminate) { + [(MBRoundProgressView *)indicator setAnnular:YES]; + } + } + else if (mode == MBProgressHUDModeCustomView && self.customView != indicator) { + // Update custom view indicator + [indicator removeFromSuperview]; + indicator = self.customView; + [self.bezelView addSubview:indicator]; + } + else if (mode == MBProgressHUDModeText) { + [indicator removeFromSuperview]; + indicator = nil; + } + indicator.translatesAutoresizingMaskIntoConstraints = NO; + self.indicator = indicator; + + if ([indicator respondsToSelector:@selector(setProgress:)]) { + [(id)indicator setValue:@(self.progress) forKey:@"progress"]; + } + + [indicator setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisHorizontal]; + [indicator setContentCompressionResistancePriority:998.f forAxis:UILayoutConstraintAxisVertical]; + + [self updateViewsForColor:self.contentColor]; + [self setNeedsUpdateConstraints]; +} + +- (void)updateViewsForColor:(UIColor *)color { + if (!color) return; + + self.label.textColor = color; + self.detailsLabel.textColor = color; + [self.button setTitleColor:color forState:UIControlStateNormal]; + +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" + if (self.activityIndicatorColor) { + color = self.activityIndicatorColor; + } +#pragma clang diagnostic pop + + // UIAppearance settings are prioritized. If they are preset the set color is ignored. + + UIView *indicator = self.indicator; + if ([indicator isKindOfClass:[UIActivityIndicatorView class]]) { + UIActivityIndicatorView *appearance = nil; +#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000 + appearance = [UIActivityIndicatorView appearanceWhenContainedIn:[MBProgressHUD class], nil]; +#else + // For iOS 9+ + appearance = [UIActivityIndicatorView appearanceWhenContainedInInstancesOfClasses:@[[MBProgressHUD class]]]; +#endif + + if (appearance.color == nil) { + ((UIActivityIndicatorView *)indicator).color = color; + } + } else if ([indicator isKindOfClass:[MBRoundProgressView class]]) { + MBRoundProgressView *appearance = nil; +#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000 + appearance = [MBRoundProgressView appearanceWhenContainedIn:[MBProgressHUD class], nil]; +#else + appearance = [MBRoundProgressView appearanceWhenContainedInInstancesOfClasses:@[[MBProgressHUD class]]]; #endif - if ([delegate respondsToSelector:@selector(hudWasHidden:)]) { - [delegate performSelector:@selector(hudWasHidden:) withObject:self]; - } + if (appearance.progressTintColor == nil) { + ((MBRoundProgressView *)indicator).progressTintColor = color; + } + if (appearance.backgroundTintColor == nil) { + ((MBRoundProgressView *)indicator).backgroundTintColor = [color colorWithAlphaComponent:0.1]; + } + } else if ([indicator isKindOfClass:[MBBarProgressView class]]) { + MBBarProgressView *appearance = nil; +#if __IPHONE_OS_VERSION_MIN_REQUIRED < 90000 + appearance = [MBBarProgressView appearanceWhenContainedIn:[MBProgressHUD class], nil]; +#else + appearance = [MBBarProgressView appearanceWhenContainedInInstancesOfClasses:@[[MBProgressHUD class]]]; +#endif + if (appearance.progressColor == nil) { + ((MBBarProgressView *)indicator).progressColor = color; + } + if (appearance.lineColor == nil) { + ((MBBarProgressView *)indicator).lineColor = color; + } + } else { +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 || TARGET_OS_TV + if ([indicator respondsToSelector:@selector(setTintColor:)]) { + [indicator setTintColor:color]; + } +#endif + } } -#pragma mark - Threading +- (void)updateBezelMotionEffects { +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 || TARGET_OS_TV + MBBackgroundView *bezelView = self.bezelView; + if (![bezelView respondsToSelector:@selector(addMotionEffect:)]) return; + + if (self.defaultMotionEffectsEnabled) { + CGFloat effectOffset = 10.f; + UIInterpolatingMotionEffect *effectX = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.x" type:UIInterpolatingMotionEffectTypeTiltAlongHorizontalAxis]; + effectX.maximumRelativeValue = @(effectOffset); + effectX.minimumRelativeValue = @(-effectOffset); + + UIInterpolatingMotionEffect *effectY = [[UIInterpolatingMotionEffect alloc] initWithKeyPath:@"center.y" type:UIInterpolatingMotionEffectTypeTiltAlongVerticalAxis]; + effectY.maximumRelativeValue = @(effectOffset); + effectY.minimumRelativeValue = @(-effectOffset); + + UIMotionEffectGroup *group = [[UIMotionEffectGroup alloc] init]; + group.motionEffects = @[effectX, effectY]; + + [bezelView addMotionEffect:group]; + } else { + NSArray *effects = [bezelView motionEffects]; + for (UIMotionEffect *effect in effects) { + [bezelView removeMotionEffect:effect]; + } + } +#endif +} -- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated { - methodForExecution = method; - targetForExecution = MB_RETAIN(target); - objectForExecution = MB_RETAIN(object); - // Launch execution in new thread - self.taskInProgress = YES; - [NSThread detachNewThreadSelector:@selector(launchExecution) toTarget:self withObject:nil]; - // Show HUD view - [self show:animated]; +#pragma mark - Layout + +- (void)updateConstraints { + UIView *bezel = self.bezelView; + UIView *topSpacer = self.topSpacer; + UIView *bottomSpacer = self.bottomSpacer; + CGFloat margin = self.margin; + NSMutableArray *bezelConstraints = [NSMutableArray array]; + NSDictionary *metrics = @{@"margin": @(margin)}; + + NSMutableArray *subviews = [NSMutableArray arrayWithObjects:self.topSpacer, self.label, self.detailsLabel, self.button, self.bottomSpacer, nil]; + if (self.indicator) [subviews insertObject:self.indicator atIndex:1]; + + // Remove existing constraints + [self removeConstraints:self.constraints]; + [topSpacer removeConstraints:topSpacer.constraints]; + [bottomSpacer removeConstraints:bottomSpacer.constraints]; + if (self.bezelConstraints) { + [bezel removeConstraints:self.bezelConstraints]; + self.bezelConstraints = nil; + } + + // Center bezel in container (self), applying the offset if set + CGPoint offset = self.offset; + NSMutableArray *centeringConstraints = [NSMutableArray array]; + [centeringConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeCenterX multiplier:1.f constant:offset.x]]; + [centeringConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeCenterY relatedBy:NSLayoutRelationEqual toItem:self attribute:NSLayoutAttributeCenterY multiplier:1.f constant:offset.y]]; + [self applyPriority:998.f toConstraints:centeringConstraints]; + [self addConstraints:centeringConstraints]; + + // Ensure minimum side margin is kept + NSMutableArray *sideConstraints = [NSMutableArray array]; + [sideConstraints addObjectsFromArray:[NSLayoutConstraint constraintsWithVisualFormat:@"|-(>=margin)-[bezel]-(>=margin)-|" options:0 metrics:metrics views:NSDictionaryOfVariableBindings(bezel)]]; + [sideConstraints addObjectsFromArray:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-(>=margin)-[bezel]-(>=margin)-|" options:0 metrics:metrics views:NSDictionaryOfVariableBindings(bezel)]]; + [self applyPriority:999.f toConstraints:sideConstraints]; + [self addConstraints:sideConstraints]; + + // Minimum bezel size, if set + CGSize minimumSize = self.minSize; + if (!CGSizeEqualToSize(minimumSize, CGSizeZero)) { + NSMutableArray *minSizeConstraints = [NSMutableArray array]; + [minSizeConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeWidth relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:minimumSize.width]]; + [minSizeConstraints addObject:[NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:minimumSize.height]]; + [self applyPriority:997.f toConstraints:minSizeConstraints]; + [bezelConstraints addObjectsFromArray:minSizeConstraints]; + } + + // Square aspect ratio, if set + if (self.square) { + NSLayoutConstraint *square = [NSLayoutConstraint constraintWithItem:bezel attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeWidth multiplier:1.f constant:0]; + square.priority = 997.f; + [bezelConstraints addObject:square]; + } + + // Top and bottom spacing + [topSpacer addConstraint:[NSLayoutConstraint constraintWithItem:topSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:margin]]; + [bottomSpacer addConstraint:[NSLayoutConstraint constraintWithItem:bottomSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.f constant:margin]]; + // Top and bottom spaces should be equal + [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:topSpacer attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationEqual toItem:bottomSpacer attribute:NSLayoutAttributeHeight multiplier:1.f constant:0.f]]; + + // Layout subviews in bezel + NSMutableArray *paddingConstraints = [NSMutableArray new]; + [subviews enumerateObjectsUsingBlock:^(UIView *view, NSUInteger idx, BOOL *stop) { + // Center in bezel + [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeCenterX multiplier:1.f constant:0.f]]; + // Ensure the minimum edge margin is kept + [bezelConstraints addObjectsFromArray:[NSLayoutConstraint constraintsWithVisualFormat:@"|-(>=margin)-[view]-(>=margin)-|" options:0 metrics:metrics views:NSDictionaryOfVariableBindings(view)]]; + // Element spacing + if (idx == 0) { + // First, ensure spacing to bezel edge + [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeTop multiplier:1.f constant:0.f]]; + } else if (idx == subviews.count - 1) { + // Last, ensure spacing to bezel edge + [bezelConstraints addObject:[NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeBottom relatedBy:NSLayoutRelationEqual toItem:bezel attribute:NSLayoutAttributeBottom multiplier:1.f constant:0.f]]; + } + if (idx > 0) { + // Has previous + NSLayoutConstraint *padding = [NSLayoutConstraint constraintWithItem:view attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:subviews[idx - 1] attribute:NSLayoutAttributeBottom multiplier:1.f constant:0.f]; + [bezelConstraints addObject:padding]; + [paddingConstraints addObject:padding]; + } + }]; + + [bezel addConstraints:bezelConstraints]; + self.bezelConstraints = bezelConstraints; + + self.paddingConstraints = [paddingConstraints copy]; + [self updatePaddingConstraints]; + + [super updateConstraints]; } -#if NS_BLOCKS_AVAILABLE +- (void)layoutSubviews { + // There is no need to update constraints if they are going to + // be recreated in [super layoutSubviews] due to needsUpdateConstraints being set. + // This also avoids an issue on iOS 8, where updatePaddingConstraints + // would trigger a zombie object access. + if (!self.needsUpdateConstraints) { + [self updatePaddingConstraints]; + } + [super layoutSubviews]; +} -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block { - dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); - [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL]; +- (void)updatePaddingConstraints { + // Set padding dynamically, depending on whether the view is visible or not + __block BOOL hasVisibleAncestors = NO; + [self.paddingConstraints enumerateObjectsUsingBlock:^(NSLayoutConstraint *padding, NSUInteger idx, BOOL *stop) { + UIView *firstView = (UIView *)padding.firstItem; + UIView *secondView = (UIView *)padding.secondItem; + BOOL firstVisible = !firstView.hidden && !CGSizeEqualToSize(firstView.intrinsicContentSize, CGSizeZero); + BOOL secondVisible = !secondView.hidden && !CGSizeEqualToSize(secondView.intrinsicContentSize, CGSizeZero); + // Set if both views are visible or if there's a visible view on top that doesn't have padding + // added relative to the current view yet + padding.constant = (firstVisible && (secondVisible || hasVisibleAncestors)) ? MBDefaultPadding : 0.f; + hasVisibleAncestors |= secondVisible; + }]; } -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(void (^)())completion { - dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); - [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:completion]; +- (void)applyPriority:(UILayoutPriority)priority toConstraints:(NSArray *)constraints { + for (NSLayoutConstraint *constraint in constraints) { + constraint.priority = priority; + } } -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue { - [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL]; +#pragma mark - Properties + +- (void)setMode:(MBProgressHUDMode)mode { + if (mode != _mode) { + _mode = mode; + [self updateIndicators]; + } } -- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue - completionBlock:(MBProgressHUDCompletionBlock)completion { - self.taskInProgress = YES; - self.completionBlock = completion; - dispatch_async(queue, ^(void) { - block(); - dispatch_async(dispatch_get_main_queue(), ^(void) { - [self cleanUp]; - }); - }); - [self show:animated]; +- (void)setCustomView:(UIView *)customView { + if (customView != _customView) { + _customView = customView; + if (self.mode == MBProgressHUDModeCustomView) { + [self updateIndicators]; + } + } } -#endif +- (void)setOffset:(CGPoint)offset { + if (!CGPointEqualToPoint(offset, _offset)) { + _offset = offset; + [self setNeedsUpdateConstraints]; + } +} -- (void)launchExecution { - @autoreleasepool { -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-performSelector-leaks" - // Start executing the requested task - [targetForExecution performSelector:methodForExecution withObject:objectForExecution]; -#pragma clang diagnostic pop - // Task completed, update view in main thread (note: view operations should - // be done only in the main thread) - [self performSelectorOnMainThread:@selector(cleanUp) withObject:nil waitUntilDone:NO]; - } +- (void)setMargin:(CGFloat)margin { + if (margin != _margin) { + _margin = margin; + [self setNeedsUpdateConstraints]; + } } -- (void)cleanUp { - taskInProgress = NO; -#if !__has_feature(objc_arc) - [targetForExecution release]; - [objectForExecution release]; -#else - targetForExecution = nil; - objectForExecution = nil; -#endif - [self hide:useAnimation]; +- (void)setMinSize:(CGSize)minSize { + if (!CGSizeEqualToSize(minSize, _minSize)) { + _minSize = minSize; + [self setNeedsUpdateConstraints]; + } } -#pragma mark - UI +- (void)setSquare:(BOOL)square { + if (square != _square) { + _square = square; + [self setNeedsUpdateConstraints]; + } +} -- (void)setupLabels { - label = [[UILabel alloc] initWithFrame:self.bounds]; - label.adjustsFontSizeToFitWidth = NO; - label.textAlignment = MBLabelAlignmentCenter; - label.opaque = NO; - label.backgroundColor = [UIColor clearColor]; - label.textColor = self.labelColor; - label.font = self.labelFont; - label.text = self.labelText; - [self addSubview:label]; - - detailsLabel = [[UILabel alloc] initWithFrame:self.bounds]; - detailsLabel.font = self.detailsLabelFont; - detailsLabel.adjustsFontSizeToFitWidth = NO; - detailsLabel.textAlignment = MBLabelAlignmentCenter; - detailsLabel.opaque = NO; - detailsLabel.backgroundColor = [UIColor clearColor]; - detailsLabel.textColor = self.detailsLabelColor; - detailsLabel.numberOfLines = 0; - detailsLabel.font = self.detailsLabelFont; - detailsLabel.text = self.detailsLabelText; - [self addSubview:detailsLabel]; +- (void)setProgressObjectDisplayLink:(CADisplayLink *)progressObjectDisplayLink { + if (progressObjectDisplayLink != _progressObjectDisplayLink) { + [_progressObjectDisplayLink invalidate]; + + _progressObjectDisplayLink = progressObjectDisplayLink; + + [_progressObjectDisplayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSDefaultRunLoopMode]; + } } -- (void)updateIndicators { - - BOOL isActivityIndicator = [indicator isKindOfClass:[UIActivityIndicatorView class]]; - BOOL isRoundIndicator = [indicator isKindOfClass:[MBRoundProgressView class]]; - - if (mode == MBProgressHUDModeIndeterminate) { - if (!isActivityIndicator) { - // Update to indeterminate indicator - [indicator removeFromSuperview]; - self.indicator = MB_AUTORELEASE([[UIActivityIndicatorView alloc] - initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]); - [(UIActivityIndicatorView *)indicator startAnimating]; - [self addSubview:indicator]; - } -#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 50000 - [(UIActivityIndicatorView *)indicator setColor:self.activityIndicatorColor]; -#endif - } - else if (mode == MBProgressHUDModeDeterminateHorizontalBar) { - // Update to bar determinate indicator - [indicator removeFromSuperview]; - self.indicator = MB_AUTORELEASE([[MBBarProgressView alloc] init]); - [self addSubview:indicator]; - } - else if (mode == MBProgressHUDModeDeterminate || mode == MBProgressHUDModeAnnularDeterminate) { - if (!isRoundIndicator) { - // Update to determinante indicator - [indicator removeFromSuperview]; - self.indicator = MB_AUTORELEASE([[MBRoundProgressView alloc] init]); - [self addSubview:indicator]; - } - if (mode == MBProgressHUDModeAnnularDeterminate) { - [(MBRoundProgressView *)indicator setAnnular:YES]; - } - [(MBRoundProgressView *)indicator setProgressTintColor:self.activityIndicatorColor]; - [(MBRoundProgressView *)indicator setBackgroundTintColor:[self.activityIndicatorColor colorWithAlphaComponent:0.1f]]; - } - else if (mode == MBProgressHUDModeCustomView && customView != indicator) { - // Update custom view indicator - [indicator removeFromSuperview]; - self.indicator = customView; - [self addSubview:indicator]; - } else if (mode == MBProgressHUDModeText) { - [indicator removeFromSuperview]; - self.indicator = nil; - } +- (void)setProgressObject:(NSProgress *)progressObject { + if (progressObject != _progressObject) { + _progressObject = progressObject; + [self setNSProgressDisplayLinkEnabled:YES]; + } } -#pragma mark - Layout +- (void)setProgress:(float)progress { + if (progress != _progress) { + _progress = progress; + UIView *indicator = self.indicator; + if ([indicator respondsToSelector:@selector(setProgress:)]) { + [(id)indicator setValue:@(self.progress) forKey:@"progress"]; + } + } +} -- (void)layoutSubviews { - [super layoutSubviews]; - - // Entirely cover the parent view - UIView *parent = self.superview; - if (parent) { - self.frame = parent.bounds; - } - CGRect bounds = self.bounds; - - // Determine the total width and height needed - CGFloat maxWidth = bounds.size.width - 4 * margin; - CGSize totalSize = CGSizeZero; - - CGRect indicatorF = indicator.bounds; - indicatorF.size.width = MIN(indicatorF.size.width, maxWidth); - totalSize.width = MAX(totalSize.width, indicatorF.size.width); - totalSize.height += indicatorF.size.height; - - CGSize labelSize = MB_TEXTSIZE(label.text, label.font); - labelSize.width = MIN(labelSize.width, maxWidth); - totalSize.width = MAX(totalSize.width, labelSize.width); - totalSize.height += labelSize.height; - if (labelSize.height > 0.f && indicatorF.size.height > 0.f) { - totalSize.height += kPadding; - } - - CGFloat remainingHeight = bounds.size.height - totalSize.height - kPadding - 4 * margin; - CGSize maxSize = CGSizeMake(maxWidth, remainingHeight); - CGSize detailsLabelSize = MB_MULTILINE_TEXTSIZE(detailsLabel.text, detailsLabel.font, maxSize, detailsLabel.lineBreakMode); - totalSize.width = MAX(totalSize.width, detailsLabelSize.width); - totalSize.height += detailsLabelSize.height; - if (detailsLabelSize.height > 0.f && (indicatorF.size.height > 0.f || labelSize.height > 0.f)) { - totalSize.height += kPadding; - } - - totalSize.width += 2 * margin; - totalSize.height += 2 * margin; - - // Position elements - CGFloat yPos = round(((bounds.size.height - totalSize.height) / 2)) + margin + yOffset; - CGFloat xPos = xOffset; - indicatorF.origin.y = yPos; - indicatorF.origin.x = round((bounds.size.width - indicatorF.size.width) / 2) + xPos; - indicator.frame = indicatorF; - yPos += indicatorF.size.height; - - if (labelSize.height > 0.f && indicatorF.size.height > 0.f) { - yPos += kPadding; - } - CGRect labelF; - labelF.origin.y = yPos; - labelF.origin.x = round((bounds.size.width - labelSize.width) / 2) + xPos; - labelF.size = labelSize; - label.frame = labelF; - yPos += labelF.size.height; - - if (detailsLabelSize.height > 0.f && (indicatorF.size.height > 0.f || labelSize.height > 0.f)) { - yPos += kPadding; - } - CGRect detailsLabelF; - detailsLabelF.origin.y = yPos; - detailsLabelF.origin.x = round((bounds.size.width - detailsLabelSize.width) / 2) + xPos; - detailsLabelF.size = detailsLabelSize; - detailsLabel.frame = detailsLabelF; - - // Enforce minsize and quare rules - if (square) { - CGFloat max = MAX(totalSize.width, totalSize.height); - if (max <= bounds.size.width - 2 * margin) { - totalSize.width = max; - } - if (max <= bounds.size.height - 2 * margin) { - totalSize.height = max; - } - } - if (totalSize.width < minSize.width) { - totalSize.width = minSize.width; - } - if (totalSize.height < minSize.height) { - totalSize.height = minSize.height; - } - - size = totalSize; -} - -#pragma mark BG Drawing +- (void)setContentColor:(UIColor *)contentColor { + if (contentColor != _contentColor && ![contentColor isEqual:_contentColor]) { + _contentColor = contentColor; + [self updateViewsForColor:contentColor]; + } +} -- (void)drawRect:(CGRect)rect { - - CGContextRef context = UIGraphicsGetCurrentContext(); - UIGraphicsPushContext(context); - - if (self.dimBackground) { - //Gradient colours - size_t gradLocationsNum = 2; - CGFloat gradLocations[2] = {0.0f, 1.0f}; - CGFloat gradColors[8] = {0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.0f,0.75f}; - CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); - CGGradientRef gradient = CGGradientCreateWithColorComponents(colorSpace, gradColors, gradLocations, gradLocationsNum); - CGColorSpaceRelease(colorSpace); - //Gradient center - CGPoint gradCenter= CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2); - //Gradient radius - float gradRadius = MIN(self.bounds.size.width , self.bounds.size.height) ; - //Gradient draw - CGContextDrawRadialGradient (context, gradient, gradCenter, - 0, gradCenter, gradRadius, - kCGGradientDrawsAfterEndLocation); - CGGradientRelease(gradient); - } - - // Set background rect color - if (self.color) { - CGContextSetFillColorWithColor(context, self.color.CGColor); - } else { - CGContextSetGrayFillColor(context, 0.0f, self.opacity); - } - - - // Center HUD - CGRect allRect = self.bounds; - // Draw rounded HUD backgroud rect - CGRect boxRect = CGRectMake(round((allRect.size.width - size.width) / 2) + self.xOffset, - round((allRect.size.height - size.height) / 2) + self.yOffset, size.width, size.height); - float radius = self.cornerRadius; - CGContextBeginPath(context); - CGContextMoveToPoint(context, CGRectGetMinX(boxRect) + radius, CGRectGetMinY(boxRect)); - CGContextAddArc(context, CGRectGetMaxX(boxRect) - radius, CGRectGetMinY(boxRect) + radius, radius, 3 * (float)M_PI / 2, 0, 0); - CGContextAddArc(context, CGRectGetMaxX(boxRect) - radius, CGRectGetMaxY(boxRect) - radius, radius, 0, (float)M_PI / 2, 0); - CGContextAddArc(context, CGRectGetMinX(boxRect) + radius, CGRectGetMaxY(boxRect) - radius, radius, (float)M_PI / 2, (float)M_PI, 0); - CGContextAddArc(context, CGRectGetMinX(boxRect) + radius, CGRectGetMinY(boxRect) + radius, radius, (float)M_PI, 3 * (float)M_PI / 2, 0); - CGContextClosePath(context); - CGContextFillPath(context); - - UIGraphicsPopContext(); -} - -#pragma mark - KVO - -- (void)registerForKVO { - for (NSString *keyPath in [self observableKeypaths]) { - [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:NULL]; - } -} - -- (void)unregisterFromKVO { - for (NSString *keyPath in [self observableKeypaths]) { - [self removeObserver:self forKeyPath:keyPath]; - } -} - -- (NSArray *)observableKeypaths { - return [NSArray arrayWithObjects:@"mode", @"customView", @"labelText", @"labelFont", @"labelColor", - @"detailsLabelText", @"detailsLabelFont", @"detailsLabelColor", @"progress", @"activityIndicatorColor", nil]; -} - -- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { - if (![NSThread isMainThread]) { - [self performSelectorOnMainThread:@selector(updateUIForKeypath:) withObject:keyPath waitUntilDone:NO]; - } else { - [self updateUIForKeypath:keyPath]; - } -} - -- (void)updateUIForKeypath:(NSString *)keyPath { - if ([keyPath isEqualToString:@"mode"] || [keyPath isEqualToString:@"customView"] || - [keyPath isEqualToString:@"activityIndicatorColor"]) { - [self updateIndicators]; - } else if ([keyPath isEqualToString:@"labelText"]) { - label.text = self.labelText; - } else if ([keyPath isEqualToString:@"labelFont"]) { - label.font = self.labelFont; - } else if ([keyPath isEqualToString:@"labelColor"]) { - label.textColor = self.labelColor; - } else if ([keyPath isEqualToString:@"detailsLabelText"]) { - detailsLabel.text = self.detailsLabelText; - } else if ([keyPath isEqualToString:@"detailsLabelFont"]) { - detailsLabel.font = self.detailsLabelFont; - } else if ([keyPath isEqualToString:@"detailsLabelColor"]) { - detailsLabel.textColor = self.detailsLabelColor; - } else if ([keyPath isEqualToString:@"progress"]) { - if ([indicator respondsToSelector:@selector(setProgress:)]) { - [(id)indicator setValue:@(progress) forKey:@"progress"]; - } - return; - } - [self setNeedsLayout]; - [self setNeedsDisplay]; +- (void)setDefaultMotionEffectsEnabled:(BOOL)defaultMotionEffectsEnabled { + if (defaultMotionEffectsEnabled != _defaultMotionEffectsEnabled) { + _defaultMotionEffectsEnabled = defaultMotionEffectsEnabled; + [self updateBezelMotionEffects]; + } +} + +#pragma mark - NSProgress + +- (void)setNSProgressDisplayLinkEnabled:(BOOL)enabled { + // We're using CADisplayLink, because NSProgress can change very quickly and observing it may starve the main thread, + // so we're refreshing the progress only every frame draw + if (enabled && self.progressObject) { + // Only create if not already active. + if (!self.progressObjectDisplayLink) { + self.progressObjectDisplayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(updateProgressFromProgressObject)]; + } + } else { + self.progressObjectDisplayLink = nil; + } +} + +- (void)updateProgressFromProgressObject { + self.progress = self.progressObject.fractionCompleted; } #pragma mark - Notifications - (void)registerForNotifications { #if !TARGET_OS_TV - NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; + NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; - [nc addObserver:self selector:@selector(statusBarOrientationDidChange:) + [nc addObserver:self selector:@selector(statusBarOrientationDidChange:) name:UIApplicationDidChangeStatusBarOrientationNotification object:nil]; #endif } - (void)unregisterFromNotifications { #if !TARGET_OS_TV - NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; + NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; [nc removeObserver:self name:UIApplicationDidChangeStatusBarOrientationNotification object:nil]; #endif } #if !TARGET_OS_TV - (void)statusBarOrientationDidChange:(NSNotification *)notification { - UIView *superview = self.superview; - if (!superview) { - return; - } else { - [self updateForCurrentOrientationAnimated:YES]; - } + UIView *superview = self.superview; + if (!superview) { + return; + } else { + [self updateForCurrentOrientationAnimated:YES]; + } } #endif - (void)updateForCurrentOrientationAnimated:(BOOL)animated { // Stay in sync with the superview in any case if (self.superview) { - self.bounds = self.superview.bounds; - [self setNeedsDisplay]; + self.frame = self.superview.bounds; } // Not needed on iOS 8+, compile out when the deployment target allows, // to avoid sharedApplication problems on extension targets #if __IPHONE_OS_VERSION_MIN_REQUIRED < 80000 - // Only needed pre iOS 7 when added to a window + // Only needed pre iOS 8 when added to a window BOOL iOS8OrLater = kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0; if (iOS8OrLater || ![self.superview isKindOfClass:[UIWindow class]]) return; - UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation; - CGFloat radians = 0; - if (UIInterfaceOrientationIsLandscape(orientation)) { - if (orientation == UIInterfaceOrientationLandscapeLeft) { radians = -(CGFloat)M_PI_2; } - else { radians = (CGFloat)M_PI_2; } - // Window coordinates differ! - self.bounds = CGRectMake(0, 0, self.bounds.size.height, self.bounds.size.width); - } else { - if (orientation == UIInterfaceOrientationPortraitUpsideDown) { radians = (CGFloat)M_PI; } - else { radians = 0; } - } - rotationTransform = CGAffineTransformMakeRotation(radians); - - if (animated) { - [UIView beginAnimations:nil context:nil]; - [UIView setAnimationDuration:0.3]; - } - [self setTransform:rotationTransform]; - if (animated) { - [UIView commitAnimations]; - } + // Make extension friendly. Will not get called on extensions (iOS 8+) due to the above check. + // This just ensures we don't get a warning about extension-unsafe API. + Class UIApplicationClass = NSClassFromString(@"UIApplication"); + if (!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) return; + + UIApplication *application = [UIApplication performSelector:@selector(sharedApplication)]; + UIInterfaceOrientation orientation = application.statusBarOrientation; + CGFloat radians = 0; + + if (UIInterfaceOrientationIsLandscape(orientation)) { + radians = orientation == UIInterfaceOrientationLandscapeLeft ? -(CGFloat)M_PI_2 : (CGFloat)M_PI_2; + // Window coordinates differ! + self.bounds = CGRectMake(0, 0, self.bounds.size.height, self.bounds.size.width); + } else { + radians = orientation == UIInterfaceOrientationPortraitUpsideDown ? (CGFloat)M_PI : 0.f; + } + + if (animated) { + [UIView animateWithDuration:0.3 animations:^{ + self.transform = CGAffineTransformMakeRotation(radians); + }]; + } else { + self.transform = CGAffineTransformMakeRotation(radians); + } #endif } @@ -789,102 +835,117 @@ @implementation MBRoundProgressView #pragma mark - Lifecycle - (id)init { - return [self initWithFrame:CGRectMake(0.f, 0.f, 37.f, 37.f)]; + return [self initWithFrame:CGRectMake(0.f, 0.f, 37.f, 37.f)]; } - (id)initWithFrame:(CGRect)frame { - self = [super initWithFrame:frame]; - if (self) { - self.backgroundColor = [UIColor clearColor]; - self.opaque = NO; - _progress = 0.f; - _annular = NO; - _progressTintColor = [[UIColor alloc] initWithWhite:1.f alpha:1.f]; - _backgroundTintColor = [[UIColor alloc] initWithWhite:1.f alpha:.1f]; - [self registerForKVO]; - } - return self; + self = [super initWithFrame:frame]; + if (self) { + self.backgroundColor = [UIColor clearColor]; + self.opaque = NO; + _progress = 0.f; + _annular = NO; + _progressTintColor = [[UIColor alloc] initWithWhite:1.f alpha:1.f]; + _backgroundTintColor = [[UIColor alloc] initWithWhite:1.f alpha:.1f]; + } + return self; } -- (void)dealloc { - [self unregisterFromKVO]; -#if !__has_feature(objc_arc) - [_progressTintColor release]; - [_backgroundTintColor release]; - [super dealloc]; -#endif +#pragma mark - Layout + +- (CGSize)intrinsicContentSize { + return CGSizeMake(37.f, 37.f); +} + +#pragma mark - Properties + +- (void)setProgress:(float)progress { + if (progress != _progress) { + _progress = progress; + [self setNeedsDisplay]; + } +} + +- (void)setProgressTintColor:(UIColor *)progressTintColor { + NSAssert(progressTintColor, @"The color should not be nil."); + if (progressTintColor != _progressTintColor && ![progressTintColor isEqual:_progressTintColor]) { + _progressTintColor = progressTintColor; + [self setNeedsDisplay]; + } +} + +- (void)setBackgroundTintColor:(UIColor *)backgroundTintColor { + NSAssert(backgroundTintColor, @"The color should not be nil."); + if (backgroundTintColor != _backgroundTintColor && ![backgroundTintColor isEqual:_backgroundTintColor]) { + _backgroundTintColor = backgroundTintColor; + [self setNeedsDisplay]; + } } #pragma mark - Drawing - (void)drawRect:(CGRect)rect { - - CGRect allRect = self.bounds; - CGRect circleRect = CGRectInset(allRect, 2.0f, 2.0f); - CGContextRef context = UIGraphicsGetCurrentContext(); - - if (_annular) { - // Draw background - BOOL isPreiOS7 = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0; - CGFloat lineWidth = isPreiOS7 ? 5.f : 2.f; - UIBezierPath *processBackgroundPath = [UIBezierPath bezierPath]; - processBackgroundPath.lineWidth = lineWidth; - processBackgroundPath.lineCapStyle = kCGLineCapButt; - CGPoint center = CGPointMake(self.bounds.size.width/2, self.bounds.size.height/2); - CGFloat radius = (self.bounds.size.width - lineWidth)/2; - CGFloat startAngle = - ((float)M_PI / 2); // 90 degrees - CGFloat endAngle = (2 * (float)M_PI) + startAngle; - [processBackgroundPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; - [_backgroundTintColor set]; - [processBackgroundPath stroke]; - // Draw progress - UIBezierPath *processPath = [UIBezierPath bezierPath]; - processPath.lineCapStyle = isPreiOS7 ? kCGLineCapRound : kCGLineCapSquare; - processPath.lineWidth = lineWidth; - endAngle = (self.progress * 2 * (float)M_PI) + startAngle; - [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; - [_progressTintColor set]; - [processPath stroke]; - } else { - // Draw background - [_progressTintColor setStroke]; - [_backgroundTintColor setFill]; - CGContextSetLineWidth(context, 2.0f); - CGContextFillEllipseInRect(context, circleRect); - CGContextStrokeEllipseInRect(context, circleRect); - // Draw progress - CGPoint center = CGPointMake(allRect.size.width / 2, allRect.size.height / 2); - CGFloat radius = (allRect.size.width - 4) / 2; - CGFloat startAngle = - ((float)M_PI / 2); // 90 degrees - CGFloat endAngle = (self.progress * 2 * (float)M_PI) + startAngle; - [_progressTintColor setFill]; - CGContextMoveToPoint(context, center.x, center.y); - CGContextAddArc(context, center.x, center.y, radius, startAngle, endAngle, 0); - CGContextClosePath(context); - CGContextFillPath(context); - } -} - -#pragma mark - KVO - -- (void)registerForKVO { - for (NSString *keyPath in [self observableKeypaths]) { - [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:NULL]; - } -} - -- (void)unregisterFromKVO { - for (NSString *keyPath in [self observableKeypaths]) { - [self removeObserver:self forKeyPath:keyPath]; - } -} - -- (NSArray *)observableKeypaths { - return [NSArray arrayWithObjects:@"progressTintColor", @"backgroundTintColor", @"progress", @"annular", nil]; -} - -- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { - [self setNeedsDisplay]; + CGContextRef context = UIGraphicsGetCurrentContext(); + BOOL isPreiOS7 = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0; + + if (_annular) { + // Draw background + CGFloat lineWidth = isPreiOS7 ? 5.f : 2.f; + UIBezierPath *processBackgroundPath = [UIBezierPath bezierPath]; + processBackgroundPath.lineWidth = lineWidth; + processBackgroundPath.lineCapStyle = kCGLineCapButt; + CGPoint center = CGPointMake(CGRectGetMidX(self.bounds), CGRectGetMidY(self.bounds)); + CGFloat radius = (self.bounds.size.width - lineWidth)/2; + CGFloat startAngle = - ((float)M_PI / 2); // 90 degrees + CGFloat endAngle = (2 * (float)M_PI) + startAngle; + [processBackgroundPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; + [_backgroundTintColor set]; + [processBackgroundPath stroke]; + // Draw progress + UIBezierPath *processPath = [UIBezierPath bezierPath]; + processPath.lineCapStyle = isPreiOS7 ? kCGLineCapRound : kCGLineCapSquare; + processPath.lineWidth = lineWidth; + endAngle = (self.progress * 2 * (float)M_PI) + startAngle; + [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; + [_progressTintColor set]; + [processPath stroke]; + } else { + // Draw background + CGFloat lineWidth = 2.f; + CGRect allRect = self.bounds; + CGRect circleRect = CGRectInset(allRect, lineWidth/2.f, lineWidth/2.f); + CGPoint center = CGPointMake(CGRectGetMidX(self.bounds), CGRectGetMidY(self.bounds)); + [_progressTintColor setStroke]; + [_backgroundTintColor setFill]; + CGContextSetLineWidth(context, lineWidth); + if (isPreiOS7) { + CGContextFillEllipseInRect(context, circleRect); + } + CGContextStrokeEllipseInRect(context, circleRect); + // 90 degrees + CGFloat startAngle = - ((float)M_PI / 2.f); + // Draw progress + if (isPreiOS7) { + CGFloat radius = (CGRectGetWidth(self.bounds) / 2.f) - lineWidth; + CGFloat endAngle = (self.progress * 2.f * (float)M_PI) + startAngle; + [_progressTintColor setFill]; + CGContextMoveToPoint(context, center.x, center.y); + CGContextAddArc(context, center.x, center.y, radius, startAngle, endAngle, 0); + CGContextClosePath(context); + CGContextFillPath(context); + } else { + UIBezierPath *processPath = [UIBezierPath bezierPath]; + processPath.lineCapStyle = kCGLineCapButt; + processPath.lineWidth = lineWidth * 2.f; + CGFloat radius = (CGRectGetWidth(self.bounds) / 2.f) - (processPath.lineWidth / 2.f); + CGFloat endAngle = (self.progress * 2.f * (float)M_PI) + startAngle; + [processPath addArcWithCenter:center radius:radius startAngle:startAngle endAngle:endAngle clockwise:YES]; + // Ensure that we don't get color overlapping when _progressTintColor alpha < 1.f. + CGContextSetBlendMode(context, kCGBlendModeCopy); + [_progressTintColor set]; + [processPath stroke]; + } + } } @end @@ -895,139 +956,540 @@ @implementation MBBarProgressView #pragma mark - Lifecycle - (id)init { - return [self initWithFrame:CGRectMake(.0f, .0f, 120.0f, 20.0f)]; + return [self initWithFrame:CGRectMake(.0f, .0f, 120.0f, 20.0f)]; } - (id)initWithFrame:(CGRect)frame { - self = [super initWithFrame:frame]; - if (self) { - _progress = 0.f; - _lineColor = [UIColor whiteColor]; - _progressColor = [UIColor whiteColor]; - _progressRemainingColor = [UIColor clearColor]; - self.backgroundColor = [UIColor clearColor]; - self.opaque = NO; - [self registerForKVO]; - } - return self; + self = [super initWithFrame:frame]; + if (self) { + _progress = 0.f; + _lineColor = [UIColor whiteColor]; + _progressColor = [UIColor whiteColor]; + _progressRemainingColor = [UIColor clearColor]; + self.backgroundColor = [UIColor clearColor]; + self.opaque = NO; + } + return self; } -- (void)dealloc { - [self unregisterFromKVO]; -#if !__has_feature(objc_arc) - [_lineColor release]; - [_progressColor release]; - [_progressRemainingColor release]; - [super dealloc]; -#endif +#pragma mark - Layout + +- (CGSize)intrinsicContentSize { + BOOL isPreiOS7 = kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0; + return CGSizeMake(120.f, isPreiOS7 ? 20.f : 10.f); +} + +#pragma mark - Properties + +- (void)setProgress:(float)progress { + if (progress != _progress) { + _progress = progress; + [self setNeedsDisplay]; + } +} + +- (void)setProgressColor:(UIColor *)progressColor { + NSAssert(progressColor, @"The color should not be nil."); + if (progressColor != _progressColor && ![progressColor isEqual:_progressColor]) { + _progressColor = progressColor; + [self setNeedsDisplay]; + } +} + +- (void)setProgressRemainingColor:(UIColor *)progressRemainingColor { + NSAssert(progressRemainingColor, @"The color should not be nil."); + if (progressRemainingColor != _progressRemainingColor && ![progressRemainingColor isEqual:_progressRemainingColor]) { + _progressRemainingColor = progressRemainingColor; + [self setNeedsDisplay]; + } } #pragma mark - Drawing - (void)drawRect:(CGRect)rect { - CGContextRef context = UIGraphicsGetCurrentContext(); - - CGContextSetLineWidth(context, 2); - CGContextSetStrokeColorWithColor(context,[_lineColor CGColor]); - CGContextSetFillColorWithColor(context, [_progressRemainingColor CGColor]); - - // Draw background - float radius = (rect.size.height / 2) - 2; - CGContextMoveToPoint(context, 2, rect.size.height/2); - CGContextAddArcToPoint(context, 2, 2, radius + 2, 2, radius); - CGContextAddLineToPoint(context, rect.size.width - radius - 2, 2); - CGContextAddArcToPoint(context, rect.size.width - 2, 2, rect.size.width - 2, rect.size.height / 2, radius); - CGContextAddArcToPoint(context, rect.size.width - 2, rect.size.height - 2, rect.size.width - radius - 2, rect.size.height - 2, radius); - CGContextAddLineToPoint(context, radius + 2, rect.size.height - 2); - CGContextAddArcToPoint(context, 2, rect.size.height - 2, 2, rect.size.height/2, radius); - CGContextFillPath(context); - - // Draw border - CGContextMoveToPoint(context, 2, rect.size.height/2); - CGContextAddArcToPoint(context, 2, 2, radius + 2, 2, radius); - CGContextAddLineToPoint(context, rect.size.width - radius - 2, 2); - CGContextAddArcToPoint(context, rect.size.width - 2, 2, rect.size.width - 2, rect.size.height / 2, radius); - CGContextAddArcToPoint(context, rect.size.width - 2, rect.size.height - 2, rect.size.width - radius - 2, rect.size.height - 2, radius); - CGContextAddLineToPoint(context, radius + 2, rect.size.height - 2); - CGContextAddArcToPoint(context, 2, rect.size.height - 2, 2, rect.size.height/2, radius); - CGContextStrokePath(context); - - CGContextSetFillColorWithColor(context, [_progressColor CGColor]); - radius = radius - 2; - float amount = self.progress * rect.size.width; - - // Progress in the middle area - if (amount >= radius + 4 && amount <= (rect.size.width - radius - 4)) { - CGContextMoveToPoint(context, 4, rect.size.height/2); - CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); - CGContextAddLineToPoint(context, amount, 4); - CGContextAddLineToPoint(context, amount, radius + 4); - - CGContextMoveToPoint(context, 4, rect.size.height/2); - CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); - CGContextAddLineToPoint(context, amount, rect.size.height - 4); - CGContextAddLineToPoint(context, amount, radius + 4); - - CGContextFillPath(context); - } - - // Progress in the right arc - else if (amount > radius + 4) { - float x = amount - (rect.size.width - radius - 4); - - CGContextMoveToPoint(context, 4, rect.size.height/2); - CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); - CGContextAddLineToPoint(context, rect.size.width - radius - 4, 4); - float angle = -acos(x/radius); - if (isnan(angle)) angle = 0; - CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, M_PI, angle, 0); - CGContextAddLineToPoint(context, amount, rect.size.height/2); - - CGContextMoveToPoint(context, 4, rect.size.height/2); - CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); - CGContextAddLineToPoint(context, rect.size.width - radius - 4, rect.size.height - 4); - angle = acos(x/radius); - if (isnan(angle)) angle = 0; - CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, -M_PI, angle, 1); - CGContextAddLineToPoint(context, amount, rect.size.height/2); - - CGContextFillPath(context); - } - - // Progress is in the left arc - else if (amount < radius + 4 && amount > 0) { - CGContextMoveToPoint(context, 4, rect.size.height/2); - CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); - CGContextAddLineToPoint(context, radius + 4, rect.size.height/2); - - CGContextMoveToPoint(context, 4, rect.size.height/2); - CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); - CGContextAddLineToPoint(context, radius + 4, rect.size.height/2); - - CGContextFillPath(context); - } -} - -#pragma mark - KVO - -- (void)registerForKVO { - for (NSString *keyPath in [self observableKeypaths]) { - [self addObserver:self forKeyPath:keyPath options:NSKeyValueObservingOptionNew context:NULL]; - } -} - -- (void)unregisterFromKVO { - for (NSString *keyPath in [self observableKeypaths]) { - [self removeObserver:self forKeyPath:keyPath]; - } -} - -- (NSArray *)observableKeypaths { - return [NSArray arrayWithObjects:@"lineColor", @"progressRemainingColor", @"progressColor", @"progress", nil]; -} - -- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { - [self setNeedsDisplay]; + CGContextRef context = UIGraphicsGetCurrentContext(); + + CGContextSetLineWidth(context, 2); + CGContextSetStrokeColorWithColor(context,[_lineColor CGColor]); + CGContextSetFillColorWithColor(context, [_progressRemainingColor CGColor]); + + // Draw background and Border + CGFloat radius = (rect.size.height / 2) - 2; + CGContextMoveToPoint(context, 2, rect.size.height/2); + CGContextAddArcToPoint(context, 2, 2, radius + 2, 2, radius); + CGContextAddArcToPoint(context, rect.size.width - 2, 2, rect.size.width - 2, rect.size.height / 2, radius); + CGContextAddArcToPoint(context, rect.size.width - 2, rect.size.height - 2, rect.size.width - radius - 2, rect.size.height - 2, radius); + CGContextAddArcToPoint(context, 2, rect.size.height - 2, 2, rect.size.height/2, radius); + CGContextDrawPath(context, kCGPathFillStroke); + + CGContextSetFillColorWithColor(context, [_progressColor CGColor]); + radius = radius - 2; + CGFloat amount = self.progress * rect.size.width; + + // Progress in the middle area + if (amount >= radius + 4 && amount <= (rect.size.width - radius - 4)) { + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); + CGContextAddLineToPoint(context, amount, 4); + CGContextAddLineToPoint(context, amount, radius + 4); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); + CGContextAddLineToPoint(context, amount, rect.size.height - 4); + CGContextAddLineToPoint(context, amount, radius + 4); + + CGContextFillPath(context); + } + + // Progress in the right arc + else if (amount > radius + 4) { + CGFloat x = amount - (rect.size.width - radius - 4); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); + CGContextAddLineToPoint(context, rect.size.width - radius - 4, 4); + CGFloat angle = -acos(x/radius); + if (isnan(angle)) angle = 0; + CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, M_PI, angle, 0); + CGContextAddLineToPoint(context, amount, rect.size.height/2); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); + CGContextAddLineToPoint(context, rect.size.width - radius - 4, rect.size.height - 4); + angle = acos(x/radius); + if (isnan(angle)) angle = 0; + CGContextAddArc(context, rect.size.width - radius - 4, rect.size.height/2, radius, -M_PI, angle, 1); + CGContextAddLineToPoint(context, amount, rect.size.height/2); + + CGContextFillPath(context); + } + + // Progress is in the left arc + else if (amount < radius + 4 && amount > 0) { + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, 4, radius + 4, 4, radius); + CGContextAddLineToPoint(context, radius + 4, rect.size.height/2); + + CGContextMoveToPoint(context, 4, rect.size.height/2); + CGContextAddArcToPoint(context, 4, rect.size.height - 4, radius + 4, rect.size.height - 4, radius); + CGContextAddLineToPoint(context, radius + 4, rect.size.height/2); + + CGContextFillPath(context); + } +} + +@end + + +@interface MBBackgroundView () + +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV +@property UIVisualEffectView *effectView; +#endif +#if !TARGET_OS_TV +@property UIToolbar *toolbar; +#endif + +@end + + +@implementation MBBackgroundView + +#pragma mark - Lifecycle + +- (instancetype)initWithFrame:(CGRect)frame { + if ((self = [super initWithFrame:frame])) { + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_7_0) { + _style = MBProgressHUDBackgroundStyleBlur; +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV + _blurEffectStyle = UIBlurEffectStyleLight; +#endif + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) { + _color = [UIColor colorWithWhite:0.8f alpha:0.6f]; + } else { + _color = [UIColor colorWithWhite:0.95f alpha:0.6f]; + } + } else { + _style = MBProgressHUDBackgroundStyleSolidColor; + _color = [[UIColor blackColor] colorWithAlphaComponent:0.8]; + } + + self.clipsToBounds = YES; + + [self updateForBackgroundStyle]; + } + return self; +} + +#pragma mark - Layout + +- (CGSize)intrinsicContentSize { + // Smallest size possible. Content pushes against this. + return CGSizeZero; +} + +#pragma mark - Appearance + +- (void)setStyle:(MBProgressHUDBackgroundStyle)style { + if (style == MBProgressHUDBackgroundStyleBlur && kCFCoreFoundationVersionNumber < kCFCoreFoundationVersionNumber_iOS_7_0) { + style = MBProgressHUDBackgroundStyleSolidColor; + } + if (_style != style) { + _style = style; + [self updateForBackgroundStyle]; + } +} + +- (void)setColor:(UIColor *)color { + NSAssert(color, @"The color should not be nil."); + if (color != _color && ![color isEqual:_color]) { + _color = color; + [self updateViewsForColor:color]; + } +} + +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV + +- (void)setBlurEffectStyle:(UIBlurEffectStyle)blurEffectStyle { + if (_blurEffectStyle == blurEffectStyle) { + return; + } + + _blurEffectStyle = blurEffectStyle; + + [self updateForBackgroundStyle]; +} + +#endif + +/////////////////////////////////////////////////////////////////////////////////////////// +#pragma mark - Views + +- (void)updateForBackgroundStyle { + MBProgressHUDBackgroundStyle style = self.style; + if (style == MBProgressHUDBackgroundStyleBlur) { +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) { + UIBlurEffect *effect = [UIBlurEffect effectWithStyle:self.blurEffectStyle]; + UIVisualEffectView *effectView = [[UIVisualEffectView alloc] initWithEffect:effect]; + [self addSubview:effectView]; + effectView.frame = self.bounds; + effectView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; + self.backgroundColor = self.color; + self.layer.allowsGroupOpacity = NO; + self.effectView = effectView; + } else { +#endif +#if !TARGET_OS_TV + UIToolbar *toolbar = [[UIToolbar alloc] initWithFrame:CGRectInset(self.bounds, -100.f, -100.f)]; + toolbar.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; + toolbar.barTintColor = self.color; + toolbar.translucent = YES; + [self addSubview:toolbar]; + self.toolbar = toolbar; +#endif +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV + } +#endif + } else { +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) { + [self.effectView removeFromSuperview]; + self.effectView = nil; + } else { +#endif +#if !TARGET_OS_TV + [self.toolbar removeFromSuperview]; + self.toolbar = nil; +#endif +#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000 || TARGET_OS_TV + } +#endif + self.backgroundColor = self.color; + } +} + +- (void)updateViewsForColor:(UIColor *)color { + if (self.style == MBProgressHUDBackgroundStyleBlur) { + if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_8_0) { + self.backgroundColor = self.color; + } else { +#if !TARGET_OS_TV + self.toolbar.barTintColor = color; +#endif + } + } else { + self.backgroundColor = self.color; + } +} + +@end + + +@implementation MBProgressHUD (Deprecated) + +#pragma mark - Class + ++ (NSUInteger)hideAllHUDsForView:(UIView *)view animated:(BOOL)animated { + NSArray *huds = [MBProgressHUD allHUDsForView:view]; + for (MBProgressHUD *hud in huds) { + hud.removeFromSuperViewOnHide = YES; + [hud hideAnimated:animated]; + } + return [huds count]; +} + ++ (NSArray *)allHUDsForView:(UIView *)view { + NSMutableArray *huds = [NSMutableArray array]; + NSArray *subviews = view.subviews; + for (UIView *aView in subviews) { + if ([aView isKindOfClass:self]) { + [huds addObject:aView]; + } + } + return [NSArray arrayWithArray:huds]; +} + +#pragma mark - Lifecycle + +- (id)initWithWindow:(UIWindow *)window { + return [self initWithView:window]; +} + +#pragma mark - Show & hide + +- (void)show:(BOOL)animated { + [self showAnimated:animated]; +} + +- (void)hide:(BOOL)animated { + [self hideAnimated:animated]; +} + +- (void)hide:(BOOL)animated afterDelay:(NSTimeInterval)delay { + [self hideAnimated:animated afterDelay:delay]; +} + +#pragma mark - Threading + +- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated { + [self showAnimated:animated whileExecutingBlock:^{ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Warc-performSelector-leaks" + // Start executing the requested task + [target performSelector:method withObject:object]; +#pragma clang diagnostic pop + }]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block { + dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); + [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block completionBlock:(void (^)(void))completion { + dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0); + [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:completion]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue { + [self showAnimated:animated whileExecutingBlock:block onQueue:queue completionBlock:NULL]; +} + +- (void)showAnimated:(BOOL)animated whileExecutingBlock:(dispatch_block_t)block onQueue:(dispatch_queue_t)queue completionBlock:(nullable MBProgressHUDCompletionBlock)completion { + self.taskInProgress = YES; + self.completionBlock = completion; + dispatch_async(queue, ^(void) { + block(); + dispatch_async(dispatch_get_main_queue(), ^(void) { + [self cleanUp]; + }); + }); + [self showAnimated:animated]; +} + +- (void)cleanUp { + self.taskInProgress = NO; + [self hideAnimated:self.useAnimation]; +} + +#pragma mark - Labels + +- (NSString *)labelText { + return self.label.text; +} + +- (void)setLabelText:(NSString *)labelText { + MBMainThreadAssert(); + self.label.text = labelText; +} + +- (UIFont *)labelFont { + return self.label.font; +} + +- (void)setLabelFont:(UIFont *)labelFont { + MBMainThreadAssert(); + self.label.font = labelFont; +} + +- (UIColor *)labelColor { + return self.label.textColor; +} + +- (void)setLabelColor:(UIColor *)labelColor { + MBMainThreadAssert(); + self.label.textColor = labelColor; +} + +- (NSString *)detailsLabelText { + return self.detailsLabel.text; +} + +- (void)setDetailsLabelText:(NSString *)detailsLabelText { + MBMainThreadAssert(); + self.detailsLabel.text = detailsLabelText; +} + +- (UIFont *)detailsLabelFont { + return self.detailsLabel.font; +} + +- (void)setDetailsLabelFont:(UIFont *)detailsLabelFont { + MBMainThreadAssert(); + self.detailsLabel.font = detailsLabelFont; +} + +- (UIColor *)detailsLabelColor { + return self.detailsLabel.textColor; +} + +- (void)setDetailsLabelColor:(UIColor *)detailsLabelColor { + MBMainThreadAssert(); + self.detailsLabel.textColor = detailsLabelColor; +} + +- (CGFloat)opacity { + return _opacity; +} + +- (void)setOpacity:(CGFloat)opacity { + MBMainThreadAssert(); + _opacity = opacity; +} + +- (UIColor *)color { + return self.bezelView.color; +} + +- (void)setColor:(UIColor *)color { + MBMainThreadAssert(); + self.bezelView.color = color; +} + +- (CGFloat)yOffset { + return self.offset.y; +} + +- (void)setYOffset:(CGFloat)yOffset { + MBMainThreadAssert(); + self.offset = CGPointMake(self.offset.x, yOffset); +} + +- (CGFloat)xOffset { + return self.offset.x; +} + +- (void)setXOffset:(CGFloat)xOffset { + MBMainThreadAssert(); + self.offset = CGPointMake(xOffset, self.offset.y); +} + +- (CGFloat)cornerRadius { + return self.bezelView.layer.cornerRadius; +} + +- (void)setCornerRadius:(CGFloat)cornerRadius { + MBMainThreadAssert(); + self.bezelView.layer.cornerRadius = cornerRadius; +} + +- (BOOL)dimBackground { + MBBackgroundView *backgroundView = self.backgroundView; + UIColor *dimmedColor = [UIColor colorWithWhite:0.f alpha:.2f]; + return backgroundView.style == MBProgressHUDBackgroundStyleSolidColor && [backgroundView.color isEqual:dimmedColor]; +} + +- (void)setDimBackground:(BOOL)dimBackground { + MBMainThreadAssert(); + self.backgroundView.style = MBProgressHUDBackgroundStyleSolidColor; + self.backgroundView.color = dimBackground ? [UIColor colorWithWhite:0.f alpha:.2f] : [UIColor clearColor]; +} + +- (CGSize)size { + return self.bezelView.frame.size; +} + +- (UIColor *)activityIndicatorColor { + return _activityIndicatorColor; +} + +- (void)setActivityIndicatorColor:(UIColor *)activityIndicatorColor { + if (activityIndicatorColor != _activityIndicatorColor) { + _activityIndicatorColor = activityIndicatorColor; + UIActivityIndicatorView *indicator = (UIActivityIndicatorView *)self.indicator; + if ([indicator isKindOfClass:[UIActivityIndicatorView class]]) { + [indicator setColor:activityIndicatorColor]; + } + } +} + +@end + +@implementation MBProgressHUDRoundedButton + +#pragma mark - Lifecycle + +- (instancetype)initWithFrame:(CGRect)frame { + self = [super initWithFrame:frame]; + if (self) { + CALayer *layer = self.layer; + layer.borderWidth = 1.f; + } + return self; +} + +#pragma mark - Layout + +- (void)layoutSubviews { + [super layoutSubviews]; + // Fully rounded corners + CGFloat height = CGRectGetHeight(self.bounds); + self.layer.cornerRadius = ceil(height / 2.f); +} + +- (CGSize)intrinsicContentSize { + // Only show if we have associated control events + if (self.allControlEvents == 0) return CGSizeZero; + CGSize size = [super intrinsicContentSize]; + // Add some side padding + size.width += 20.f; + return size; +} + +#pragma mark - Color + +- (void)setTitleColor:(UIColor *)color forState:(UIControlState)state { + [super setTitleColor:color forState:state]; + // Update related colors + [self setHighlighted:self.highlighted]; + self.layer.borderColor = color.CGColor; +} + +- (void)setHighlighted:(BOOL)highlighted { + [super setHighlighted:highlighted]; + UIColor *baseColor = [self titleColorForState:UIControlStateSelected]; + self.backgroundColor = highlighted ? [baseColor colorWithAlphaComponent:0.1f] : [UIColor clearColor]; } @end diff --git a/Example/Pods/MBProgressHUD/README.mdown b/Example/Pods/MBProgressHUD/README.mdown index df9675675..21ba843bb 100644 --- a/Example/Pods/MBProgressHUD/README.mdown +++ b/Example/Pods/MBProgressHUD/README.mdown @@ -1,55 +1,66 @@ -# MBProgressHUD [![Build Status](https://travis-ci.org/matej/MBProgressHUD.svg?branch=master)](https://travis-ci.org/matej/MBProgressHUD) +# MBProgressHUD -MBProgressHUD is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private UIKit UIProgressHUD with some additional features. +[![Build Status](https://travis-ci.org/matej/MBProgressHUD.svg?branch=master)](https://travis-ci.org/matej/MBProgressHUD) [![codecov.io](https://codecov.io/github/matej/MBProgressHUD/coverage.svg?branch=master)](https://codecov.io/github/matej/MBProgressHUD?branch=master) + [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) [![CocoaPods compatible](https://img.shields.io/cocoapods/v/MBProgressHUD.svg?style=flat)](https://cocoapods.org/pods/MBProgressHUD) [![License: MIT](https://img.shields.io/cocoapods/l/MBProgressHUD.svg?style=flat)](http://opensource.org/licenses/MIT) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/1-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/1.png) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/2-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/2.png) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/3-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/3.png) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/4-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/4.png) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/5-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/5.png) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/6-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/6.png) -[![](http://dl.dropbox.com/u/378729/MBProgressHUD/7-thumb.png)](http://dl.dropbox.com/u/378729/MBProgressHUD/7.png) +`MBProgressHUD` is an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread. The HUD is meant as a replacement for the undocumented, private `UIKit` `UIProgressHUD` with some additional features. + +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/1-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/1.png) +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/2-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/2.png) +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/3-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/3.png) +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/4-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/4.png) +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/5-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/5.png) +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/6-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/6.png) +[![](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/7-small.png)](https://raw.githubusercontent.com/wiki/matej/MBProgressHUD/Screenshots/7.png) + +**NOTE:** The class has recently undergone a major rewrite. The old version is available in the [legacy](https://github.com/jdg/MBProgressHUD/tree/legacy) branch, should you need it. ## Requirements -MBProgressHUD works on any iOS version and is compatible with both ARC and non-ARC projects. It depends on the following Apple frameworks, which should already be included with most Xcode templates: +`MBProgressHUD` works on iOS 6+ and requires ARC to build. It depends on the following Apple frameworks, which should already be included with most Xcode templates: * Foundation.framework * UIKit.framework * CoreGraphics.framework -You will need the latest developer tools in order to build MBProgressHUD. Old Xcode versions might work, but compatibility will not be explicitly maintained. +You will need the latest developer tools in order to build `MBProgressHUD`. Old Xcode versions might work, but compatibility will not be explicitly maintained. ## Adding MBProgressHUD to your project -### Cocoapods +### CocoaPods [CocoaPods](http://cocoapods.org) is the recommended way to add MBProgressHUD to your project. -1. Add a pod entry for MBProgressHUD to your Podfile `pod 'MBProgressHUD', '~> 0.9.2'` +1. Add a pod entry for MBProgressHUD to your Podfile `pod 'MBProgressHUD', '~> 1.1.0'` 2. Install the pod(s) by running `pod install`. 3. Include MBProgressHUD wherever you need it with `#import "MBProgressHUD.h"`. +### Carthage + +1. Add MBProgressHUD to your Cartfile. e.g., `github "jdg/MBProgressHUD" ~> 1.1.0` +2. Run `carthage update` +3. Follow the rest of the [standard Carthage installation instructions](https://github.com/Carthage/Carthage#adding-frameworks-to-an-application) to add MBProgressHUD to your project. + ### Source files Alternatively you can directly add the `MBProgressHUD.h` and `MBProgressHUD.m` source files to your project. -1. Download the [latest code version](https://github.com/matej/MBProgressHUD/archive/master.zip) or add the repository as a git submodule to your git-tracked project. -2. Open your project in Xcode, then drag and drop `MBProgressHUD.h` and `MBProgressHUD.m` onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. +1. Download the [latest code version](https://github.com/matej/MBProgressHUD/archive/master.zip) or add the repository as a git submodule to your git-tracked project. +2. Open your project in Xcode, then drag and drop `MBProgressHUD.h` and `MBProgressHUD.m` onto your project (use the "Product Navigator view"). Make sure to select Copy items when asked if you extracted the code archive outside of your project. 3. Include MBProgressHUD wherever you need it with `#import "MBProgressHUD.h"`. ### Static library -You can also add MBProgressHUD as a static library to your project or workspace. +You can also add MBProgressHUD as a static library to your project or workspace. -1. Download the [latest code version](https://github.com/matej/MBProgressHUD/downloads) or add the repository as a git submodule to your git-tracked project. -2. Open your project in Xcode, then drag and drop `MBProgressHUD.xcodeproj` onto your project or workspace (use the "Product Navigator view"). -3. Select your target and go to the Build phases tab. In the Link Binary With Libraries section select the add button. On the sheet find and add `libMBProgressHUD.a`. You might also need to add `MBProgressHUD` to the Target Dependencies list. +1. Download the [latest code version](https://github.com/matej/MBProgressHUD/downloads) or add the repository as a git submodule to your git-tracked project. +2. Open your project in Xcode, then drag and drop `MBProgressHUD.xcodeproj` onto your project or workspace (use the "Product Navigator view"). +3. Select your target and go to the Build phases tab. In the Link Binary With Libraries section select the add button. On the sheet find and add `libMBProgressHUD.a`. You might also need to add `MBProgressHUD` to the Target Dependencies list. 4. Include MBProgressHUD wherever you need it with `#import `. ## Usage -The main guideline you need to follow when dealing with MBProgressHUD while running long-running tasks is keeping the main thread work-free, so the UI can be updated promptly. The recommended way of using MBProgressHUD is therefore to set it up on the main thread and then spinning the task, that you want to perform, off onto a new thread. +The main guideline you need to follow when dealing with MBProgressHUD while running long-running tasks is keeping the main thread work-free, so the UI can be updated promptly. The recommended way of using MBProgressHUD is therefore to set it up on the main thread and then spinning the task, that you want to perform, off onto a new thread. ```objective-c [MBProgressHUD showHUDAddedTo:self.view animated:YES]; @@ -61,20 +72,34 @@ dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_LOW, 0), ^{ }); ``` -If you need to configure the HUD you can do this by using the MBProgressHUD reference that showHUDAddedTo:animated: returns. +You can add the HUD on any view or window. It is however a good idea to avoid adding the HUD to certain `UIKit` views with complex view hierarchies - like `UITableView` or `UICollectionView`. Those can mutate their subviews in unexpected ways and thereby break HUD display. + +If you need to configure the HUD you can do this by using the MBProgressHUD reference that showHUDAddedTo:animated: returns. ```objective-c MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; hud.mode = MBProgressHUDModeAnnularDeterminate; -hud.labelText = @"Loading"; +hud.label.text = @"Loading"; [self doSomethingInBackgroundWithProgressCallback:^(float progress) { hud.progress = progress; } completionCallback:^{ - [hud hide:YES]; + [hud hideAnimated:YES]; +}]; +``` + +You can also use a `NSProgress` object and MBProgressHUD will update itself when there is progress reported through that object. + +```objective-c +MBProgressHUD *hud = [MBProgressHUD showHUDAddedTo:self.view animated:YES]; +hud.mode = MBProgressHUDModeAnnularDeterminate; +hud.label.text = @"Loading"; +NSProgress *progress = [self doSomethingInBackgroundCompletion:^{ + [hud hideAnimated:YES]; }]; +hud.progressObject = progress; ``` -UI updates should always be done on the main thread. Some MBProgressHUD setters are however considered "thread safe" and can be called from background threads. Those also include `setMode:`, `setCustomView:`, `setLabelText:`, `setLabelFont:`, `setDetailsLabelText:`, `setDetailsLabelFont:` and `setProgress:`. +Keep in mind that UI updates, inclining calls to MBProgressHUD should always be done on the main thread. If you need to run your long-running task in the main thread, you should perform it with a slight delay, so UIKit will have enough time to update the UI (i.e., draw the HUD) before you block the main thread with your task. @@ -94,8 +119,8 @@ For more examples, including how to use MBProgressHUD with asynchronous operatio ## License -This code is distributed under the terms and conditions of the [MIT license](LICENSE). +This code is distributed under the terms and conditions of the [MIT license](LICENSE). ## Change-log -A brief summary of each MBProgressHUD release can be found on the [wiki](https://github.com/matej/MBProgressHUD/wiki/Change-log). +A brief summary of each MBProgressHUD release can be found in the [CHANGELOG](CHANGELOG.mdown). diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock index b2e52edfd..8b008b419 100644 --- a/Example/Pods/Manifest.lock +++ b/Example/Pods/Manifest.lock @@ -1,19 +1,24 @@ PODS: - DACircularProgress (2.3.1) - - Expecta (1.0.0) - - Expecta+Snapshots (1.3.4): + - Expecta (1.0.6) + - Expecta+Snapshots (3.1.1): - Expecta (~> 1.0) - - FBSnapshotTestCase (~> 1.8) - - FBSnapshotTestCase (1.8.1) - - MBProgressHUD (0.9.2) - - MWPhotoBrowser (2.1.2): - - DACircularProgress (~> 2.3) - - MBProgressHUD (~> 0.9) - - SDWebImage (!= 3.7.2, ~> 3.7) - - SDWebImage (3.7.5): - - SDWebImage/Core (= 3.7.5) - - SDWebImage/Core (3.7.5) - - Specta (1.0.2) + - FBSnapshotTestCase/Core (~> 2.0) + - Specta (~> 1.0) + - FBSnapshotTestCase (2.1.4): + - FBSnapshotTestCase/SwiftSupport (= 2.1.4) + - FBSnapshotTestCase/Core (2.1.4) + - FBSnapshotTestCase/SwiftSupport (2.1.4): + - FBSnapshotTestCase/Core + - MBProgressHUD (1.1.0) + - MWPhotoBrowser (2.1.4): + - DACircularProgress (~> 2.3.1) + - MBProgressHUD (~> 1.1.0) + - SDWebImage (~> 4.2.2) + - SDWebImage (4.2.2): + - SDWebImage/Core (= 4.2.2) + - SDWebImage/Core (4.2.2) + - Specta (1.0.7) DEPENDENCIES: - Expecta @@ -28,12 +33,14 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: DACircularProgress: 4dd437c0fc3da5161cb289e07ac449493d41db71 - Expecta: 32604574add2c46a36f8d2f716b6c5736eb75024 - Expecta+Snapshots: ca15bfb57e7a0f78f86c7699c2c54ffacfa4ad2a - FBSnapshotTestCase: 3dc3899168747a0319c5278f5b3445c13a6532dd - MBProgressHUD: 1569cf7ace17a8bac47aabfbb8580a49690386d1 - MWPhotoBrowser: 5836d7aa041dc05a13de380c246826578adc5ea5 - SDWebImage: 69c6303e3348fba97e03f65d65d4fbc26740f461 - Specta: 9cec98310dca411f7c7ffd6943552b501622abfe + Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5 + Expecta+Snapshots: dcff217eef506dabd6dfdc7864ea2da321fafbb8 + FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a + MBProgressHUD: e7baa36a220447d8aeb12769bf0585582f3866d9 + MWPhotoBrowser: c145b4dc9dffad86f04ab807ff7d7ce078519183 + SDWebImage: 89a9d32cd520bbb46eb14e541d5109b3564af198 + Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66 -COCOAPODS: 0.39.0 +PODFILE CHECKSUM: 224dfa218add06d33581ed929244ca41d6e9c969 + +COCOAPODS: 1.3.1 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj index 4009822f4..b474888d0 100644 --- a/Example/Pods/Pods.xcodeproj/project.pbxproj +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -1,9232 +1,3070 @@ - - - - - archiveVersion - 1 - classes - - objectVersion - 46 - objects - - 0043FDF25F85C0B2C11CEAE6B1C54D87 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - FBSnapshotTestController.m - path - FBSnapshotTestCase/FBSnapshotTestController.m - sourceTree - <group> - - 00518063767430EDC47FCC49F4409458 - - fileRef - 6CD3EC2C1FBF5655137A99638E9CC950 - isa - PBXBuildFile - - 00641C72D7132E5890F1F7098337C3B5 - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 01F58E863C79FB5A8433D92837FFE619 - - isa - PBXTargetDependency - name - MBProgressHUD - target - FE2F1D7B9D9FCEA148517E4657B243F4 - targetProxy - D47B0B4C04222F6784D38356F02BEB32 - - 021C50274FF43A6F07E119D572C3ACB6 - - fileRef - DA7F16221783A03C084D9BAAF7F404DB - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 02C7E3EC1E1DFDD7046BD26A67E92686 - - fileRef - 981F3EB0C06E97770D2421E673B013A1 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 033AB851ACA0C118D009F781287565DD - - fileRef - 1E360C94C47826C4CAEEDBFC04C36A42 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 0364DCB58A865A2830638D2C0CCED41C - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 043124F225814F80E4ED4FF4BC40156A - - children - - 68F141757E1606330C04FEBE78CBCE4E - 9F19BCDE9BF6E330E14588598DFC6337 - C6FE69AE06A770FF76C19B8039EC0780 - BD56223A67203315C1B15E39E3B40934 - 9C95EBE1D39EEFE5E6404691C95BE2E2 - 6F1FCA0BD48258CDEC1B14D704BA3E5D - 1580BE8D870658FFFB9EF3D04B9213CC - - isa - PBXGroup - name - Pods-MWPhotoBrowser_Tests - path - Target Support Files/Pods-MWPhotoBrowser_Tests - sourceTree - <group> - - 0498B98EB393D71314953683060EFD58 - - fileRef - EC0223776620A3EA741C855D0211CB0A - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 04D4EDE1F05B96EE8BB9DCD368608620 - - baseConfigurationReference - 805AE44C01D7936BA8A238C6C5C4807D - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/Specta/Specta-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 0515A6974CBAF0F2F6F72BF87921704B - - buildConfigurations - - F6045A7604731086F9E1A9412E290302 - 589E7F4856ABE929D7FC9F3A9E506FC9 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 051AA4E51A019933DD1E5CE99CD7352A - - fileRef - 0B92B054A2338462A743EB368F25A20B - isa - PBXBuildFile - - 05257CC76400D71826E603561A0F73E6 - - buildConfigurationList - 0515A6974CBAF0F2F6F72BF87921704B - buildPhases - - 26D004126E0DEF14D67843A444753FFF - 065410F935EC72489896726380B72CD0 - 9AF3FD4A822DCF644AB50D3967C43C14 - - buildRules - - dependencies - - F601833D09980E16136321674463BE81 - 0DB9AA4B919BA54CFBC8FC6FD7AFB3F6 - - isa - PBXNativeTarget - name - Expecta+Snapshots - productName - Expecta+Snapshots - productReference - 6CD36438CB08D280978CEE50363D8B8B - productType - com.apple.product-type.library.static - - 052A17875CB827423D627183396CEB60 - - 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 - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES - CLANG_WARN_UNREACHABLE_CODE - YES - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - COPY_PHASE_STRIP - YES - ENABLE_NS_ASSERTIONS - NO - GCC_C_LANGUAGE_STANDARD - gnu99 - GCC_PREPROCESSOR_DEFINITIONS - - RELEASE=1 - - GCC_WARN_64_TO_32_BIT_CONVERSION - YES - GCC_WARN_ABOUT_RETURN_TYPE - YES - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - STRIP_INSTALLED_PRODUCT - NO - SYMROOT - ${SRCROOT}/../build - VALIDATE_PRODUCT - YES - - isa - XCBuildConfiguration - name - Release - - 0557FD60A45F62CD51B4972ECE5C2584 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - MBProgressHUD.xcconfig - sourceTree - <group> - - 05DA7841521B75C4D0C303F32E518117 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+respondTo.h - path - Expecta/Matchers/EXPMatchers+respondTo.h - sourceTree - <group> - - 060435B6E32CF028837E209B20E10639 - - fileRef - C6FE69AE06A770FF76C19B8039EC0780 - isa - PBXBuildFile - - 065410F935EC72489896726380B72CD0 - - buildActionMask - 2147483647 - files - - 866569443B7D10AB5D6DC7FC0830235B - 9933B0F6DA01EDF804C19260E9515E65 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 0668957FEB1B3CAE2EABBC4AA9ABA7C3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTCallSite.m - path - Specta/Specta/SPTCallSite.m - sourceTree - <group> - - 0683DF2C9B7FC27B576AB4B7B3B146ED - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beGreaterThan.h - path - Expecta/Matchers/EXPMatchers+beGreaterThan.h - sourceTree - <group> - - 07282695806D1DFBF187BFA004D80641 - - fileRef - 700F6F4AFED22AEAA1D8943236F94924 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 072C184628072EDE522629576F1716DE - - fileRef - 5E350F03F362C03BE32737DDE72D4632 - isa - PBXBuildFile - - 0732716566238BF76BBF762F85C8ABAF - - buildConfigurations - - 617F18A93D7ABF1322E3C027265893C2 - 85A6795A5CD0C6DEA1F648AD0E6D1248 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 079AA0CF857B4A46F161666C58867CE1 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWPhotoBrowser-dummy.m - sourceTree - <group> - - 081F2104425CDCB0915354E2FBD7E24E - - fileRef - 1D536F869C3B7D603AC4630F3F6AB919 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 098439AB598DDF1AF51146A2E3E2E562 - - buildActionMask - 2147483647 - files - - FC214077677D4F02E03C6C85F774E028 - 82FC12F67E83874B93592218E9FB4CA0 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 0A924BC847BA99EBCBD0588603448B05 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPBlockDefinedMatcher.h - path - Expecta/EXPBlockDefinedMatcher.h - sourceTree - <group> - - 0A9B8E3E35177F52A643739AC50B00FA - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemArrowLeft.png - sourceTree - <group> - - 0AB1B49E98BEDDFC8A45BB3C1FB54076 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beSubclassOf.m - path - Expecta/Matchers/EXPMatchers+beSubclassOf.m - sourceTree - <group> - - 0B3C605995BE46623C50E7658A1CBE96 - - fileRef - CA8230DE5C83368629EF3E62C4F0E7B7 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 0B7E61991D03B44046913BF3B345F4DB - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - XCTest.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/XCTest.framework - sourceTree - DEVELOPER_DIR - - 0B8D4914244FCBC9DCAF2B9AD09F3DD5 - - isa - PBXTargetDependency - name - DACircularProgress - target - 9775596B3CA16905FC8F66DA8E2A3C67 - targetProxy - 96AE2267633A27498E5D45052BDD5BBA - - 0B92B054A2338462A743EB368F25A20B - - includeInIndex - 1 - isa - PBXFileReference - path - PlayButtonOverlayLargeTap@2x.png - sourceTree - <group> - - 0C1A29BFF65C6F2801B1BE0058718A19 - - fileRef - 37E4F69B3E6AFDEE8D68A3430CEC8BF5 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 0DB9AA4B919BA54CFBC8FC6FD7AFB3F6 - - isa - PBXTargetDependency - name - FBSnapshotTestCase - target - 7D9E32DAA93E15CFCF77A5BCD2D4BAA2 - targetProxy - EE04EE8ADAB8F7DF7FCEFDDD1E801BE6 - - 0DC4183837552F23710F86F9A032C574 - - fileRef - 5D39CEB65ADB521B117CA181C2BB2C9C - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 0EAAE557DE1A2949F0793F1230D1D046 - - isa - PBXTargetDependency - name - Expecta - target - 2F501FE84845EAD97B9087DAFCBBEE0E - targetProxy - A6FD2A9ACF0632CB41BE9AF1A13BD166 - - 0EF1CB072B5DE5D0A4EE7053EB0E2364 - - fileRef - 574FFB37A8EF309B1A1EB265267DD353 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 0F43FEACB0C18DD4C724B1655AF47728 - - fileRef - 60ECF290B248258F453088B6258302E6 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 104AFE24D01F1C4495926B40B53C5945 - - fileRef - 92F064516748B6AA4C6E303A38C3FE6A - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 105B37778FEED1965C8D0AF4C9E4B4F1 - - fileRef - 487E0AD53E31FE34EC41B45FC09B9097 - isa - PBXBuildFile - - 10E446637EC5FF03088009E61B491E75 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageCompat.m - path - SDWebImage/SDWebImageCompat.m - sourceTree - <group> - - 10E68FD4A81F628778B6A4992DB9D952 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beTruthy.h - path - Expecta/Matchers/EXPMatchers+beTruthy.h - sourceTree - <group> - - 1181CB6FC2D63C42F19EAB56C604A71E - - fileRef - A09DD0AB6A512D74E5628070EBD56026 - isa - PBXBuildFile - - 1186EC1A35306EBBA8C3DE66F0973361 - - fileRef - B0DFED38A647950C79B13061F923258C - isa - PBXBuildFile - - 11CF0C44A36897A963C15B74C2AEC415 - - fileRef - 3DEC242716623D70F4CC9F4A1D32805C - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 123355D7F0D268DB0998FFB1CDD859B9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MBProgressHUD-prefix.pch - sourceTree - <group> - - 1246A1C00980422020A6884856143651 - - buildActionMask - 2147483647 - files - - 0C1A29BFF65C6F2801B1BE0058718A19 - 0F43FEACB0C18DD4C724B1655AF47728 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 1398D1B84667A17FCB66182F776EAC42 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTSharedExampleGroups.h - path - Specta/Specta/SPTSharedExampleGroups.h - sourceTree - <group> - - 13EA87F4C750EBB98261F8ED14EFE770 - - isa - PBXTargetDependency - name - Specta - target - E9AAC3590B391F4CFAF5F8348E6A8FE4 - targetProxy - 659BCA5950BB094273E9E83E7D5271CF - - 143C0831AA95D723669324010D835391 - - buildActionMask - 2147483647 - files - - CF95446EA555B49150EA7270096D78B2 - 487899F028C39C1A518547A1AB2F625A - FDF72740DBC37AFACFED73ED42282383 - 11CF0C44A36897A963C15B74C2AEC415 - 4383E0DB1B07B9EB3155EF5D5F27C7BA - 104AFE24D01F1C4495926B40B53C5945 - 779CFE8771E1EF63F1313ABEBCECAA4A - 49EFE75BAF060A33327F3CE8C18436F2 - 5F6D96E64F890BDC4A75B73C3D50A0DD - F1F4E65611F5567A86AF797EAC3E225B - A7141BC83638F4B38D4D312BAE3BDAC4 - CB08C9C83ABDBE55762A423ED48491EF - AD6791D14732A3C17164F61CC72FFB0D - A65C491577A425AF82C53F4A40A0A24B - 2F9D3747596E4E074C3B776949091047 - 7436C602BB1CA7C91560C28DE749357B - 63D0CD4F0FB5A6103E1DDB46E876CBB6 - C6671739E8C5904113586F8BEBBC9780 - 43A1104CA0C628C2F693902EADA32B8C - E06376455C1D5E45B97ACDC5438FC15B - BD30B724A71CF5D6E93805B7615EC79C - 6D37BEAA1FC469C3582CACB4E9766502 - 5E8F33E777456DA63CA2D902508A9058 - C2BFF99EB859FD7056CF72C4850693D1 - 46F312CBB94BAE62B58D3D7AE28E8DBD - B33234F432A72D5E8B65694AE937B78F - 8059E5674B08670B0A002D564FFABF44 - 562BE99A6F630E709218EB9B3CF36E90 - 2239B5E63C5D2C1323D66F489F075C42 - 69EBB956302554EA37775F4D806BC4DD - 7FEE0E8D094D7BCCAC7129473EE05ADC - A26F992E8831118311F3DB7CB830595A - E2EBD18BA89D3FF648947DF31FA12D44 - 40F505E69B8595361C2A7528DDA222B6 - 872948DAF79618AD725E0BF364E5DDD4 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 148F0DEDC306B5A6D48931EFD279E456 - - children - - EF5AC1222120F3BAB7481DA9615352B0 - 4594A9E3FFD6ABE129882E959BB04B5E - D5DEC16E7CEEFEABBFEBAC3A10358C5A - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/FBSnapshotTestCase - sourceTree - <group> - - 14BD3072FD1820402768B3D7F2E5B4A5 - - fileRef - 8952D588C0E5AD12FD9CF3747FD061F2 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 14C609D8F203FD45194E93997EFF744E - - fileRef - 71865C216F48AC822D486C8D9B03B13C - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 15082EF0D1C2F7B77B63E0116BDA622C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPFloatTuple.m - path - Expecta/EXPFloatTuple.m - sourceTree - <group> - - 1580BE8D870658FFFB9EF3D04B9213CC - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Pods-MWPhotoBrowser_Tests.release.xcconfig - sourceTree - <group> - - 1629A676793A787618A75ABDA6E20C56 - - fileRef - 8C4EC29461A90C294949DAE717A1BEC5 - isa - PBXBuildFile - - 164BD2AFD03035E623A90DF1AA095C35 - - fileRef - 3B5A7151F8E4FBFE54BF6C2AC80958FA - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 1684C2FDDE674F14B731CC940021D8C6 - - buildActionMask - 2147483647 - files - - 00641C72D7132E5890F1F7098337C3B5 - 8C4ECAE46CD3BCB39F38F4FF20D074F6 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 16A268BA14BC07320BB7FBE44EB37FB4 - - fileRef - 3CD608194F35F47CEC250368B43C48E9 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 18391089432560093C31CCA48ABB46AE - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - NSValue+Expecta.h - path - Expecta/NSValue+Expecta.h - sourceTree - <group> - - 189B7D1A1C865073D7F999A759ACD292 - - buildConfigurations - - FD6FA76757975A1FC954269CE5739798 - 257A97CE59C7E5D5191DC00F15C261BE - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 199EF76AC47B3EE9FA80BE53835AB7B1 - - buildActionMask - 2147483647 - files - - 66081D3480D1FA028C4DE2344BF616D4 - 69363A59A4E2FF95D6A62AA88641A20A - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 1A0D2B172232171C3EB6DC4DFE575EE7 - - fileRef - 079AA0CF857B4A46F161666C58867CE1 - isa - PBXBuildFile - - 1A1E6F8D4C651A22BB8CCEF1226FB1EE - - includeInIndex - 1 - isa - PBXFileReference - path - PlayButtonOverlayLarge@2x.png - sourceTree - <group> - - 1A1E8E8494B9BFCEBBD8273148D44386 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImage+MultiFormat.h - path - SDWebImage/UIImage+MultiFormat.h - sourceTree - <group> - - 1AB26E75F7BCD415D6AD6B8BA5F03DDB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beIdenticalTo.m - path - Expecta/Matchers/EXPMatchers+beIdenticalTo.m - sourceTree - <group> - - 1AFDF0F0EF2A314336EACA38FCC6F784 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTExample.m - path - Specta/Specta/SPTExample.m - sourceTree - <group> - - 1B030B50B68FB0D602F2E4B1685FA9BA - - isa - PBXTargetDependency - name - MWPhotoBrowser - target - E2FE87384A67337831E53490EEA8BF11 - targetProxy - B6CE0371E70FB931CC99A90CEBFD6E83 - - 1B0ADBF8A991262A6DE5BD0CB101EEE0 - - children - - 0557FD60A45F62CD51B4972ECE5C2584 - FC1172043A5F0542D166D63AE9EBC260 - 123355D7F0D268DB0998FFB1CDD859B9 - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/MBProgressHUD - sourceTree - <group> - - 1BB15402D8C2FB01A198273BA1991DED - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beginWith.m - path - Expecta/Matchers/EXPMatchers+beginWith.m - sourceTree - <group> - - 1C1837DF96AE65F662773DF1956BFF09 - - baseConfigurationReference - 805AE44C01D7936BA8A238C6C5C4807D - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/Specta/Specta-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - 1CCE02DFD89EF9B58809C379D0496685 - - isa - PBXTargetDependency - name - Expecta+Snapshots - target - 05257CC76400D71826E603561A0F73E6 - targetProxy - FE4A445C1692178764D9C71EAC64ABAC - - 1D536F869C3B7D603AC4630F3F6AB919 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - ExpectaObject.h - path - Expecta/ExpectaObject.h - sourceTree - <group> - - 1D772DC880BCFABF5028DA167DE6B119 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTExcludeGlobalBeforeAfterEach.h - path - Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h - sourceTree - <group> - - 1DD364708B768EB7C94DD9BB48F217F4 - - fileRef - D54993E311EDD8802711B01895286E4E - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 1E08912939425D011D7C47713E6CDAF0 - - fileRef - BD4E094BE48FCAB50C0CEFC92B2C0B04 - isa - PBXBuildFile - - 1E360C94C47826C4CAEEDBFC04C36A42 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - XCTestCase+Specta.h - path - Specta/Specta/XCTestCase+Specta.h - sourceTree - <group> - - 1EF011C5AA1726984A1B50A46191CE9B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - XCTest+Private.h - path - Specta/Specta/XCTest+Private.h - sourceTree - <group> - - 20503FB88D4DCF32DC61DD92AA97A82B - - fileRef - 6C8B1153C440825B90681905FC2F85B9 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 2055A9E17F10DAA3DD7884DDF96A0A50 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - MWPhotoBrowser.xcconfig - sourceTree - <group> - - 216490FDC8376C36DB920710C65B92F3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWTapDetectingImageView.m - sourceTree - <group> - - 216D98400141172993D43965B937A9C6 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - DE3B07ED7FF04F506B0C5E00F4973589 - remoteInfo - SDWebImage - - 222A85D6DAB7D3AC98EF6D7E68B13740 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageManager.h - path - SDWebImage/SDWebImageManager.h - sourceTree - <group> - - 2239B5E63C5D2C1323D66F489F075C42 - - fileRef - 7250BEF99A7686EAB50B17986FDCED3E - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 232510EC13760470E86AABE302EF2B8E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatcherHelpers.m - path - Expecta/Matchers/EXPMatcherHelpers.m - sourceTree - <group> - - 237FB063FB365119546C7B5006224F3B - - fileRef - AB8960E6933BD274C11AD9C15CF410AF - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 244F3301C3C77C58A95FA7864D67858D - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedSmallOff@2x.png - sourceTree - <group> - - 24FAEADA1249F6042B4B4B135CDD0DF9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+respondTo.m - path - Expecta/Matchers/EXPMatchers+respondTo.m - sourceTree - <group> - - 25003C5ED979935F9483683DD2350697 - - children - - FDEE1AFEA9C68977819B7D652EE1F6F2 - 2ECFFDC2A7A648A930A461436E2ECC2D - 6C92311B12AB812820A4267248D69CCB - - isa - PBXGroup - name - MWPhotoBrowser - path - ../.. - sourceTree - <group> - - 257A97CE59C7E5D5191DC00F15C261BE - - baseConfigurationReference - EF5AC1222120F3BAB7481DA9615352B0 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 2677C6B3B248613A05ABDFB423C9F02C - - children - - EB4DE2009B511D62CF6BFE67FA73E321 - 9374BBB3BA16684D1B858CCC9C3E2D8A - 523087C6D186A9F5BEE78D39F9A78F3F - 71BC183B1FB7AB5F8CF9A3383C6B354C - C9B97F514121309E4531C3439E206EC7 - D5EE5F7C5A846B01ACF225DE04E52196 - B83D4C05E77991780CA69BF68B431DD2 - - isa - PBXGroup - name - Pods-MWPhotoBrowser_Example - path - Target Support Files/Pods-MWPhotoBrowser_Example - sourceTree - <group> - - 26D004126E0DEF14D67843A444753FFF - - buildActionMask - 2147483647 - files - - 8B97E5CA574F06B315C5F1D27B25DEFB - 1629A676793A787618A75ABDA6E20C56 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 27499458B06BE275AED9ACF720F09853 - - fileRef - 1D772DC880BCFABF5028DA167DE6B119 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 2779B434631901F1434BC316E3FB5AE9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beNil.h - path - Expecta/Matchers/EXPMatchers+beNil.h - sourceTree - <group> - - 28A20AE3D7A1F50CAD0D9D8B71205EC6 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedOn@2x.png - sourceTree - <group> - - 29062DA699B861B896758C5A677765BD - - children - - 2677C6B3B248613A05ABDFB423C9F02C - 043124F225814F80E4ED4FF4BC40156A - - isa - PBXGroup - name - Targets Support Files - sourceTree - <group> - - 2945FAA75C956DD6A541EB51E42E6899 - - fileRef - FDE2A8151D1FDB6749FB32276220BE7C - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 2989492A1A182744E36FD61DF1746D94 - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 299B50B04F45E1A2F52075C3B7A1AEB2 - - isa - PBXTargetDependency - name - SDWebImage - target - DE3B07ED7FF04F506B0C5E00F4973589 - targetProxy - 90C5595E0565CBEBB42EFEBB157FF619 - - 29B6CC3E1560257A444A209D97AC271E - - fileRef - 7599165E41821009340AA99FDAC29AE0 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 29E4E0528D088AE8B2EE6D38E19D375E - - fileRef - 6C982719FDCF6684EB752A0153066FC3 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 29E6F040DB8ACF8886F7FE628840C480 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beKindOf.h - path - Expecta/Matchers/EXPMatchers+beKindOf.h - sourceTree - <group> - - 2A17721E4A81DB608CA6D4FB6F0ADAFB - - fileRef - 3E7FFEF7BFB0350CE8FCC2D6D64D1396 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 2ACE82A15131DC569A786CB49EFD1804 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTCallSite.h - path - Specta/Specta/SPTCallSite.h - sourceTree - <group> - - 2BFB267A4274D5D4B277138F9D4EEDA1 - - fileRef - 2EDD6193448F7939784FDF1C8016F000 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 2D5EE41C6DDBA8F159EEA954F335387A - - isa - PBXTargetDependency - name - MBProgressHUD - target - FE2F1D7B9D9FCEA148517E4657B243F4 - targetProxy - FF6817E7D2D11A6D747BFAEA934D0FD1 - - 2D6EC33CA8D9BD953AD29E16068F2CBD - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDImageCache.h - path - SDWebImage/SDImageCache.h - sourceTree - <group> - - 2D8E8EC45A3A1A1D94AE762CB5028504 - - buildConfigurations - - B37F0F91F85060E28F1DAAB522DC7EC1 - 052A17875CB827423D627183396CEB60 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 2DE374580729793C277006A3481402A3 - - includeInIndex - 1 - isa - PBXFileReference - path - VideoOverlay@2x.png - sourceTree - <group> - - 2E7CBF297AA8A0E93C23BFAF1BE94DEE - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beIdenticalTo.h - path - Expecta/Matchers/EXPMatchers+beIdenticalTo.h - sourceTree - <group> - - 2ECFFDC2A7A648A930A461436E2ECC2D - - children - - 37ACF2CCD5DA793FAF5F71CF8F469294 - - isa - PBXGroup - name - Resources - sourceTree - <group> - - 2EDD6193448F7939784FDF1C8016F000 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageManager.m - path - SDWebImage/SDWebImageManager.m - sourceTree - <group> - - 2F29BE2EDEBA2861368726A4772F4E8E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTExample.h - path - Specta/Specta/SPTExample.h - sourceTree - <group> - - 2F501FE84845EAD97B9087DAFCBBEE0E - - buildConfigurationList - 57205495CF13B4EE93B13B7B0E3A1BD2 - buildPhases - - 143C0831AA95D723669324010D835391 - 199EF76AC47B3EE9FA80BE53835AB7B1 - C6AD7852D34E8A80DFF3B8376BDE812F - - buildRules - - dependencies - - isa - PBXNativeTarget - name - Expecta - productName - Expecta - productReference - ADEAC9FE1270035973745D0EB3B84395 - productType - com.apple.product-type.library.static - - 2F9D3747596E4E074C3B776949091047 - - fileRef - 44D0D04C0DF98EC05B4909F397D6F7FF - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 2FD7E39AFBAB884FA64CFB5DBDFA1F7B - - children - - CBE0BF23E2B3F39D22B51BC93022DE7D - B73F44C64FD91479CFE63C882F1E5E70 - - isa - PBXGroup - name - SDWebImage - path - SDWebImage - sourceTree - <group> - - 311D5C7B166178CCB79CFD7E8DD4F641 - - fileRef - D91F4635A8EDF54921FC9B759BE009F6 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 3173089CCB6C063D260C58DD7BA3ABF5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beKindOf.m - path - Expecta/Matchers/EXPMatchers+beKindOf.m - sourceTree - <group> - - 319D6926D1261EB1150D83F672CCA35E - - fileRef - A09DD0AB6A512D74E5628070EBD56026 - isa - PBXBuildFile - - 32A9515F32A6ACB0753681241864BABA - - fileRef - F1948E226356BF652752F9FA7317BC73 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 33985216BF501EDD56E784D7CAD32FE7 - - fileRef - B1A8AF86363A5D8093FFE48748DC20A1 - isa - PBXBuildFile - - 339A0C1BFF72397A705959E03877DDDB - - fileRef - 5F878B29A406784703BC9F07FBFDD99F - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 341D7536159B52F41598F730CC45D548 - - fileRef - 8136A5BFC35DA48ABC2C0D94EA79B7F0 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 34B2272FAB199A0B69B898BFB9E733E1 - - fileRef - DE369A67A17A1EE2351376730BB039A4 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 34F30E1314EC4C287E6B89477C2D0FB4 - - fileRef - 8E485F27A3C78223FB086075C2974A49 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 3540CB186FE2EE9EE99381DA600738B8 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - EXPMatchers+FBSnapshotTest.h - sourceTree - <group> - - 362D9038C23D156F9F055EDF5565A5F1 - - children - - 7D8198AD59277CB0379442369CF5247E - 730E6CDCF09A029F8976D82EB7DACCF2 - 69C3D12EC1F2F8AE628C05AC390D9D61 - C402F1446422CAB85FC53BD77E5E9018 - FCA01B035C5FC9AF0969977B2C54A7A9 - 5A531485C6A0D185C72E03CD91B49919 - A8B86384F8C46CE8544B59FEB6C657F5 - D8619A771228AD0402C4D464E3C6EE53 - C0A33FBAF4E7C28807891EC8D0B65204 - 9D6702575943BF5C71AD0E2299CB53E2 - AABA7597E19FD75C9F320BCD6BB2759E - C266061F84E4CFB93AF99D21EEB13401 - 564C3E7A9D55850E48FAC93F77A7F478 - 6C8B1153C440825B90681905FC2F85B9 - 216490FDC8376C36DB920710C65B92F3 - 8952D588C0E5AD12FD9CF3747FD061F2 - 94A310E9C2919B9904E9AFBD2837C2B9 - AE6C39B87AE391EC710DA8FB520ED3F5 - A1195ED094D0C8B66BB073959AA2ACCD - E7E794ADE2D5267DF8949DD0A42B935B - 5289709799A254B807701A658BD9D425 - - isa - PBXGroup - name - Classes - path - Classes - sourceTree - <group> - - 37726FF893DE97CB8E4497EED1D4F28E - - fileRef - 0668957FEB1B3CAE2EABBC4AA9ABA7C3 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 37ACF2CCD5DA793FAF5F71CF8F469294 - - children - - 4F696B27FDAEF5BE2C52EFF1848239D6 - - isa - PBXGroup - name - Pod - path - Pod - sourceTree - <group> - - 37E4F69B3E6AFDEE8D68A3430CEC8BF5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - DACircularProgressView.h - path - DACircularProgress/DACircularProgressView.h - sourceTree - <group> - - 386634C7797B60DF71C8AD13DAAD315D - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 9775596B3CA16905FC8F66DA8E2A3C67 - remoteInfo - DACircularProgress - - 38777F32EB3F13ED8D2047C1C9ED6D6D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIView+WebCacheOperation.m - path - SDWebImage/UIView+WebCacheOperation.m - sourceTree - <group> - - 3907B3A4464A3069E24142505C76338D - - buildActionMask - 2147483647 - files - - AAF71AC633AFEC1D271F81DA183E75F0 - 5116C7E5987E156AC4BAA9BF327459AD - 5728F0AC6D99470A4AF64DA015991D65 - 16A268BA14BC07320BB7FBE44EB37FB4 - 87A80C8B1F0C635DA56B74807AE426D9 - 45F8F3DCD4679DF7E346A6589E02123D - B2DE78D2D5A5CF173FEBFA2FE4B4023D - 7D56DF05F0071D94121A050CDB772D56 - 27499458B06BE275AED9ACF720F09853 - C2420EB9004B4667C6328B5C0D098C48 - E40400D97F14785D20A7A5594F0E2C56 - 904DB6CCA2AAC8D7B3245ED9628E865A - 4A0F7A4BC9D18113AABC29DECF4E51D1 - FEFA85FDDB15B89CF28DF12C1C2071E1 - 033AB851ACA0C118D009F781287565DD - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 3939EE53B37025D6F0E05FF8A4C7DCF0 - - fileRef - AE1B7431EAFB4D89A49A9DAD35DBE790 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 3A013F13122CDB8EE962F8CB7C6FCC8E - - fileRef - DFA142DA2A1E6AB454178652BAC9A075 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 3B332CC633C291A7A96AD0922CFD8AB0 - - fileRef - 2D6EC33CA8D9BD953AD29E16068F2CBD - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 3B5A7151F8E4FBFE54BF6C2AC80958FA - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImage+Diff.h - path - FBSnapshotTestCase/UIImage+Diff.h - sourceTree - <group> - - 3C5A51B8AE7322A210CF01AFBA648598 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beInstanceOf.h - path - Expecta/Matchers/EXPMatchers+beInstanceOf.h - sourceTree - <group> - - 3CAA21F3728659DC1B58A336233AEB79 - - includeInIndex - 1 - isa - PBXFileReference - path - PlayButtonOverlayLarge.png - sourceTree - <group> - - 3CD608194F35F47CEC250368B43C48E9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SpectaUtility.h - path - Specta/Specta/SpectaUtility.h - sourceTree - <group> - - 3DA2CF997A09E53F375CF0DEEF25AFCF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+postNotification.m - path - Expecta/Matchers/EXPMatchers+postNotification.m - sourceTree - <group> - - 3DEC242716623D70F4CC9F4A1D32805C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - ExpectaObject.m - path - Expecta/ExpectaObject.m - sourceTree - <group> - - 3E463E2B6917D9AA08A03BA8A8E74A18 - - fileRef - B5969E17FAFFDC548233DC602AAC6211 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 3E7FFEF7BFB0350CE8FCC2D6D64D1396 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPExpect.h - path - Expecta/EXPExpect.h - sourceTree - <group> - - 3EF2F2E1AF840BA0B6AD13D59AA5F80C - - includeInIndex - 1 - isa - PBXFileReference - path - PlayButtonOverlayLargeTap@3x.png - sourceTree - <group> - - 3F1E0CB31108E6E996D2E7418FE21D2E - - fileRef - 661962DFFB8F4AF681F8EA78582EE534 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 40D39B6435EEF47A85F4E3FB684E72FE - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - DACircularProgressView.m - path - DACircularProgress/DACircularProgressView.m - sourceTree - <group> - - 40DAD22BCDD38D058B1C9A312C42DF49 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beNil.m - path - Expecta/Matchers/EXPMatchers+beNil.m - sourceTree - <group> - - 40F505E69B8595361C2A7528DDA222B6 - - fileRef - B23D9E49B5B3A5C76EAFFC9C7F40B4B9 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 4209F7E4332FDC16B4C407CA07C3E8E8 - - children - - 86A1ADA0F8A843FA09BFF9142BEF76D5 - A6A21F67B2A713138BF1A404E3460084 - 990C6F27E60B10F0E4BA0674D80F546B - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/Expecta - sourceTree - <group> - - 4231743B6C143BDB4A5FBB032E6D3799 - - fileRef - 865FAF448207E691D600F40C4ACF7C58 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 427921605A450AEF67D129DACCD87BED - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MBProgressHUD.m - sourceTree - <group> - - 430CE433DB59FE090A8CC6AFCFA43337 - - fileRef - D10BA2216A9B5F41557B4FC448EE865C - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 4358F868C1553FF4273B0726E5AD2012 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageError.png - sourceTree - <group> - - 4383E0DB1B07B9EB3155EF5D5F27C7BA - - fileRef - 4BE4F23029A1EDB234CF7F2AEB043EB0 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 439E7363C4854DD4D1E46F32C2EA2F3B - - fileRef - 8F2B443FA0D511403E4DA2A79DB3302A - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 43A1104CA0C628C2F693902EADA32B8C - - fileRef - 746A80915CF52BE732D200BAA851FBAB - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 4463CD014E8C258B7F8BF0FD64901B8F - - fileRef - 63327617AD4F38D1236E71968B0991E5 - isa - PBXBuildFile - - 44D0D04C0DF98EC05B4909F397D6F7FF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beInstanceOf.m - path - Expecta/Matchers/EXPMatchers+beInstanceOf.m - sourceTree - <group> - - 453678659359A72C87495DDD6D9BD0C6 - - fileRef - 730E6CDCF09A029F8976D82EB7DACCF2 - isa - PBXBuildFile - - 45548268D1B9EE9D37731231D940A591 - - fileRef - 4594A9E3FFD6ABE129882E959BB04B5E - isa - PBXBuildFile - - 4594A9E3FFD6ABE129882E959BB04B5E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - FBSnapshotTestCase-dummy.m - sourceTree - <group> - - 45F8F3DCD4679DF7E346A6589E02123D - - fileRef - 569060A075537DFE6A4D25D96C98668B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 46A2CE1545DEBE5FE9DF073C8EBFE2F0 - - buildActionMask - 2147483647 - files - - F5F4D07451FB3E10EE7C16A83010425F - B8FC063009C06CE659C8CF168A9F8765 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 46F312CBB94BAE62B58D3D7AE28E8DBD - - fileRef - 9D5AE460F3B78B02A8AE8E5AD0DCC013 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 46F871A74D831312A633CCFC0A94F75D - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedSmallOn.png - sourceTree - <group> - - 47BC96C02F9C3E09817E3FEC2559E33B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDownloaderOperation.h - path - SDWebImage/SDWebImageDownloaderOperation.h - sourceTree - <group> - - 487899F028C39C1A518547A1AB2F625A - - fileRef - D70BED84191514A998A08D7F3B8BBB17 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 487E0AD53E31FE34EC41B45FC09B9097 - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemArrowLeft@3x.png - sourceTree - <group> - - 49D43B7D98ABA386628BDA9FB6BA411B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTGlobalBeforeAfterEach.h - path - Specta/Specta/SPTGlobalBeforeAfterEach.h - sourceTree - <group> - - 49EFE75BAF060A33327F3CE8C18436F2 - - fileRef - 232510EC13760470E86AABE302EF2B8E - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 4A0F7A4BC9D18113AABC29DECF4E51D1 - - fileRef - EF75C10714B7CFF9071553F07D94A550 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 4B72A26F758BB4CA3663A7FB67696029 - - fileRef - DBE203B988A948E71FDDCAE62BA1F4CC - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 4BE4F23029A1EDB234CF7F2AEB043EB0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - ExpectaSupport.m - path - Expecta/ExpectaSupport.m - sourceTree - <group> - - 4C9C7890ED44DBC3090EEDFD92749F0A - - buildActionMask - 2147483647 - files - - B733330A3935B54DE57E0503C1867DAE - 9C8319C4AFAB3CAE3C7314EAD8D1AB34 - 4B72A26F758BB4CA3663A7FB67696029 - 37726FF893DE97CB8E4497EED1D4F28E - EB75F515760C184B2ED65E8649DC5792 - 67BBF4202A90EC070C5EBE20B57A0255 - E127589B46F33617D24F341DBAE1E90D - 439E7363C4854DD4D1E46F32C2EA2F3B - 32A9515F32A6ACB0753681241864BABA - D9E225250B8DAA16A4D7B6A66EC6574A - 0B3C605995BE46623C50E7658A1CBE96 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 4CFA073D420411E3535ABA966BEE98CC - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImage+GIF.h - path - SDWebImage/UIImage+GIF.h - sourceTree - <group> - - 4CFCAA497A77475D017F781F8241A4C0 - - fileRef - 5E350F03F362C03BE32737DDE72D4632 - isa - PBXBuildFile - - 4D720BB8AE19E427E58843509B28FEB6 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libPods-MWPhotoBrowser_Example.a - path - libPods-MWPhotoBrowser_Example.a - sourceTree - BUILT_PRODUCTS_DIR - - 4DCDDE359E1F3BB419E0F7E9DD12CBB6 - - fileRef - 6CA9CE30C9B7FD5557F8DD0E06209E36 - isa - PBXBuildFile - - 4F696B27FDAEF5BE2C52EFF1848239D6 - - children - - 4358F868C1553FF4273B0726E5AD2012 - ABDF044BC66387B0E03E70BAC09D0AC8 - BA9181C8B2773795F2EACBDE286994AD - 6CA9CE30C9B7FD5557F8DD0E06209E36 - E6798A1D89E725C8EB02146EE4B0E31E - D2307EC60BB4D23E49C1420E6F192943 - F2334A461A36CF285AC6F7E96F8FE0DB - 28A20AE3D7A1F50CAD0D9D8B71205EC6 - C9BF70FB69B8740763B185C23C560434 - BD4E094BE48FCAB50C0CEFC92B2C0B04 - 244F3301C3C77C58A95FA7864D67858D - 60E1461AAED23D358B1A25A48F9DD77F - 46F871A74D831312A633CCFC0A94F75D - E4436D58F27EAC932F3CC2A7619D5FD3 - CB3EA5CC56581FD52BDBA0179D956E7B - 3CAA21F3728659DC1B58A336233AEB79 - 1A1E6F8D4C651A22BB8CCEF1226FB1EE - 75F83323F205A277BEC18AABDA0FA739 - 6D7C34F3A270979025E31A50FFFC7F28 - 0B92B054A2338462A743EB368F25A20B - 3EF2F2E1AF840BA0B6AD13D59AA5F80C - 0A9B8E3E35177F52A643739AC50B00FA - C36BB9623ECA2B27942B66986A784EC9 - 487E0AD53E31FE34EC41B45FC09B9097 - BDD78DD77E210708F222D40A2FDE75B1 - 8DC04A9EEA14F0D2300FB6C0CAEB9CAB - 7323B64F45BBE15A70D98D5E7FBF31C8 - C162177585DC8E186D24CADCC233B0EA - 8439940A3793CF65B24F4185E04317D8 - D64041D7A1004D2C8771C29362B59366 - 8F3064A5B520D1E4290AA240A05B7D6F - 2DE374580729793C277006A3481402A3 - 9604D510A96A637DD9AE0D304B68A5A2 - - isa - PBXGroup - name - Assets - path - Assets - sourceTree - <group> - - 5023A97277B66BB3E83DA779FEBAE80C - - fileRef - 94A310E9C2919B9904E9AFBD2837C2B9 - isa - PBXBuildFile - - 505D7B9189B81314EF02A1E9479972D0 - - children - - 3540CB186FE2EE9EE99381DA600738B8 - 8C4EC29461A90C294949DAE717A1BEC5 - 6772D2471C34E5B39F0D3E7D0E235DA0 - - isa - PBXGroup - name - Expecta+Snapshots - path - Expecta+Snapshots - sourceTree - <group> - - 50F87BFDC26A0B4CC6DE06D3ACBD0714 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libMWPhotoBrowser.a - path - libMWPhotoBrowser.a - sourceTree - BUILT_PRODUCTS_DIR - - 5116C7E5987E156AC4BAA9BF327459AD - - fileRef - 9BF2584F8D336EF737485D7396CFBAFF - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 518626B93DA6269F02901D111B4DBF26 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIButton+WebCache.h - path - SDWebImage/UIButton+WebCache.h - sourceTree - <group> - - 518937C0924DA3A3DD216697CED9205F - - fileRef - D615D83AA6E624C9EEFAB11B6DAB4612 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 523087C6D186A9F5BEE78D39F9A78F3F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Pods-MWPhotoBrowser_Example-dummy.m - sourceTree - <group> - - 5289709799A254B807701A658BD9D425 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - UIImage+MWPhotoBrowser.m - sourceTree - <group> - - 53A65E3DDAAB4288F448625574686617 - - fileRef - A59CA631962D8BFBF1D8BA4BA8F1F223 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 53FA1A78374A52A66FBFD0691645BCB8 - - buildActionMask - 2147483647 - files - - B25B4A401CE0322E5FA936642D8E8A36 - E145A7E23B46A8C1E1549511735A041D - DD7BDEE57A8E95F9F327AC87B6A78256 - BEEAFC79B66B12E6D67D140381BE25F2 - 618AF4F15226C5AED0802286F3763EF4 - B52658FC373BA42C6DBF475CAEA30F09 - FFF549D1FBC0937A99BED40CC44BC155 - 760A4E328E68E43D12295FA08F7475FD - 20503FB88D4DCF32DC61DD92AA97A82B - 14BD3072FD1820402768B3D7F2E5B4A5 - FB42B2F11B39412F3015A082008F1782 - E54B859019C3D44B55F4723880F93D4D - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 53FB0CBA14BE53F79F4EB4E7B46C523B - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 56228B3CBF246784930BFE7B29EFDD04 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTCompiledExample.m - path - Specta/Specta/SPTCompiledExample.m - sourceTree - <group> - - 562BE99A6F630E709218EB9B3CF36E90 - - fileRef - 6CF3D336192327338965DC88856BDFCF - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 564C3E7A9D55850E48FAC93F77A7F478 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWPhotoProtocol.h - sourceTree - <group> - - 567A47FABAD9EE8B7DF32295CC53F937 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+endWith.h - path - Expecta/Matchers/EXPMatchers+endWith.h - sourceTree - <group> - - 569060A075537DFE6A4D25D96C98668B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTCompiledExample.h - path - Specta/Specta/SPTCompiledExample.h - sourceTree - <group> - - 56BD615DEEA3BC153C0B73BAC8A60A13 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+endWith.m - path - Expecta/Matchers/EXPMatchers+endWith.m - sourceTree - <group> - - 571096112AA1AD00C10596D216783599 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTExampleGroup.m - path - Specta/Specta/SPTExampleGroup.m - sourceTree - <group> - - 57205495CF13B4EE93B13B7B0E3A1BD2 - - buildConfigurations - - F84C57B89A97BB8108482354FFD8E157 - 9D77DAC945EC22411297CBC957C966F0 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 5728F0AC6D99470A4AF64DA015991D65 - - fileRef - 6347B71E8C22BA00F73AB093F101B7D4 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 5748A5F5926815AF7CCC45FA80943763 - - fileRef - B0329B325C97BC663835390843F985CE - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 574FFB37A8EF309B1A1EB265267DD353 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDownloader.h - path - SDWebImage/SDWebImageDownloader.h - sourceTree - <group> - - 5813251FEA21E4AEE97385709F1912DE - - buildConfigurationList - 9F1294BB80138FB7DEE240DF61EC1523 - buildPhases - - DE0797009C8330FFDB1FC0EB8D2DA9DD - F2BDF8E898C762EFB3844211CE201024 - 9987EAA3314FDCBDC6783C325695E1D8 - - buildRules - - dependencies - - isa - PBXNativeTarget - name - MWPhotoBrowser-MWPhotoBrowser - productName - MWPhotoBrowser-MWPhotoBrowser - productReference - 8261C05543EA69BA5F136A06D5005C50 - productType - com.apple.product-type.bundle - - 589CDFB90C98BF58F34B688A2BEF2D04 - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 589E7F4856ABE929D7FC9F3A9E506FC9 - - baseConfigurationReference - FAF77DDAA41AC524C38F1D92F2EE01AB - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 59DA6D130464A9F97CD181877DD36CB7 - - fileRef - 6B1C830074F8BFC3AE3CB3A5278754A8 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 59E65BF5E40AA0C59E0BBC07807714F1 - - baseConfigurationReference - D5EE5F7C5A846B01ACF225DE04E52196 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MACH_O_TYPE - staticlib - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PODS_ROOT - $(SRCROOT) - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - 5A06D9F124A077FE3345C713135D7E6C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - NSValue+Expecta.m - path - Expecta/NSValue+Expecta.m - sourceTree - <group> - - 5A531485C6A0D185C72E03CD91B49919 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWGridViewController.h - sourceTree - <group> - - 5A859FF87C3507C937241DD78BD95EF3 - - fileRef - 6D7C34F3A270979025E31A50FFFC7F28 - isa - PBXBuildFile - - 5CD9AEB21836919899CDA3A9D9510998 - - buildConfigurations - - 59E65BF5E40AA0C59E0BBC07807714F1 - 5DBFCD132D088BC182C9B82D9A6F90D9 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 5D39CEB65ADB521B117CA181C2BB2C9C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImageView+HighlightedWebCache.h - path - SDWebImage/UIImageView+HighlightedWebCache.h - sourceTree - <group> - - 5DBFCD132D088BC182C9B82D9A6F90D9 - - baseConfigurationReference - B83D4C05E77991780CA69BF68B431DD2 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MACH_O_TYPE - staticlib - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PODS_ROOT - $(SRCROOT) - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 5E350F03F362C03BE32737DDE72D4632 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - QuartzCore.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/QuartzCore.framework - sourceTree - DEVELOPER_DIR - - 5E8F33E777456DA63CA2D902508A9058 - - fileRef - C2CEB9C1175C4FC4D5BE5C6EF285E0A4 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 5EB4F27B76513AE918BA5AE0868E87C8 - - fileRef - EF4D256729962DC82677BF90E861294B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 5EB6A7FF5E92B3E2E96A92367BE4AA32 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 7D9E32DAA93E15CFCF77A5BCD2D4BAA2 - remoteInfo - FBSnapshotTestCase - - 5F4AECEF356E35995112F9167B219AD6 - - fileRef - AF944A6486FDAD944BE766A70129E6D2 - isa - PBXBuildFile - - 5F6D96E64F890BDC4A75B73C3D50A0DD - - fileRef - D68BA9A93FD415E751DFA95CCF7DCB8D - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 5F878B29A406784703BC9F07FBFDD99F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+postNotification.h - path - Expecta/Matchers/EXPMatchers+postNotification.h - sourceTree - <group> - - 60262C4B68C1B0EF7D3E4FADACB10CD7 - - fileRef - 222A85D6DAB7D3AC98EF6D7E68B13740 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 60D3CCEB5B53542228790ABD8885AF42 - - fileRef - 18391089432560093C31CCA48ABB46AE - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 60E1461AAED23D358B1A25A48F9DD77F - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedSmallOff@3x.png - sourceTree - <group> - - 60ECF290B248258F453088B6258302E6 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - DALabeledCircularProgressView.h - path - DACircularProgress/DALabeledCircularProgressView.h - sourceTree - <group> - - 617F18A93D7ABF1322E3C027265893C2 - - baseConfigurationReference - 2055A9E17F10DAA3DD7884DDF96A0A50 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - 618AF4F15226C5AED0802286F3763EF4 - - fileRef - D8619A771228AD0402C4D464E3C6EE53 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 619B0B2F7ACD42F8EF700EAE6D1C95DA - - buildConfigurations - - CB7148E744A9D03AEDC9D4809248999F - 86334F1A4DF0160C4B098EF643AB6E07 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 63010FB3922AB3E2DDD6D8CDD2D10BFA - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+conformTo.m - path - Expecta/Matchers/EXPMatchers+conformTo.m - sourceTree - <group> - - 63327617AD4F38D1236E71968B0991E5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - FBSnapshotTestCase.m - path - FBSnapshotTestCase/FBSnapshotTestCase.m - sourceTree - <group> - - 6347B71E8C22BA00F73AB093F101B7D4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SpectaTypes.h - path - Specta/Specta/SpectaTypes.h - sourceTree - <group> - - 63B3276116DCC036DC3FF64871C5B34A - - fileRef - 9BDA7CB400BA41525D0DAC5E267B2670 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 63D0CD4F0FB5A6103E1DDB46E876CBB6 - - fileRef - 3173089CCB6C063D260C58DD7BA3ABF5 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 64734F2BA63DAFDA24F819EE71704665 - - fileRef - 7323B64F45BBE15A70D98D5E7FBF31C8 - isa - PBXBuildFile - - 659BCA5950BB094273E9E83E7D5271CF - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - E9AAC3590B391F4CFAF5F8348E6A8FE4 - remoteInfo - Specta - - 65F75ED4B34CEDF568441FBC95BA1459 - - fileRef - 244F3301C3C77C58A95FA7864D67858D - isa - PBXBuildFile - - 66081D3480D1FA028C4DE2344BF616D4 - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 661962DFFB8F4AF681F8EA78582EE534 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIButton+WebCache.m - path - SDWebImage/UIButton+WebCache.m - sourceTree - <group> - - 664FB9826D0F046AB6CE15196CC120B7 - - fileRef - A1BF1E794449AF3F514B2EE3C85F4B10 - isa - PBXBuildFile - - 66D391F04A8D672C0D42510DE811E7B2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - NSObject+Expecta.h - path - Expecta/NSObject+Expecta.h - sourceTree - <group> - - 6772D2471C34E5B39F0D3E7D0E235DA0 - - children - - FAF77DDAA41AC524C38F1D92F2EE01AB - 785A993DF42B3ABEF658B85E1F47663F - F5551459CFCB6B7914E9EC1783277D94 - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/Expecta+Snapshots - sourceTree - <group> - - 67BBF4202A90EC070C5EBE20B57A0255 - - fileRef - 1AFDF0F0EF2A314336EACA38FCC6F784 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 688EFB46F8559BD675FD06384ABA49E1 - - fileRef - C162177585DC8E186D24CADCC233B0EA - isa - PBXBuildFile - - 68F141757E1606330C04FEBE78CBCE4E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text - path - Pods-MWPhotoBrowser_Tests-acknowledgements.markdown - sourceTree - <group> - - 691CE6B20E64762C98682B93B31435E7 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTSpec.h - path - Specta/Specta/SPTSpec.h - sourceTree - <group> - - 6924E116731D7079958063A3EE0781ED - - fileRef - 6ED6BE9A61002A3AF6D4C834E2277D8C - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 69363A59A4E2FF95D6A62AA88641A20A - - fileRef - 0B7E61991D03B44046913BF3B345F4DB - isa - PBXBuildFile - - 69C3D12EC1F2F8AE628C05AC390D9D61 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWCommon.h - sourceTree - <group> - - 69DC2FB163EAB23712D9C3C13C72518E - - fileRef - C77F8C54B4042EC0746E5D285E7D400A - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 69EBB956302554EA37775F4D806BC4DD - - fileRef - 3DA2CF997A09E53F375CF0DEEF25AFCF - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 6A4E3ACA285A21392936C110E7EC91F0 - - fileRef - 7AAD7709C9FF6828905D6A28E69C4221 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 6B1C830074F8BFC3AE3CB3A5278754A8 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImage+GIF.m - path - SDWebImage/UIImage+GIF.m - sourceTree - <group> - - 6C8B1153C440825B90681905FC2F85B9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWTapDetectingImageView.h - sourceTree - <group> - - 6C92311B12AB812820A4267248D69CCB - - children - - 2055A9E17F10DAA3DD7884DDF96A0A50 - 079AA0CF857B4A46F161666C58867CE1 - BA4C6CCE8BCEAFA07BB2679C87A008C5 - - isa - PBXGroup - name - Support Files - path - Example/Pods/Target Support Files/MWPhotoBrowser - sourceTree - <group> - - 6C982719FDCF6684EB752A0153066FC3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDecoder.m - path - SDWebImage/SDWebImageDecoder.m - sourceTree - <group> - - 6CA9CE30C9B7FD5557F8DD0E06209E36 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedOff.png - sourceTree - <group> - - 6CD36438CB08D280978CEE50363D8B8B - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libExpecta+Snapshots.a - path - libExpecta+Snapshots.a - sourceTree - BUILT_PRODUCTS_DIR - - 6CD3EC2C1FBF5655137A99638E9CC950 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - MediaPlayer.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/MediaPlayer.framework - sourceTree - DEVELOPER_DIR - - 6CF3D336192327338965DC88856BDFCF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+haveCountOf.m - path - Expecta/Matchers/EXPMatchers+haveCountOf.m - sourceTree - <group> - - 6D37BEAA1FC469C3582CACB4E9766502 - - fileRef - EC9E28E1F941952C6708902F41FD209D - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 6D7C34F3A270979025E31A50FFFC7F28 - - includeInIndex - 1 - isa - PBXFileReference - path - PlayButtonOverlayLargeTap.png - sourceTree - <group> - - 6D8154E68B3360EE1C8DA3A4443096F3 - - isa - PBXTargetDependency - name - SDWebImage - target - DE3B07ED7FF04F506B0C5E00F4973589 - targetProxy - 216D98400141172993D43965B937A9C6 - - 6E43863A0284BCD9B517C3AE49207A9D - - buildActionMask - 2147483647 - files - - 9D6E638E56BDAD3C2196ED9C28FAF857 - 1DD364708B768EB7C94DD9BB48F217F4 - 723DCD855EFE5AC009B1D2FFE88373C7 - 5748A5F5926815AF7CCC45FA80943763 - 164BD2AFD03035E623A90DF1AA095C35 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 6EB2498C2AFB1DF8555CB7C1EF89CA5C - - fileRef - F5963246D32249D4D198CE8A36B4DD12 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 6ED6BE9A61002A3AF6D4C834E2277D8C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers.h - path - Expecta/Matchers/EXPMatchers.h - sourceTree - <group> - - 6EEA87D8E87914D02AA319693371EE2C - - fileRef - AABA7597E19FD75C9F320BCD6BB2759E - isa - PBXBuildFile - - 6F1FCA0BD48258CDEC1B14D704BA3E5D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Pods-MWPhotoBrowser_Tests.debug.xcconfig - sourceTree - <group> - - 6FAC17B355970FC2EBFADA7C72544799 - - buildActionMask - 2147483647 - files - - D041545E1DB9D43FCBB294B7E9573AFF - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 700F6F4AFED22AEAA1D8943236F94924 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatcher.h - path - Expecta/EXPMatcher.h - sourceTree - <group> - - 70545E4EA86C6E593A2A9F6731DA8F6D - - fileRef - 10E68FD4A81F628778B6A4992DB9D952 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 70922EF029715CA28E814F87373F29C4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+equal.m - path - Expecta/Matchers/EXPMatchers+equal.m - sourceTree - <group> - - 70D801E0B95C23BCC270E4EC8659D463 - - fileRef - DB7D9B8599935A5FF3862B90E049CABD - isa - PBXBuildFile - - 717B38CC8B651B61F35E12EE4211DAF0 - - baseConfigurationReference - 2055A9E17F10DAA3DD7884DDF96A0A50 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - PRODUCT_NAME - MWPhotoBrowser - SDKROOT - iphoneos - SKIP_INSTALL - YES - WRAPPER_EXTENSION - bundle - - isa - XCBuildConfiguration - name - Debug - - 71865C216F48AC822D486C8D9B03B13C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beSubclassOf.h - path - Expecta/Matchers/EXPMatchers+beSubclassOf.h - sourceTree - <group> - - 719353E5F5BDD19B2D80B273F365F2BF - - children - - 25003C5ED979935F9483683DD2350697 - - isa - PBXGroup - name - Development Pods - sourceTree - <group> - - 71BC183B1FB7AB5F8CF9A3383C6B354C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.script.sh - path - Pods-MWPhotoBrowser_Example-frameworks.sh - sourceTree - <group> - - 722090AAE01BA442E883E6F02AA8DF40 - - buildConfigurationList - 8BEDD694C8600B014302155F48FD5B08 - buildPhases - - A07F4B785B315E5B075218A988F05149 - 6FAC17B355970FC2EBFADA7C72544799 - - buildRules - - dependencies - - 0B8D4914244FCBC9DCAF2B9AD09F3DD5 - 0EAAE557DE1A2949F0793F1230D1D046 - 1CCE02DFD89EF9B58809C379D0496685 - 9F0508C4938477BDB11EAF1F3A6960E7 - 01F58E863C79FB5A8433D92837FFE619 - A815E988348FB8A8B609F012516ABD15 - D359D2CDD896874DAD7B6D2EF3FEE26D - 13EA87F4C750EBB98261F8ED14EFE770 - - isa - PBXNativeTarget - name - Pods-MWPhotoBrowser_Tests - productName - Pods-MWPhotoBrowser_Tests - productReference - E0EBF0357895E0C657A233A9D4D0E2C1 - productType - com.apple.product-type.library.static - - 723DCD855EFE5AC009B1D2FFE88373C7 - - fileRef - 8E108520195BF6568A4A53786EA7B6F0 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 7250BEF99A7686EAB50B17986FDCED3E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+match.m - path - Expecta/Matchers/EXPMatchers+match.m - sourceTree - <group> - - 730E6CDCF09A029F8976D82EB7DACCF2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWCaptionView.m - sourceTree - <group> - - 7323B64F45BBE15A70D98D5E7FBF31C8 - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemArrowRight@3x.png - sourceTree - <group> - - 7357CD98F48585C602A75C901AD5E096 - - buildActionMask - 2147483647 - files - - 63B3276116DCC036DC3FF64871C5B34A - 34B2272FAB199A0B69B898BFB9E733E1 - 33985216BF501EDD56E784D7CAD32FE7 - EDDE097EFD40E9A4E32E4B44C97CE44B - 29E4E0528D088AE8B2EE6D38E19D375E - 53A65E3DDAAB4288F448625574686617 - 29B6CC3E1560257A444A209D97AC271E - 2BFB267A4274D5D4B277138F9D4EEDA1 - DC1F1DBD53679CB78C5967BA9DEC08CA - 3F1E0CB31108E6E996D2E7418FE21D2E - 59DA6D130464A9F97CD181877DD36CB7 - B28719F6B1978267C407032A2AE646F8 - DFAB389ECAD69BF8BE6357CFADABBF5C - 7D3B3786F1D6CED2CE141B2B1BDAE012 - F3BB0A963277282C6BF73E81250B6943 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 7389D03E90A74E5A200DD5ADBB209885 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - DACircularProgress.xcconfig - sourceTree - <group> - - 7436C602BB1CA7C91560C28DE749357B - - fileRef - F9B2375A6E20F2774E7B3F08FB92909E - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 746A80915CF52BE732D200BAA851FBAB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beLessThanOrEqualTo.m - path - Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.m - sourceTree - <group> - - 74707D5ABEC55B3084F52C40A4227B06 - - fileRef - 2779B434631901F1434BC316E3FB5AE9 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 74A9CCFEBE692130454C41959EBA5254 - - fileRef - 8A00437F88A0C89CD672C2085CCCF62B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 7599165E41821009340AA99FDAC29AE0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDownloaderOperation.m - path - SDWebImage/SDWebImageDownloaderOperation.m - sourceTree - <group> - - 75F83323F205A277BEC18AABDA0FA739 - - includeInIndex - 1 - isa - PBXFileReference - path - PlayButtonOverlayLarge@3x.png - sourceTree - <group> - - 760A4E328E68E43D12295FA08F7475FD - - fileRef - 564C3E7A9D55850E48FAC93F77A7F478 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 76331E71086C8CD5118A69B046D8F0FB - - fileRef - 567A47FABAD9EE8B7DF32295CC53F937 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 76C42C41A4B61435A3315770F58154B2 - - fileRef - 8F3064A5B520D1E4290AA240A05B7D6F - isa - PBXBuildFile - - 779CFE8771E1EF63F1313ABEBCECAA4A - - fileRef - 15082EF0D1C2F7B77B63E0116BDA622C - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 785A993DF42B3ABEF658B85E1F47663F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Expecta+Snapshots-dummy.m - sourceTree - <group> - - 78759DF877B83416A90AA2BC606BF7ED - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImagePrefetcher.m - path - SDWebImage/SDWebImagePrefetcher.m - sourceTree - <group> - - 788D548DE837CA2FA9D2D744D64FA847 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+raise.m - path - Expecta/Matchers/EXPMatchers+raise.m - sourceTree - <group> - - 79996E262256F57DB50CD16E5EBE5D52 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatcherHelpers.h - path - Expecta/Matchers/EXPMatcherHelpers.h - sourceTree - <group> - - 79D73FB4B6A3C92513B81243EA72E78C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+match.h - path - Expecta/Matchers/EXPMatchers+match.h - sourceTree - <group> - - 7AAD7709C9FF6828905D6A28E69C4221 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPDefines.h - path - Expecta/EXPDefines.h - sourceTree - <group> - - 7AC91F55DAAA2F0223A97BEFF8BCAF68 - - fileRef - D09A95F4452843967F4C8F3FA5EC1A68 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 7CF892960748F43245AD2B5CD2AC41A5 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libSpecta.a - path - libSpecta.a - sourceTree - BUILT_PRODUCTS_DIR - - 7D3B3786F1D6CED2CE141B2B1BDAE012 - - fileRef - A2B692D3F450E25A5D8B17F524EA0720 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 7D56DF05F0071D94121A050CDB772D56 - - fileRef - 818AFFCC037C608492FAE59C7C3E85C0 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 7D8198AD59277CB0379442369CF5247E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWCaptionView.h - sourceTree - <group> - - 7D901800D8324F9F338B54CA286AD771 - - fileRef - D2307EC60BB4D23E49C1420E6F192943 - isa - PBXBuildFile - - 7D9E32DAA93E15CFCF77A5BCD2D4BAA2 - - buildConfigurationList - 189B7D1A1C865073D7F999A759ACD292 - buildPhases - - 9C03752CBF78921009132B656CF36184 - 46A2CE1545DEBE5FE9DF073C8EBFE2F0 - 6E43863A0284BCD9B517C3AE49207A9D - - buildRules - - dependencies - - isa - PBXNativeTarget - name - FBSnapshotTestCase - productName - FBSnapshotTestCase - productReference - D52C083C7341E76797DB059849542613 - productType - com.apple.product-type.library.static - - 7DACEAF8582049D6EB8B4CFFB6CA48CD - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beGreaterThan.m - path - Expecta/Matchers/EXPMatchers+beGreaterThan.m - sourceTree - <group> - - 7DB346D0F39D3F0E887471402A8071AB - - children - - BA6428E9F66FD5A23C0A2E06ED26CD2F - 719353E5F5BDD19B2D80B273F365F2BF - F4CDA5FA9197A41E0081E84F932906EB - 9D89C03F805626896F95FA71887D578C - 9142D907B715CE18385E00AB1972B1BD - 29062DA699B861B896758C5A677765BD - - isa - PBXGroup - sourceTree - <group> - - 7E05296687CBD4F8C77EA450EEAB7B60 - - fileRef - ABDF044BC66387B0E03E70BAC09D0AC8 - isa - PBXBuildFile - - 7FEE0E8D094D7BCCAC7129473EE05ADC - - fileRef - 788D548DE837CA2FA9D2D744D64FA847 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 8059E5674B08670B0A002D564FFABF44 - - fileRef - 70922EF029715CA28E814F87373F29C4 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 805AE44C01D7936BA8A238C6C5C4807D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Specta.xcconfig - sourceTree - <group> - - 809101940909F56A7B70CE17D447640B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beLessThanOrEqualTo.h - path - Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h - sourceTree - <group> - - 8136A5BFC35DA48ABC2C0D94EA79B7F0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPFloatTuple.h - path - Expecta/EXPFloatTuple.h - sourceTree - <group> - - 818AFFCC037C608492FAE59C7C3E85C0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTExampleGroup.h - path - Specta/Specta/SPTExampleGroup.h - sourceTree - <group> - - 8261C05543EA69BA5F136A06D5005C50 - - explicitFileType - wrapper.cfbundle - includeInIndex - 0 - isa - PBXFileReference - name - MWPhotoBrowser.bundle - path - MWPhotoBrowser.bundle - sourceTree - BUILT_PRODUCTS_DIR - - 82AC9861A9FE0BEFEC04D31C3B05ABB2 - - fileRef - 40D39B6435EEF47A85F4E3FB684E72FE - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 82FC12F67E83874B93592218E9FB4CA0 - - fileRef - 427921605A450AEF67D129DACCD87BED - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 8439940A3793CF65B24F4185E04317D8 - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemGrid@2x.png - sourceTree - <group> - - 85A6795A5CD0C6DEA1F648AD0E6D1248 - - baseConfigurationReference - 2055A9E17F10DAA3DD7884DDF96A0A50 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 862018A7CC10880108A2BDC5146C8F3F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beInTheRangeOf.h - path - Expecta/Matchers/EXPMatchers+beInTheRangeOf.h - sourceTree - <group> - - 86334F1A4DF0160C4B098EF643AB6E07 - - baseConfigurationReference - 7389D03E90A74E5A200DD5ADBB209885 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/DACircularProgress/DACircularProgress-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 865FAF448207E691D600F40C4ACF7C58 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPUnsupportedObject.h - path - Expecta/EXPUnsupportedObject.h - sourceTree - <group> - - 866569443B7D10AB5D6DC7FC0830235B - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - 86A1ADA0F8A843FA09BFF9142BEF76D5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Expecta.xcconfig - sourceTree - <group> - - 872948DAF79618AD725E0BF364E5DDD4 - - fileRef - 5A06D9F124A077FE3345C713135D7E6C - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - 87A80C8B1F0C635DA56B74807AE426D9 - - fileRef - 2ACE82A15131DC569A786CB49EFD1804 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 886428740DB164747FBA1935F65900DF - - buildActionMask - 2147483647 - files - - EFE77B95F063C96D9B07BC2A988AB403 - B6CB1D947CABAFFCEFC7F94006CB7AD4 - 319D6926D1261EB1150D83F672CCA35E - 00518063767430EDC47FCC49F4409458 - 4CFCAA497A77475D017F781F8241A4C0 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 8952D588C0E5AD12FD9CF3747FD061F2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWTapDetectingView.h - sourceTree - <group> - - 8A00437F88A0C89CD672C2085CCCF62B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageCompat.h - path - SDWebImage/SDWebImageCompat.h - sourceTree - <group> - - 8B2FFB12DD1404D98DCA25509B11611E - - fileRef - 1A1E6F8D4C651A22BB8CCEF1226FB1EE - isa - PBXBuildFile - - 8B97E5CA574F06B315C5F1D27B25DEFB - - fileRef - 785A993DF42B3ABEF658B85E1F47663F - isa - PBXBuildFile - - 8BEDD694C8600B014302155F48FD5B08 - - buildConfigurations - - ECE81C5981477AA7D254ACC70534BE23 - BFD984F9AF4C47EDD370C631057D40E8 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 8C4EC29461A90C294949DAE717A1BEC5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - EXPMatchers+FBSnapshotTest.m - sourceTree - <group> - - 8C4ECAE46CD3BCB39F38F4FF20D074F6 - - fileRef - 0B7E61991D03B44046913BF3B345F4DB - isa - PBXBuildFile - - 8D8B7C183B18D82F1958BB3115798433 - - buildConfigurations - - C0593046ABD536BD086B85302FA897DF - CC01A834786EDBE30D7011502AE0F9B3 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 8DC04A9EEA14F0D2300FB6C0CAEB9CAB - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemArrowRight@2x.png - sourceTree - <group> - - 8DF90D623F7F9015EEE9F1D7FEE7E053 - - fileRef - 0A924BC847BA99EBCBD0588603448B05 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 8E108520195BF6568A4A53786EA7B6F0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - FBSnapshotTestController.h - path - FBSnapshotTestCase/FBSnapshotTestController.h - sourceTree - <group> - - 8E485F27A3C78223FB086075C2974A49 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - NSData+ImageContentType.h - path - SDWebImage/NSData+ImageContentType.h - sourceTree - <group> - - 8EE5D8EDB6C595B190E81B76D3190EB3 - - isa - PBXTargetDependency - name - MBProgressHUD - target - FE2F1D7B9D9FCEA148517E4657B243F4 - targetProxy - D7B59E66FA2C765426650ADECEF955EF - - 8F2B443FA0D511403E4DA2A79DB3302A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTSharedExampleGroups.m - path - Specta/Specta/SPTSharedExampleGroups.m - sourceTree - <group> - - 8F3064A5B520D1E4290AA240A05B7D6F - - includeInIndex - 1 - isa - PBXFileReference - path - VideoOverlay.png - sourceTree - <group> - - 8F674582EE71972EE60EFD96C1F173D5 - - fileRef - 0683DF2C9B7FC27B576AB4B7B3B146ED - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 9019F9233E2A8B04A82C1B8D0274F09F - - fileRef - 9A9B45D988FA49FD87F8587C42403EC5 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 904DB6CCA2AAC8D7B3245ED9628E865A - - fileRef - 691CE6B20E64762C98682B93B31435E7 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 90C5595E0565CBEBB42EFEBB157FF619 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - DE3B07ED7FF04F506B0C5E00F4973589 - remoteInfo - SDWebImage - - 9142D907B715CE18385E00AB1972B1BD - - children - - CEFDBDB8900789B0FFB86EBB7065BC62 - ADEAC9FE1270035973745D0EB3B84395 - 6CD36438CB08D280978CEE50363D8B8B - D52C083C7341E76797DB059849542613 - D7F1441E30E059AC17B4C1CE1464C07B - 50F87BFDC26A0B4CC6DE06D3ACBD0714 - 4D720BB8AE19E427E58843509B28FEB6 - E0EBF0357895E0C657A233A9D4D0E2C1 - C5284B0E2549CD42E31F469FB8B92DA8 - 7CF892960748F43245AD2B5CD2AC41A5 - 8261C05543EA69BA5F136A06D5005C50 - - isa - PBXGroup - name - Products - sourceTree - <group> - - 91E14C244388DE830AA1C4AE88415F76 - - fileRef - BA9181C8B2773795F2EACBDE286994AD - isa - PBXBuildFile - - 92F064516748B6AA4C6E303A38C3FE6A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPExpect.m - path - Expecta/EXPExpect.m - sourceTree - <group> - - 9374BBB3BA16684D1B858CCC9C3E2D8A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - Pods-MWPhotoBrowser_Example-acknowledgements.plist - sourceTree - <group> - - 93CF7F496E727D827BED2105B65D2073 - - fileRef - E4436D58F27EAC932F3CC2A7619D5FD3 - isa - PBXBuildFile - - 94A310E9C2919B9904E9AFBD2837C2B9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWTapDetectingView.m - sourceTree - <group> - - 956FB3AB698AF3DA776A9F24AA79C229 - - fileRef - 66D391F04A8D672C0D42510DE811E7B2 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 9604D510A96A637DD9AE0D304B68A5A2 - - includeInIndex - 1 - isa - PBXFileReference - path - VideoOverlay@3x.png - sourceTree - <group> - - 96AE2267633A27498E5D45052BDD5BBA - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 9775596B3CA16905FC8F66DA8E2A3C67 - remoteInfo - DACircularProgress - - 9775596B3CA16905FC8F66DA8E2A3C67 - - buildConfigurationList - 619B0B2F7ACD42F8EF700EAE6D1C95DA - buildPhases - - A6993E0B001E6EB572176DFCF9B87C6A - F2A9AAC03867BB4990470BAC5912E030 - 1246A1C00980422020A6884856143651 - - buildRules - - dependencies - - isa - PBXNativeTarget - name - DACircularProgress - productName - DACircularProgress - productReference - CEFDBDB8900789B0FFB86EBB7065BC62 - productType - com.apple.product-type.library.static - - 97B5429A3CE99BA07086198F10CCE615 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - E2FE87384A67337831E53490EEA8BF11 - remoteInfo - MWPhotoBrowser - - 97E91EC237B8623D895DBF6092034AD7 - - fileRef - 862018A7CC10880108A2BDC5146C8F3F - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 981F3EB0C06E97770D2421E673B013A1 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+contain.h - path - Expecta/Matchers/EXPMatchers+contain.h - sourceTree - <group> - - 9839B551DAF141B99431C2238C8EEBC0 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - AssetsLibrary.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/AssetsLibrary.framework - sourceTree - DEVELOPER_DIR - - 990C6F27E60B10F0E4BA0674D80F546B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - Expecta-prefix.pch - sourceTree - <group> - - 9933B0F6DA01EDF804C19260E9515E65 - - fileRef - 0B7E61991D03B44046913BF3B345F4DB - isa - PBXBuildFile - - 9987EAA3314FDCBDC6783C325695E1D8 - - buildActionMask - 2147483647 - files - - E287D744F886B15E1060AFEA475FC727 - 7E05296687CBD4F8C77EA450EEAB7B60 - 91E14C244388DE830AA1C4AE88415F76 - 4DCDDE359E1F3BB419E0F7E9DD12CBB6 - BE6668D2527C0063CE1C755190A7596F - 7D901800D8324F9F338B54CA286AD771 - F26631BB63543446C157972F2F6D1475 - FBADF2C12D471003AEB710314DA3FF49 - FAC85E18FE868D87FFB2E13C182F4DB9 - 1E08912939425D011D7C47713E6CDAF0 - 65F75ED4B34CEDF568441FBC95BA1459 - B9051EB6C3E749E2F0538ABF5076D0BE - EDC1E77817E2D0252126B98EB0206A62 - 93CF7F496E727D827BED2105B65D2073 - A14C97547283B618AE64053DD92BB395 - F2168F9F63056AC8BFB344608C4158BE - 8B2FFB12DD1404D98DCA25509B11611E - F314DFE6C76A8EEBC3D8CAF03EB89850 - 5A859FF87C3507C937241DD78BD95EF3 - 051AA4E51A019933DD1E5CE99CD7352A - A2406F04BC69905BAB01C77F8073B55D - E99804B4B10C0A5C7C08E5EF962804CE - FC1FB976E1C29A75089D2374BDFCCC44 - 105B37778FEED1965C8D0AF4C9E4B4F1 - AB0885F8524D9BE85FDEA8BF30520D43 - F88B870D7D0531FB54EAD23EB162DB70 - 64734F2BA63DAFDA24F819EE71704665 - 688EFB46F8559BD675FD06384ABA49E1 - C1814AA3C422738CF4B8DC63539CCD3E - BB3A5C6A66C23862172BF9BED9BC8200 - 76C42C41A4B61435A3315770F58154B2 - D3C785493044AF463085D75F2E9D4FEE - E97CDC7A1DFD18DAAD3C505929F32105 - - isa - PBXResourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 999D9522F4AD2757D76E2BC0D6606B4A - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 5813251FEA21E4AEE97385709F1912DE - remoteInfo - MWPhotoBrowser-MWPhotoBrowser - - 9A086D9BE521AADC7C972AE3D9CD5B48 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - Specta.h - path - Specta/Specta/Specta.h - sourceTree - <group> - - 9A9B45D988FA49FD87F8587C42403EC5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beSupersetOf.h - path - Expecta/Matchers/EXPMatchers+beSupersetOf.h - sourceTree - <group> - - 9AF3FD4A822DCF644AB50D3967C43C14 - - buildActionMask - 2147483647 - files - - B6B32565B1C26404789EEFCF37B7C225 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 9B546D0F895D9B5A8316B948CEE95C77 - - fileRef - 29E6F040DB8ACF8886F7FE628840C480 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 9BDA7CB400BA41525D0DAC5E267B2670 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - NSData+ImageContentType.m - path - SDWebImage/NSData+ImageContentType.m - sourceTree - <group> - - 9BF2584F8D336EF737485D7396CFBAFF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SpectaDSL.h - path - Specta/Specta/SpectaDSL.h - sourceTree - <group> - - 9C03752CBF78921009132B656CF36184 - - buildActionMask - 2147483647 - files - - 45548268D1B9EE9D37731231D940A591 - 4463CD014E8C258B7F8BF0FD64901B8F - 664FB9826D0F046AB6CE15196CC120B7 - A245A84584833A620D85A9C8285C71A1 - 1186EC1A35306EBBA8C3DE66F0973361 - AB5E9DFDA102BB04CB66FC61E01085B0 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - 9C8319C4AFAB3CAE3C7314EAD8D1AB34 - - fileRef - F3FAB75D28A2755E4F9F79FB9F2AF5DB - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - 9C95EBE1D39EEFE5E6404691C95BE2E2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.script.sh - path - Pods-MWPhotoBrowser_Tests-resources.sh - sourceTree - <group> - - 9D5AE460F3B78B02A8AE8E5AD0DCC013 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+contain.m - path - Expecta/Matchers/EXPMatchers+contain.m - sourceTree - <group> - - 9D6702575943BF5C71AD0E2299CB53E2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWPhotoBrowser.h - sourceTree - <group> - - 9D6E638E56BDAD3C2196ED9C28FAF857 - - fileRef - E348B132ABCC246013AE3A5532BC609F - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - 9D77DAC945EC22411297CBC957C966F0 - - baseConfigurationReference - 86A1ADA0F8A843FA09BFF9142BEF76D5 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/Expecta/Expecta-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - 9D89C03F805626896F95FA71887D578C - - children - - F629BC640170D45C22A8048A42BAB040 - F6E655732BA75BED75FFACA472080CC4 - 505D7B9189B81314EF02A1E9479972D0 - A22495C61077EFF6CD10B8B82AFA964B - C833942945CF274906A18C8D4BAAE480 - 2FD7E39AFBAB884FA64CFB5DBDFA1F7B - D8BBE4506E8863FF1D2FA4058580F0C8 - - isa - PBXGroup - name - Pods - sourceTree - <group> - - 9E58B396BFA804075E0FCC2D7E764BA6 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImageView+HighlightedWebCache.m - path - SDWebImage/UIImageView+HighlightedWebCache.m - sourceTree - <group> - - 9E907D6C90793FF2CC5533F151827418 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - DE3B07ED7FF04F506B0C5E00F4973589 - remoteInfo - SDWebImage - - 9F0508C4938477BDB11EAF1F3A6960E7 - - isa - PBXTargetDependency - name - FBSnapshotTestCase - target - 7D9E32DAA93E15CFCF77A5BCD2D4BAA2 - targetProxy - 5EB6A7FF5E92B3E2E96A92367BE4AA32 - - 9F080C1D1A758D0A874B7345BE67EC81 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 9775596B3CA16905FC8F66DA8E2A3C67 - remoteInfo - DACircularProgress - - 9F1294BB80138FB7DEE240DF61EC1523 - - buildConfigurations - - 717B38CC8B651B61F35E12EE4211DAF0 - B74838FB9BEB33B6489F58D787E2A6A4 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - 9F19BCDE9BF6E330E14588598DFC6337 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.plist.xml - path - Pods-MWPhotoBrowser_Tests-acknowledgements.plist - sourceTree - <group> - - A07F4B785B315E5B075218A988F05149 - - buildActionMask - 2147483647 - files - - 060435B6E32CF028837E209B20E10639 - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - A09DD0AB6A512D74E5628070EBD56026 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - ImageIO.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/ImageIO.framework - sourceTree - DEVELOPER_DIR - - A0BA05DFEF00406DC4E8898D36D7418D - - fileRef - A8B86384F8C46CE8544B59FEB6C657F5 - isa - PBXBuildFile - - A0C76077A20E75ED950BF4F88A252F83 - - buildActionMask - 2147483647 - files - - 34F30E1314EC4C287E6B89477C2D0FB4 - 3B332CC633C291A7A96AD0922CFD8AB0 - 74A9CCFEBE692130454C41959EBA5254 - 69DC2FB163EAB23712D9C3C13C72518E - 0EF1CB072B5DE5D0A4EE7053EB0E2364 - C16C9E56CBDDE2AD1FCF3EFFF3127C20 - 60262C4B68C1B0EF7D3E4FADACB10CD7 - 518937C0924DA3A3DD216697CED9205F - 0498B98EB393D71314953683060EFD58 - D791C7B718024D8AED15BE84AA2FAAD0 - A14B4E9F94C0A0EC1EE0AE8BFE030787 - F9B0A541E338684F945B7539D802CF64 - 0DC4183837552F23710F86F9A032C574 - 3939EE53B37025D6F0E05FF8A4C7DCF0 - 311D5C7B166178CCB79CFD7E8DD4F641 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - A1195ED094D0C8B66BB073959AA2ACCD - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWZoomingScrollView.m - sourceTree - <group> - - A14B4E9F94C0A0EC1EE0AE8BFE030787 - - fileRef - 4CFA073D420411E3535ABA966BEE98CC - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - A14C97547283B618AE64053DD92BB395 - - fileRef - CB3EA5CC56581FD52BDBA0179D956E7B - isa - PBXBuildFile - - A1BF1E794449AF3F514B2EE3C85F4B10 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - FBSnapshotTestCasePlatform.m - path - FBSnapshotTestCase/FBSnapshotTestCasePlatform.m - sourceTree - <group> - - A2118778317DA37C36420E58FB3923B3 - - buildConfigurationList - 5CD9AEB21836919899CDA3A9D9510998 - buildPhases - - F0A8CE7CF766D19972CF0934C1652293 - A4AB49CB62EB99071274FD6937EE5352 - - buildRules - - dependencies - - B55362A439917186B971EF580B391A1B - 2D5EE41C6DDBA8F159EEA954F335387A - 1B030B50B68FB0D602F2E4B1685FA9BA - 6D8154E68B3360EE1C8DA3A4443096F3 - - isa - PBXNativeTarget - name - Pods-MWPhotoBrowser_Example - productName - Pods-MWPhotoBrowser_Example - productReference - 4D720BB8AE19E427E58843509B28FEB6 - productType - com.apple.product-type.library.static - - A22495C61077EFF6CD10B8B82AFA964B - - children - - E348B132ABCC246013AE3A5532BC609F - 63327617AD4F38D1236E71968B0991E5 - D54993E311EDD8802711B01895286E4E - A1BF1E794449AF3F514B2EE3C85F4B10 - 8E108520195BF6568A4A53786EA7B6F0 - 0043FDF25F85C0B2C11CEAE6B1C54D87 - B0329B325C97BC663835390843F985CE - B0DFED38A647950C79B13061F923258C - 3B5A7151F8E4FBFE54BF6C2AC80958FA - DD5F3D6C4044A157839220B037A055E8 - 148F0DEDC306B5A6D48931EFD279E456 - - isa - PBXGroup - name - FBSnapshotTestCase - path - FBSnapshotTestCase - sourceTree - <group> - - A2406F04BC69905BAB01C77F8073B55D - - fileRef - 3EF2F2E1AF840BA0B6AD13D59AA5F80C - isa - PBXBuildFile - - A245A84584833A620D85A9C8285C71A1 - - fileRef - 0043FDF25F85C0B2C11CEAE6B1C54D87 - isa - PBXBuildFile - - A26F992E8831118311F3DB7CB830595A - - fileRef - FFC94BC21DE6B02A85C4BA9B703D222D - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - A2B692D3F450E25A5D8B17F524EA0720 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImageView+WebCache.m - path - SDWebImage/UIImageView+WebCache.m - sourceTree - <group> - - A4AB49CB62EB99071274FD6937EE5352 - - buildActionMask - 2147483647 - files - - 0364DCB58A865A2830638D2C0CCED41C - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - A59CA631962D8BFBF1D8BA4BA8F1F223 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDWebImageDownloader.m - path - SDWebImage/SDWebImageDownloader.m - sourceTree - <group> - - A65C491577A425AF82C53F4A40A0A24B - - fileRef - 1AB26E75F7BCD415D6AD6B8BA5F03DDB - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - A6854D311D55E2BBD8BFCE4E82DF3EA9 - - fileRef - BA9D20AF1E1E4CF225AA2D772049336D - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - A6993E0B001E6EB572176DFCF9B87C6A - - buildActionMask - 2147483647 - files - - 5F4AECEF356E35995112F9167B219AD6 - 82AC9861A9FE0BEFEC04D31C3B05ABB2 - EF9006327AFFDBED3FD589DA04E2D36A - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - A6A21F67B2A713138BF1A404E3460084 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Expecta-dummy.m - sourceTree - <group> - - A6FD2A9ACF0632CB41BE9AF1A13BD166 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 2F501FE84845EAD97B9087DAFCBBEE0E - remoteInfo - Expecta - - A7141BC83638F4B38D4D312BAE3BDAC4 - - fileRef - 1BB15402D8C2FB01A198273BA1991DED - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - A815E988348FB8A8B609F012516ABD15 - - isa - PBXTargetDependency - name - MWPhotoBrowser - target - E2FE87384A67337831E53490EEA8BF11 - targetProxy - 97B5429A3CE99BA07086198F10CCE615 - - A8490A46CB5206BCA5F90FCFBA2D731E - - fileRef - 79996E262256F57DB50CD16E5EBE5D52 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - A8B86384F8C46CE8544B59FEB6C657F5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWGridViewController.m - sourceTree - <group> - - AA7B402D31D86AE5E3DD083408311FF1 - - fileRef - E4AD00C4B132C99837C22CC9031DE9F8 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - AABA7597E19FD75C9F320BCD6BB2759E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWPhotoBrowser.m - sourceTree - <group> - - AAE75938ED3DD46BC00352B82D7CA890 - - fileRef - B2CBEFFA54424B8FBBE1EB23EC879E69 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - AAF71AC633AFEC1D271F81DA183E75F0 - - fileRef - 9A086D9BE521AADC7C972AE3D9CD5B48 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - AB0885F8524D9BE85FDEA8BF30520D43 - - fileRef - BDD78DD77E210708F222D40A2FDE75B1 - isa - PBXBuildFile - - AB1D6408D48F6ECF3FCE553BE73961F5 - - fileRef - 2E7CBF297AA8A0E93C23BFAF1BE94DEE - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - AB5E9DFDA102BB04CB66FC61E01085B0 - - fileRef - DD5F3D6C4044A157839220B037A055E8 - isa - PBXBuildFile - - AB8960E6933BD274C11AD9C15CF410AF - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+haveCountOf.h - path - Expecta/Matchers/EXPMatchers+haveCountOf.h - sourceTree - <group> - - ABDF044BC66387B0E03E70BAC09D0AC8 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageError@2x.png - sourceTree - <group> - - AD198F3513AFD6128A50C356DC253545 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Specta-dummy.m - sourceTree - <group> - - AD6791D14732A3C17164F61CC72FFB0D - - fileRef - AE917511985F6891AF3F8233B9D34001 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - ADEAC9FE1270035973745D0EB3B84395 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libExpecta.a - path - libExpecta.a - sourceTree - BUILT_PRODUCTS_DIR - - AE1B7431EAFB4D89A49A9DAD35DBE790 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImageView+WebCache.h - path - SDWebImage/UIImageView+WebCache.h - sourceTree - <group> - - AE6C39B87AE391EC710DA8FB520ED3F5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWZoomingScrollView.h - sourceTree - <group> - - AE917511985F6891AF3F8233B9D34001 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beGreaterThanOrEqualTo.m - path - Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.m - sourceTree - <group> - - AF944A6486FDAD944BE766A70129E6D2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - DACircularProgress-dummy.m - sourceTree - <group> - - B0329B325C97BC663835390843F985CE - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIImage+Compare.h - path - FBSnapshotTestCase/UIImage+Compare.h - sourceTree - <group> - - B0D25391E290ADE1BF90E18B8281F5F3 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beFalsy.m - path - Expecta/Matchers/EXPMatchers+beFalsy.m - sourceTree - <group> - - B0DFED38A647950C79B13061F923258C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImage+Compare.m - path - FBSnapshotTestCase/UIImage+Compare.m - sourceTree - <group> - - B1A8AF86363A5D8093FFE48748DC20A1 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - SDWebImage-dummy.m - sourceTree - <group> - - B23D9E49B5B3A5C76EAFFC9C7F40B4B9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPUnsupportedObject.m - path - Expecta/EXPUnsupportedObject.m - sourceTree - <group> - - B25B4A401CE0322E5FA936642D8E8A36 - - fileRef - 7D8198AD59277CB0379442369CF5247E - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - B28719F6B1978267C407032A2AE646F8 - - fileRef - FE9D7A964178EF6E3CE5FC52134DF825 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - B2CBEFFA54424B8FBBE1EB23EC879E69 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+raise.h - path - Expecta/Matchers/EXPMatchers+raise.h - sourceTree - <group> - - B2DE78D2D5A5CF173FEBFA2FE4B4023D - - fileRef - 2F29BE2EDEBA2861368726A4772F4E8E - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - B33234F432A72D5E8B65694AE937B78F - - fileRef - 56BD615DEEA3BC153C0B73BAC8A60A13 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - B37F0F91F85060E28F1DAAB522DC7EC1 - - 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 - CLANG_WARN_EMPTY_BODY - YES - CLANG_WARN_ENUM_CONVERSION - YES - CLANG_WARN_INT_CONVERSION - YES - CLANG_WARN_OBJC_ROOT_CLASS - YES - CLANG_WARN_UNREACHABLE_CODE - YES - CLANG_WARN__DUPLICATE_METHOD_MATCH - YES - COPY_PHASE_STRIP - NO - 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 - GCC_WARN_UNDECLARED_SELECTOR - YES - GCC_WARN_UNINITIALIZED_AUTOS - YES - GCC_WARN_UNUSED_FUNCTION - YES - GCC_WARN_UNUSED_VARIABLE - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - ONLY_ACTIVE_ARCH - YES - STRIP_INSTALLED_PRODUCT - NO - SYMROOT - ${SRCROOT}/../build - - isa - XCBuildConfiguration - name - Debug - - B52658FC373BA42C6DBF475CAEA30F09 - - fileRef - 9D6702575943BF5C71AD0E2299CB53E2 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - B55362A439917186B971EF580B391A1B - - isa - PBXTargetDependency - name - DACircularProgress - target - 9775596B3CA16905FC8F66DA8E2A3C67 - targetProxy - 9F080C1D1A758D0A874B7345BE67EC81 - - B5969E17FAFFDC548233DC602AAC6211 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beGreaterThanOrEqualTo.h - path - Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h - sourceTree - <group> - - B6B32565B1C26404789EEFCF37B7C225 - - fileRef - 3540CB186FE2EE9EE99381DA600738B8 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - B6CB1D947CABAFFCEFC7F94006CB7AD4 - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - B6CE0371E70FB931CC99A90CEBFD6E83 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - E2FE87384A67337831E53490EEA8BF11 - remoteInfo - MWPhotoBrowser - - B733330A3935B54DE57E0503C1867DAE - - fileRef - AD198F3513AFD6128A50C356DC253545 - isa - PBXBuildFile - - B73F44C64FD91479CFE63C882F1E5E70 - - children - - CB09954F9727813F76DD0EC906DB781E - B1A8AF86363A5D8093FFE48748DC20A1 - DD16771750E90A2599B84EDB4AFF9B9E - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/SDWebImage - sourceTree - <group> - - B74838FB9BEB33B6489F58D787E2A6A4 - - baseConfigurationReference - 2055A9E17F10DAA3DD7884DDF96A0A50 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - PRODUCT_NAME - MWPhotoBrowser - SDKROOT - iphoneos - SKIP_INSTALL - YES - WRAPPER_EXTENSION - bundle - - isa - XCBuildConfiguration - name - Release - - B83D4C05E77991780CA69BF68B431DD2 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Pods-MWPhotoBrowser_Example.release.xcconfig - sourceTree - <group> - - B8FC063009C06CE659C8CF168A9F8765 - - fileRef - 0B7E61991D03B44046913BF3B345F4DB - isa - PBXBuildFile - - B9051EB6C3E749E2F0538ABF5076D0BE - - fileRef - 60E1461AAED23D358B1A25A48F9DD77F - isa - PBXBuildFile - - B98B98DB394C072483E8066C6B594401 - - buildActionMask - 2147483647 - files - - 589CDFB90C98BF58F34B688A2BEF2D04 - 1181CB6FC2D63C42F19EAB56C604A71E - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - BA4C6CCE8BCEAFA07BB2679C87A008C5 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWPhotoBrowser-prefix.pch - sourceTree - <group> - - BA6428E9F66FD5A23C0A2E06ED26CD2F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text - name - Podfile - path - ../Podfile - sourceTree - SOURCE_ROOT - xcLanguageSpecificationIdentifier - xcode.lang.ruby - - BA9181C8B2773795F2EACBDE286994AD - - includeInIndex - 1 - isa - PBXFileReference - path - ImageError@3x.png - sourceTree - <group> - - BA9D20AF1E1E4CF225AA2D772049336D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - Expecta.h - path - Expecta/Expecta.h - sourceTree - <group> - - BB3A5C6A66C23862172BF9BED9BC8200 - - fileRef - D64041D7A1004D2C8771C29362B59366 - isa - PBXBuildFile - - BD30B724A71CF5D6E93805B7615EC79C - - fileRef - 0AB1B49E98BEDDFC8A45BB3C1FB54076 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - BD4E094BE48FCAB50C0CEFC92B2C0B04 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedSmallOff.png - sourceTree - <group> - - BD56223A67203315C1B15E39E3B40934 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.script.sh - path - Pods-MWPhotoBrowser_Tests-frameworks.sh - sourceTree - <group> - - BDD78DD77E210708F222D40A2FDE75B1 - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemArrowRight.png - sourceTree - <group> - - BE6668D2527C0063CE1C755190A7596F - - fileRef - E6798A1D89E725C8EB02146EE4B0E31E - isa - PBXBuildFile - - BEEAFC79B66B12E6D67D140381BE25F2 - - fileRef - 5A531485C6A0D185C72E03CD91B49919 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - BFD984F9AF4C47EDD370C631057D40E8 - - baseConfigurationReference - 1580BE8D870658FFFB9EF3D04B9213CC - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MACH_O_TYPE - staticlib - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PODS_ROOT - $(SRCROOT) - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - C0593046ABD536BD086B85302FA897DF - - baseConfigurationReference - CB09954F9727813F76DD0EC906DB781E - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/SDWebImage/SDWebImage-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - C0A33FBAF4E7C28807891EC8D0B65204 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWPhoto.m - sourceTree - <group> - - C162177585DC8E186D24CADCC233B0EA - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemGrid.png - sourceTree - <group> - - C16C9E56CBDDE2AD1FCF3EFFF3127C20 - - fileRef - 47BC96C02F9C3E09817E3FEC2559E33B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - C1814AA3C422738CF4B8DC63539CCD3E - - fileRef - 8439940A3793CF65B24F4185E04317D8 - isa - PBXBuildFile - - C2420EB9004B4667C6328B5C0D098C48 - - fileRef - 49D43B7D98ABA386628BDA9FB6BA411B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - C266061F84E4CFB93AF99D21EEB13401 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWPhotoBrowserPrivate.h - sourceTree - <group> - - C2909BC6E2528AB50ADD2B0E4FE78DA1 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTTestSuite.m - path - Specta/Specta/SPTTestSuite.m - sourceTree - <group> - - C2BFF99EB859FD7056CF72C4850693D1 - - fileRef - 63010FB3922AB3E2DDD6D8CDD2D10BFA - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - C2CEB9C1175C4FC4D5BE5C6EF285E0A4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beTruthy.m - path - Expecta/Matchers/EXPMatchers+beTruthy.m - sourceTree - <group> - - C36BB9623ECA2B27942B66986A784EC9 - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemArrowLeft@2x.png - sourceTree - <group> - - C3D6913F5E4E594A29E40A526602BBB7 - - isa - PBXTargetDependency - name - MWPhotoBrowser-MWPhotoBrowser - target - 5813251FEA21E4AEE97385709F1912DE - targetProxy - 999D9522F4AD2757D76E2BC0D6606B4A - - C402F1446422CAB85FC53BD77E5E9018 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWGridCell.h - sourceTree - <group> - - C5284B0E2549CD42E31F469FB8B92DA8 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libSDWebImage.a - path - libSDWebImage.a - sourceTree - BUILT_PRODUCTS_DIR - - C5AFFFCB54FD9036E7BC9BA54ADAAF30 - - baseConfigurationReference - 0557FD60A45F62CD51B4972ECE5C2584 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - C5BD0A3729BF33E203724A88CFE727BC - - fileRef - FCA01B035C5FC9AF0969977B2C54A7A9 - isa - PBXBuildFile - - C655D4974F9982F0810618C9AC07216F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - DALabeledCircularProgressView.m - path - DACircularProgress/DALabeledCircularProgressView.m - sourceTree - <group> - - C6671739E8C5904113586F8BEBBC9780 - - fileRef - F40AD0DE1188AA331D98100B8766D6C8 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - C6AD7852D34E8A80DFF3B8376BDE812F - - buildActionMask - 2147483647 - files - - 8DF90D623F7F9015EEE9F1D7FEE7E053 - 6A4E3ACA285A21392936C110E7EC91F0 - 3A013F13122CDB8EE962F8CB7C6FCC8E - A6854D311D55E2BBD8BFCE4E82DF3EA9 - 081F2104425CDCB0915354E2FBD7E24E - 7AC91F55DAAA2F0223A97BEFF8BCAF68 - 2A17721E4A81DB608CA6D4FB6F0ADAFB - 341D7536159B52F41598F730CC45D548 - 07282695806D1DFBF187BFA004D80641 - A8490A46CB5206BCA5F90FCFBA2D731E - AA7B402D31D86AE5E3DD083408311FF1 - F4CA468B5A9F8FF2A4DB8B236A8E71BF - 021C50274FF43A6F07E119D572C3ACB6 - 8F674582EE71972EE60EFD96C1F173D5 - 3E463E2B6917D9AA08A03BA8A8E74A18 - AB1D6408D48F6ECF3FCE553BE73961F5 - D42799488F38F2DB8A580730CEE13CE6 - 97E91EC237B8623D895DBF6092034AD7 - 9B546D0F895D9B5A8316B948CEE95C77 - DFF580AE359407E841BA8D8DDCE6E299 - EE52A320EC3155B114104E06396D1B59 - 74707D5ABEC55B3084F52C40A4227B06 - 14C609D8F203FD45194E93997EFF744E - 9019F9233E2A8B04A82C1B8D0274F09F - 70545E4EA86C6E593A2A9F6731DA8F6D - 2945FAA75C956DD6A541EB51E42E6899 - 02C7E3EC1E1DFDD7046BD26A67E92686 - 76331E71086C8CD5118A69B046D8F0FB - 430CE433DB59FE090A8CC6AFCFA43337 - 237FB063FB365119546C7B5006224F3B - C98F5401E5C1AB6512BE50C3B7CEA9BF - 339A0C1BFF72397A705959E03877DDDB - AAE75938ED3DD46BC00352B82D7CA890 - 6EB2498C2AFB1DF8555CB7C1EF89CA5C - E867CBF850D20C314BF4BD790432455D - 6924E116731D7079958063A3EE0781ED - 4231743B6C143BDB4A5FBB032E6D3799 - 956FB3AB698AF3DA776A9F24AA79C229 - 60D3CCEB5B53542228790ABD8885AF42 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - C6D58082433E54F547A343BCED70CA50 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - Specta-prefix.pch - sourceTree - <group> - - C6FE69AE06A770FF76C19B8039EC0780 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - Pods-MWPhotoBrowser_Tests-dummy.m - sourceTree - <group> - - C77F8C54B4042EC0746E5D285E7D400A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageDecoder.h - path - SDWebImage/SDWebImageDecoder.h - sourceTree - <group> - - C833942945CF274906A18C8D4BAAE480 - - children - - EF4D256729962DC82677BF90E861294B - 427921605A450AEF67D129DACCD87BED - 1B0ADBF8A991262A6DE5BD0CB101EEE0 - - isa - PBXGroup - name - MBProgressHUD - path - MBProgressHUD - sourceTree - <group> - - C98F5401E5C1AB6512BE50C3B7CEA9BF - - fileRef - 79D73FB4B6A3C92513B81243EA72E78C - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - C9B5F86F6244D78D3F80384F609427C6 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 2F501FE84845EAD97B9087DAFCBBEE0E - remoteInfo - Expecta - - C9B97F514121309E4531C3439E206EC7 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.script.sh - path - Pods-MWPhotoBrowser_Example-resources.sh - sourceTree - <group> - - C9BF70FB69B8740763B185C23C560434 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedOn@3x.png - sourceTree - <group> - - CA0DFA401B2A45337DFC72F893A060EF - - fileRef - 523087C6D186A9F5BEE78D39F9A78F3F - isa - PBXBuildFile - - CA8230DE5C83368629EF3E62C4F0E7B7 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - XCTestCase+Specta.m - path - Specta/Specta/XCTestCase+Specta.m - sourceTree - <group> - - CB08C9C83ABDBE55762A423ED48491EF - - fileRef - 7DACEAF8582049D6EB8B4CFFB6CA48CD - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - CB09954F9727813F76DD0EC906DB781E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - SDWebImage.xcconfig - sourceTree - <group> - - CB3EA5CC56581FD52BDBA0179D956E7B - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedSmallOn@3x.png - sourceTree - <group> - - CB7148E744A9D03AEDC9D4809248999F - - baseConfigurationReference - 7389D03E90A74E5A200DD5ADBB209885 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/DACircularProgress/DACircularProgress-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - CBE0BF23E2B3F39D22B51BC93022DE7D - - children - - 8E485F27A3C78223FB086075C2974A49 - 9BDA7CB400BA41525D0DAC5E267B2670 - 2D6EC33CA8D9BD953AD29E16068F2CBD - DE369A67A17A1EE2351376730BB039A4 - 8A00437F88A0C89CD672C2085CCCF62B - 10E446637EC5FF03088009E61B491E75 - C77F8C54B4042EC0746E5D285E7D400A - 6C982719FDCF6684EB752A0153066FC3 - 574FFB37A8EF309B1A1EB265267DD353 - A59CA631962D8BFBF1D8BA4BA8F1F223 - 47BC96C02F9C3E09817E3FEC2559E33B - 7599165E41821009340AA99FDAC29AE0 - 222A85D6DAB7D3AC98EF6D7E68B13740 - 2EDD6193448F7939784FDF1C8016F000 - D615D83AA6E624C9EEFAB11B6DAB4612 - EC0223776620A3EA741C855D0211CB0A - 78759DF877B83416A90AA2BC606BF7ED - 518626B93DA6269F02901D111B4DBF26 - 661962DFFB8F4AF681F8EA78582EE534 - 4CFA073D420411E3535ABA966BEE98CC - 6B1C830074F8BFC3AE3CB3A5278754A8 - 1A1E8E8494B9BFCEBBD8273148D44386 - FE9D7A964178EF6E3CE5FC52134DF825 - 5D39CEB65ADB521B117CA181C2BB2C9C - 9E58B396BFA804075E0FCC2D7E764BA6 - AE1B7431EAFB4D89A49A9DAD35DBE790 - A2B692D3F450E25A5D8B17F524EA0720 - D91F4635A8EDF54921FC9B759BE009F6 - 38777F32EB3F13ED8D2047C1C9ED6D6D - - isa - PBXGroup - name - Core - sourceTree - <group> - - CC01A834786EDBE30D7011502AE0F9B3 - - baseConfigurationReference - CB09954F9727813F76DD0EC906DB781E - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/SDWebImage/SDWebImage-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - NO - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Release - - CD12BF87A360D901CFA6AC563638FED1 - - children - - 805AE44C01D7936BA8A238C6C5C4807D - AD198F3513AFD6128A50C356DC253545 - C6D58082433E54F547A343BCED70CA50 - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/Specta - sourceTree - <group> - - CEFDBDB8900789B0FFB86EBB7065BC62 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libDACircularProgress.a - path - libDACircularProgress.a - sourceTree - BUILT_PRODUCTS_DIR - - CF37F67F6269058934EB779D902EE7AB - - fileRef - C0A33FBAF4E7C28807891EC8D0B65204 - isa - PBXBuildFile - - CF95446EA555B49150EA7270096D78B2 - - fileRef - E906DDCC926C2EA5161E326AB04AC53F - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - D041545E1DB9D43FCBB294B7E9573AFF - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - D09A95F4452843967F4C8F3FA5EC1A68 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - ExpectaSupport.h - path - Expecta/ExpectaSupport.h - sourceTree - <group> - - D10BA2216A9B5F41557B4FC448EE865C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+equal.h - path - Expecta/Matchers/EXPMatchers+equal.h - sourceTree - <group> - - D2307EC60BB4D23E49C1420E6F192943 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedOff@3x.png - sourceTree - <group> - - D351C08D4390F427D8E1BEC3CB8A57BD - - children - - 9839B551DAF141B99431C2238C8EEBC0 - DB7D9B8599935A5FF3862B90E049CABD - DF11024BF511A0D2225D4BA84770CED7 - A09DD0AB6A512D74E5628070EBD56026 - 6CD3EC2C1FBF5655137A99638E9CC950 - 5E350F03F362C03BE32737DDE72D4632 - 0B7E61991D03B44046913BF3B345F4DB - - isa - PBXGroup - name - iOS - sourceTree - <group> - - D359D2CDD896874DAD7B6D2EF3FEE26D - - isa - PBXTargetDependency - name - SDWebImage - target - DE3B07ED7FF04F506B0C5E00F4973589 - targetProxy - 9E907D6C90793FF2CC5533F151827418 - - D3C785493044AF463085D75F2E9D4FEE - - fileRef - 2DE374580729793C277006A3481402A3 - isa - PBXBuildFile - - D41D8CD98F00B204E9800998ECF8427E - - attributes - - LastSwiftUpdateCheck - 0700 - LastUpgradeCheck - 0700 - - buildConfigurationList - 2D8E8EC45A3A1A1D94AE762CB5028504 - compatibilityVersion - Xcode 3.2 - developmentRegion - English - hasScannedForEncodings - 0 - isa - PBXProject - knownRegions - - en - - mainGroup - 7DB346D0F39D3F0E887471402A8071AB - productRefGroup - 9142D907B715CE18385E00AB1972B1BD - projectDirPath - - projectReferences - - projectRoot - - targets - - 9775596B3CA16905FC8F66DA8E2A3C67 - 2F501FE84845EAD97B9087DAFCBBEE0E - 05257CC76400D71826E603561A0F73E6 - 7D9E32DAA93E15CFCF77A5BCD2D4BAA2 - FE2F1D7B9D9FCEA148517E4657B243F4 - E2FE87384A67337831E53490EEA8BF11 - 5813251FEA21E4AEE97385709F1912DE - A2118778317DA37C36420E58FB3923B3 - 722090AAE01BA442E883E6F02AA8DF40 - DE3B07ED7FF04F506B0C5E00F4973589 - E9AAC3590B391F4CFAF5F8348E6A8FE4 - - - D42799488F38F2DB8A580730CEE13CE6 - - fileRef - 3C5A51B8AE7322A210CF01AFBA648598 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - D47B0B4C04222F6784D38356F02BEB32 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - FE2F1D7B9D9FCEA148517E4657B243F4 - remoteInfo - MBProgressHUD - - D52C083C7341E76797DB059849542613 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libFBSnapshotTestCase.a - path - libFBSnapshotTestCase.a - sourceTree - BUILT_PRODUCTS_DIR - - D54993E311EDD8802711B01895286E4E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - FBSnapshotTestCasePlatform.h - path - FBSnapshotTestCase/FBSnapshotTestCasePlatform.h - sourceTree - <group> - - D583D511354F609B73EB28F4CFA2C32A - - isa - PBXTargetDependency - name - DACircularProgress - target - 9775596B3CA16905FC8F66DA8E2A3C67 - targetProxy - 386634C7797B60DF71C8AD13DAAD315D - - D5DEC16E7CEEFEABBFEBAC3A10358C5A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - FBSnapshotTestCase-prefix.pch - sourceTree - <group> - - D5EE5F7C5A846B01ACF225DE04E52196 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Pods-MWPhotoBrowser_Example.debug.xcconfig - sourceTree - <group> - - D615D83AA6E624C9EEFAB11B6DAB4612 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImageOperation.h - path - SDWebImage/SDWebImageOperation.h - sourceTree - <group> - - D64041D7A1004D2C8771C29362B59366 - - includeInIndex - 1 - isa - PBXFileReference - path - UIBarButtonItemGrid@3x.png - sourceTree - <group> - - D68BA9A93FD415E751DFA95CCF7DCB8D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beCloseTo.m - path - Expecta/Matchers/EXPMatchers+beCloseTo.m - sourceTree - <group> - - D70BED84191514A998A08D7F3B8BBB17 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPDoubleTuple.m - path - Expecta/EXPDoubleTuple.m - sourceTree - <group> - - D791C7B718024D8AED15BE84AA2FAAD0 - - fileRef - 518626B93DA6269F02901D111B4DBF26 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - D7A0524D2A055F825B4DF69A9DBBFF98 - - fileRef - A1195ED094D0C8B66BB073959AA2ACCD - isa - PBXBuildFile - - D7B59E66FA2C765426650ADECEF955EF - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - FE2F1D7B9D9FCEA148517E4657B243F4 - remoteInfo - MBProgressHUD - - D7F1441E30E059AC17B4C1CE1464C07B - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libMBProgressHUD.a - path - libMBProgressHUD.a - sourceTree - BUILT_PRODUCTS_DIR - - D8619A771228AD0402C4D464E3C6EE53 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MWPhoto.h - sourceTree - <group> - - D8BBE4506E8863FF1D2FA4058580F0C8 - - children - - 9A086D9BE521AADC7C972AE3D9CD5B48 - 9BF2584F8D336EF737485D7396CFBAFF - F3FAB75D28A2755E4F9F79FB9F2AF5DB - 6347B71E8C22BA00F73AB093F101B7D4 - 3CD608194F35F47CEC250368B43C48E9 - DBE203B988A948E71FDDCAE62BA1F4CC - 2ACE82A15131DC569A786CB49EFD1804 - 0668957FEB1B3CAE2EABBC4AA9ABA7C3 - 569060A075537DFE6A4D25D96C98668B - 56228B3CBF246784930BFE7B29EFDD04 - 2F29BE2EDEBA2861368726A4772F4E8E - 1AFDF0F0EF2A314336EACA38FCC6F784 - 818AFFCC037C608492FAE59C7C3E85C0 - 571096112AA1AD00C10596D216783599 - 1D772DC880BCFABF5028DA167DE6B119 - 49D43B7D98ABA386628BDA9FB6BA411B - 1398D1B84667A17FCB66182F776EAC42 - 8F2B443FA0D511403E4DA2A79DB3302A - 691CE6B20E64762C98682B93B31435E7 - F1948E226356BF652752F9FA7317BC73 - EF75C10714B7CFF9071553F07D94A550 - C2909BC6E2528AB50ADD2B0E4FE78DA1 - 1EF011C5AA1726984A1B50A46191CE9B - 1E360C94C47826C4CAEEDBFC04C36A42 - CA8230DE5C83368629EF3E62C4F0E7B7 - CD12BF87A360D901CFA6AC563638FED1 - - isa - PBXGroup - name - Specta - path - Specta - sourceTree - <group> - - D91F4635A8EDF54921FC9B759BE009F6 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - UIView+WebCacheOperation.h - path - SDWebImage/UIView+WebCacheOperation.h - sourceTree - <group> - - D9E225250B8DAA16A4D7B6A66EC6574A - - fileRef - C2909BC6E2528AB50ADD2B0E4FE78DA1 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - DA7F16221783A03C084D9BAAF7F404DB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beginWith.h - path - Expecta/Matchers/EXPMatchers+beginWith.h - sourceTree - <group> - - DB7D9B8599935A5FF3862B90E049CABD - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - CoreGraphics.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreGraphics.framework - sourceTree - DEVELOPER_DIR - - DBE203B988A948E71FDDCAE62BA1F4CC - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SpectaUtility.m - path - Specta/Specta/SpectaUtility.m - sourceTree - <group> - - DC1F1DBD53679CB78C5967BA9DEC08CA - - fileRef - 78759DF877B83416A90AA2BC606BF7ED - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - DD16771750E90A2599B84EDB4AFF9B9E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - SDWebImage-prefix.pch - sourceTree - <group> - - DD5F3D6C4044A157839220B037A055E8 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImage+Diff.m - path - FBSnapshotTestCase/UIImage+Diff.m - sourceTree - <group> - - DD7BDEE57A8E95F9F327AC87B6A78256 - - fileRef - C402F1446422CAB85FC53BD77E5E9018 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - DDAA00E6C2E81A6C35534DD632143F09 - - children - - 7389D03E90A74E5A200DD5ADBB209885 - AF944A6486FDAD944BE766A70129E6D2 - E5EA159155EA435901485FBB8111088C - - isa - PBXGroup - name - Support Files - path - ../Target Support Files/DACircularProgress - sourceTree - <group> - - DE0797009C8330FFDB1FC0EB8D2DA9DD - - buildActionMask - 2147483647 - files - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - DE369A67A17A1EE2351376730BB039A4 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SDImageCache.m - path - SDWebImage/SDImageCache.m - sourceTree - <group> - - DE3B07ED7FF04F506B0C5E00F4973589 - - buildConfigurationList - 8D8B7C183B18D82F1958BB3115798433 - buildPhases - - 7357CD98F48585C602A75C901AD5E096 - B98B98DB394C072483E8066C6B594401 - A0C76077A20E75ED950BF4F88A252F83 - - buildRules - - dependencies - - isa - PBXNativeTarget - name - SDWebImage - productName - SDWebImage - productReference - C5284B0E2549CD42E31F469FB8B92DA8 - productType - com.apple.product-type.library.static - - DF11024BF511A0D2225D4BA84770CED7 - - isa - PBXFileReference - lastKnownFileType - wrapper.framework - name - Foundation.framework - path - Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework - sourceTree - DEVELOPER_DIR - - DFA142DA2A1E6AB454178652BAC9A075 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPDoubleTuple.h - path - Expecta/EXPDoubleTuple.h - sourceTree - <group> - - DFAB389ECAD69BF8BE6357CFADABBF5C - - fileRef - 9E58B396BFA804075E0FCC2D7E764BA6 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - DFF580AE359407E841BA8D8DDCE6E299 - - fileRef - ED1EC819236EDC3B337FCB044454FEB6 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - E06376455C1D5E45B97ACDC5438FC15B - - fileRef - 40DAD22BCDD38D058B1C9A312C42DF49 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - E0EBF0357895E0C657A233A9D4D0E2C1 - - explicitFileType - archive.ar - includeInIndex - 0 - isa - PBXFileReference - name - libPods-MWPhotoBrowser_Tests.a - path - libPods-MWPhotoBrowser_Tests.a - sourceTree - BUILT_PRODUCTS_DIR - - E127589B46F33617D24F341DBAE1E90D - - fileRef - 571096112AA1AD00C10596D216783599 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - E145A7E23B46A8C1E1549511735A041D - - fileRef - 69C3D12EC1F2F8AE628C05AC390D9D61 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - E287D744F886B15E1060AFEA475FC727 - - fileRef - 4358F868C1553FF4273B0726E5AD2012 - isa - PBXBuildFile - - E2EBD18BA89D3FF648947DF31FA12D44 - - fileRef - 24FAEADA1249F6042B4B4B135CDD0DF9 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - E2FE87384A67337831E53490EEA8BF11 - - buildConfigurationList - 0732716566238BF76BBF762F85C8ABAF - buildPhases - - F90E42BE0540AE823AEBE381B7F2AF8C - 886428740DB164747FBA1935F65900DF - 53FA1A78374A52A66FBFD0691645BCB8 - - buildRules - - dependencies - - D583D511354F609B73EB28F4CFA2C32A - 8EE5D8EDB6C595B190E81B76D3190EB3 - C3D6913F5E4E594A29E40A526602BBB7 - 299B50B04F45E1A2F52075C3B7A1AEB2 - - isa - PBXNativeTarget - name - MWPhotoBrowser - productName - MWPhotoBrowser - productReference - 50F87BFDC26A0B4CC6DE06D3ACBD0714 - productType - com.apple.product-type.library.static - - E348B132ABCC246013AE3A5532BC609F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - FBSnapshotTestCase.h - path - FBSnapshotTestCase/FBSnapshotTestCase.h - sourceTree - <group> - - E40400D97F14785D20A7A5594F0E2C56 - - fileRef - 1398D1B84667A17FCB66182F776EAC42 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - E4436D58F27EAC932F3CC2A7619D5FD3 - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedSmallOn@2x.png - sourceTree - <group> - - E4AD00C4B132C99837C22CC9031DE9F8 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beCloseTo.h - path - Expecta/Matchers/EXPMatchers+beCloseTo.h - sourceTree - <group> - - E54B859019C3D44B55F4723880F93D4D - - fileRef - E7E794ADE2D5267DF8949DD0A42B935B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - E5EA159155EA435901485FBB8111088C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - DACircularProgress-prefix.pch - sourceTree - <group> - - E6798A1D89E725C8EB02146EE4B0E31E - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedOff@2x.png - sourceTree - <group> - - E7B8141DB24F5AA0D1F847AFEC0DB018 - - baseConfigurationReference - 0557FD60A45F62CD51B4972ECE5C2584 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - E7E794ADE2D5267DF8949DD0A42B935B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - UIImage+MWPhotoBrowser.h - sourceTree - <group> - - E81C08F5CCC0A5FBFF4559E2173164C7 - - buildActionMask - 2147483647 - files - - 70D801E0B95C23BCC270E4EC8659D463 - 2989492A1A182744E36FD61DF1746D94 - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - E867CBF850D20C314BF4BD790432455D - - fileRef - 05DA7841521B75C4D0C303F32E518117 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - E8709320B1728545E4889D6232A39109 - - fileRef - 216490FDC8376C36DB920710C65B92F3 - isa - PBXBuildFile - - E906DDCC926C2EA5161E326AB04AC53F - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPBlockDefinedMatcher.m - path - Expecta/EXPBlockDefinedMatcher.m - sourceTree - <group> - - E97CDC7A1DFD18DAAD3C505929F32105 - - fileRef - 9604D510A96A637DD9AE0D304B68A5A2 - isa - PBXBuildFile - - E99804B4B10C0A5C7C08E5EF962804CE - - fileRef - 0A9B8E3E35177F52A643739AC50B00FA - isa - PBXBuildFile - - E9AAC3590B391F4CFAF5F8348E6A8FE4 - - buildConfigurationList - F4A25246330C837CF7FB43FCC4E2A63F - buildPhases - - 4C9C7890ED44DBC3090EEDFD92749F0A - 1684C2FDDE674F14B731CC940021D8C6 - 3907B3A4464A3069E24142505C76338D - - buildRules - - dependencies - - isa - PBXNativeTarget - name - Specta - productName - Specta - productReference - 7CF892960748F43245AD2B5CD2AC41A5 - productType - com.apple.product-type.library.static - - EB4DE2009B511D62CF6BFE67FA73E321 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text - path - Pods-MWPhotoBrowser_Example-acknowledgements.markdown - sourceTree - <group> - - EB75F515760C184B2ED65E8649DC5792 - - fileRef - 56228B3CBF246784930BFE7B29EFDD04 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - EB88EE844F8ADBE7E78B381D8832162D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beFalsy.h - path - Expecta/Matchers/EXPMatchers+beFalsy.h - sourceTree - <group> - - EC0223776620A3EA741C855D0211CB0A - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SDWebImagePrefetcher.h - path - SDWebImage/SDWebImagePrefetcher.h - sourceTree - <group> - - EC9E28E1F941952C6708902F41FD209D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beSupersetOf.m - path - Expecta/Matchers/EXPMatchers+beSupersetOf.m - sourceTree - <group> - - ECE81C5981477AA7D254ACC70534BE23 - - baseConfigurationReference - 6F1FCA0BD48258CDEC1B14D704BA3E5D - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MACH_O_TYPE - staticlib - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PODS_ROOT - $(SRCROOT) - PRODUCT_NAME - $(TARGET_NAME) - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - ED177B9B7FCFE4E41DCDCCFB49692E1D - - fileRef - 5289709799A254B807701A658BD9D425 - isa - PBXBuildFile - - ED1EC819236EDC3B337FCB044454FEB6 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+beLessThan.h - path - Expecta/Matchers/EXPMatchers+beLessThan.h - sourceTree - <group> - - EDC1E77817E2D0252126B98EB0206A62 - - fileRef - 46F871A74D831312A633CCFC0A94F75D - isa - PBXBuildFile - - EDDE097EFD40E9A4E32E4B44C97CE44B - - fileRef - 10E446637EC5FF03088009E61B491E75 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - EE04EE8ADAB8F7DF7FCEFDDD1E801BE6 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 7D9E32DAA93E15CFCF77A5BCD2D4BAA2 - remoteInfo - FBSnapshotTestCase - - EE52A320EC3155B114104E06396D1B59 - - fileRef - 809101940909F56A7B70CE17D447640B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - EF1C003613925663F17E023C73AF519C - - buildActionMask - 2147483647 - files - - 5EB4F27B76513AE918BA5AE0868E87C8 - - isa - PBXHeadersBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - EF4D256729962DC82677BF90E861294B - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - MBProgressHUD.h - sourceTree - <group> - - EF5AC1222120F3BAB7481DA9615352B0 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - FBSnapshotTestCase.xcconfig - sourceTree - <group> - - EF75C10714B7CFF9071553F07D94A550 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - SPTTestSuite.h - path - Specta/Specta/SPTTestSuite.h - sourceTree - <group> - - EF9006327AFFDBED3FD589DA04E2D36A - - fileRef - C655D4974F9982F0810618C9AC07216F - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - EFE77B95F063C96D9B07BC2A988AB403 - - fileRef - 9839B551DAF141B99431C2238C8EEBC0 - isa - PBXBuildFile - - F0A8CE7CF766D19972CF0934C1652293 - - buildActionMask - 2147483647 - files - - CA0DFA401B2A45337DFC72F893A060EF - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - F1948E226356BF652752F9FA7317BC73 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SPTSpec.m - path - Specta/Specta/SPTSpec.m - sourceTree - <group> - - F1F4E65611F5567A86AF797EAC3E225B - - fileRef - B0D25391E290ADE1BF90E18B8281F5F3 - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -fno-objc-arc - - - F2168F9F63056AC8BFB344608C4158BE - - fileRef - 3CAA21F3728659DC1B58A336233AEB79 - isa - PBXBuildFile - - F2334A461A36CF285AC6F7E96F8FE0DB - - includeInIndex - 1 - isa - PBXFileReference - path - ImageSelectedOn.png - sourceTree - <group> - - F26631BB63543446C157972F2F6D1475 - - fileRef - F2334A461A36CF285AC6F7E96F8FE0DB - isa - PBXBuildFile - - F2A9AAC03867BB4990470BAC5912E030 - - buildActionMask - 2147483647 - files - - 53FB0CBA14BE53F79F4EB4E7B46C523B - 072C184628072EDE522629576F1716DE - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - F2BDF8E898C762EFB3844211CE201024 - - buildActionMask - 2147483647 - files - - isa - PBXFrameworksBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - F2F5671C4613023EE94A2E62DA06031D - - buildConfigurations - - E7B8141DB24F5AA0D1F847AFEC0DB018 - C5AFFFCB54FD9036E7BC9BA54ADAAF30 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - F314DFE6C76A8EEBC3D8CAF03EB89850 - - fileRef - 75F83323F205A277BEC18AABDA0FA739 - isa - PBXBuildFile - - F3BB0A963277282C6BF73E81250B6943 - - fileRef - 38777F32EB3F13ED8D2047C1C9ED6D6D - isa - PBXBuildFile - settings - - COMPILER_FLAGS - -DOS_OBJECT_USE_OBJC=0 - - - F3FAB75D28A2755E4F9F79FB9F2AF5DB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - SpectaDSL.m - path - Specta/Specta/SpectaDSL.m - sourceTree - <group> - - F40AD0DE1188AA331D98100B8766D6C8 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beLessThan.m - path - Expecta/Matchers/EXPMatchers+beLessThan.m - sourceTree - <group> - - F4A25246330C837CF7FB43FCC4E2A63F - - buildConfigurations - - 1C1837DF96AE65F662773DF1956BFF09 - 04D4EDE1F05B96EE8BB9DCD368608620 - - defaultConfigurationIsVisible - 0 - defaultConfigurationName - Release - isa - XCConfigurationList - - F4CA468B5A9F8FF2A4DB8B236A8E71BF - - fileRef - EB88EE844F8ADBE7E78B381D8832162D - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - F4CDA5FA9197A41E0081E84F932906EB - - children - - D351C08D4390F427D8E1BEC3CB8A57BD - - isa - PBXGroup - name - Frameworks - sourceTree - <group> - - F5551459CFCB6B7914E9EC1783277D94 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - path - Expecta+Snapshots-prefix.pch - sourceTree - <group> - - F5963246D32249D4D198CE8A36B4DD12 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+raiseWithReason.h - path - Expecta/Matchers/EXPMatchers+raiseWithReason.h - sourceTree - <group> - - F5F4D07451FB3E10EE7C16A83010425F - - fileRef - DF11024BF511A0D2225D4BA84770CED7 - isa - PBXBuildFile - - F601833D09980E16136321674463BE81 - - isa - PBXTargetDependency - name - Expecta - target - 2F501FE84845EAD97B9087DAFCBBEE0E - targetProxy - C9B5F86F6244D78D3F80384F609427C6 - - F6045A7604731086F9E1A9412E290302 - - baseConfigurationReference - FAF77DDAA41AC524C38F1D92F2EE01AB - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - F629BC640170D45C22A8048A42BAB040 - - children - - 37E4F69B3E6AFDEE8D68A3430CEC8BF5 - 40D39B6435EEF47A85F4E3FB684E72FE - 60ECF290B248258F453088B6258302E6 - C655D4974F9982F0810618C9AC07216F - DDAA00E6C2E81A6C35534DD632143F09 - - isa - PBXGroup - name - DACircularProgress - path - DACircularProgress - sourceTree - <group> - - F6E655732BA75BED75FFACA472080CC4 - - children - - 0A924BC847BA99EBCBD0588603448B05 - E906DDCC926C2EA5161E326AB04AC53F - 7AAD7709C9FF6828905D6A28E69C4221 - DFA142DA2A1E6AB454178652BAC9A075 - D70BED84191514A998A08D7F3B8BBB17 - BA9D20AF1E1E4CF225AA2D772049336D - 1D536F869C3B7D603AC4630F3F6AB919 - 3DEC242716623D70F4CC9F4A1D32805C - D09A95F4452843967F4C8F3FA5EC1A68 - 4BE4F23029A1EDB234CF7F2AEB043EB0 - 3E7FFEF7BFB0350CE8FCC2D6D64D1396 - 92F064516748B6AA4C6E303A38C3FE6A - 8136A5BFC35DA48ABC2C0D94EA79B7F0 - 15082EF0D1C2F7B77B63E0116BDA622C - 700F6F4AFED22AEAA1D8943236F94924 - 79996E262256F57DB50CD16E5EBE5D52 - 232510EC13760470E86AABE302EF2B8E - 6ED6BE9A61002A3AF6D4C834E2277D8C - E4AD00C4B132C99837C22CC9031DE9F8 - D68BA9A93FD415E751DFA95CCF7DCB8D - EB88EE844F8ADBE7E78B381D8832162D - B0D25391E290ADE1BF90E18B8281F5F3 - DA7F16221783A03C084D9BAAF7F404DB - 1BB15402D8C2FB01A198273BA1991DED - 0683DF2C9B7FC27B576AB4B7B3B146ED - 7DACEAF8582049D6EB8B4CFFB6CA48CD - B5969E17FAFFDC548233DC602AAC6211 - AE917511985F6891AF3F8233B9D34001 - 2E7CBF297AA8A0E93C23BFAF1BE94DEE - 1AB26E75F7BCD415D6AD6B8BA5F03DDB - 3C5A51B8AE7322A210CF01AFBA648598 - 44D0D04C0DF98EC05B4909F397D6F7FF - 862018A7CC10880108A2BDC5146C8F3F - F9B2375A6E20F2774E7B3F08FB92909E - 29E6F040DB8ACF8886F7FE628840C480 - 3173089CCB6C063D260C58DD7BA3ABF5 - ED1EC819236EDC3B337FCB044454FEB6 - F40AD0DE1188AA331D98100B8766D6C8 - 809101940909F56A7B70CE17D447640B - 746A80915CF52BE732D200BAA851FBAB - 2779B434631901F1434BC316E3FB5AE9 - 40DAD22BCDD38D058B1C9A312C42DF49 - 71865C216F48AC822D486C8D9B03B13C - 0AB1B49E98BEDDFC8A45BB3C1FB54076 - 9A9B45D988FA49FD87F8587C42403EC5 - EC9E28E1F941952C6708902F41FD209D - 10E68FD4A81F628778B6A4992DB9D952 - C2CEB9C1175C4FC4D5BE5C6EF285E0A4 - FDE2A8151D1FDB6749FB32276220BE7C - 63010FB3922AB3E2DDD6D8CDD2D10BFA - 981F3EB0C06E97770D2421E673B013A1 - 9D5AE460F3B78B02A8AE8E5AD0DCC013 - 567A47FABAD9EE8B7DF32295CC53F937 - 56BD615DEEA3BC153C0B73BAC8A60A13 - D10BA2216A9B5F41557B4FC448EE865C - 70922EF029715CA28E814F87373F29C4 - AB8960E6933BD274C11AD9C15CF410AF - 6CF3D336192327338965DC88856BDFCF - 79D73FB4B6A3C92513B81243EA72E78C - 7250BEF99A7686EAB50B17986FDCED3E - 5F878B29A406784703BC9F07FBFDD99F - 3DA2CF997A09E53F375CF0DEEF25AFCF - B2CBEFFA54424B8FBBE1EB23EC879E69 - 788D548DE837CA2FA9D2D744D64FA847 - F5963246D32249D4D198CE8A36B4DD12 - FFC94BC21DE6B02A85C4BA9B703D222D - 05DA7841521B75C4D0C303F32E518117 - 24FAEADA1249F6042B4B4B135CDD0DF9 - 865FAF448207E691D600F40C4ACF7C58 - B23D9E49B5B3A5C76EAFFC9C7F40B4B9 - 66D391F04A8D672C0D42510DE811E7B2 - 18391089432560093C31CCA48ABB46AE - 5A06D9F124A077FE3345C713135D7E6C - 4209F7E4332FDC16B4C407CA07C3E8E8 - - isa - PBXGroup - name - Expecta - path - Expecta - sourceTree - <group> - - F84C57B89A97BB8108482354FFD8E157 - - baseConfigurationReference - 86A1ADA0F8A843FA09BFF9142BEF76D5 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/Expecta/Expecta-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - F88B870D7D0531FB54EAD23EB162DB70 - - fileRef - 8DC04A9EEA14F0D2300FB6C0CAEB9CAB - isa - PBXBuildFile - - F90E42BE0540AE823AEBE381B7F2AF8C - - buildActionMask - 2147483647 - files - - 453678659359A72C87495DDD6D9BD0C6 - C5BD0A3729BF33E203724A88CFE727BC - A0BA05DFEF00406DC4E8898D36D7418D - CF37F67F6269058934EB779D902EE7AB - 1A0D2B172232171C3EB6DC4DFE575EE7 - 6EEA87D8E87914D02AA319693371EE2C - E8709320B1728545E4889D6232A39109 - 5023A97277B66BB3E83DA779FEBAE80C - D7A0524D2A055F825B4DF69A9DBBFF98 - ED177B9B7FCFE4E41DCDCCFB49692E1D - - isa - PBXSourcesBuildPhase - runOnlyForDeploymentPostprocessing - 0 - - F9B0A541E338684F945B7539D802CF64 - - fileRef - 1A1E8E8494B9BFCEBBD8273148D44386 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - F9B2375A6E20F2774E7B3F08FB92909E - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+beInTheRangeOf.m - path - Expecta/Matchers/EXPMatchers+beInTheRangeOf.m - sourceTree - <group> - - FAC85E18FE868D87FFB2E13C182F4DB9 - - fileRef - C9BF70FB69B8740763B185C23C560434 - isa - PBXBuildFile - - FAF77DDAA41AC524C38F1D92F2EE01AB - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - text.xcconfig - path - Expecta+Snapshots.xcconfig - sourceTree - <group> - - FB42B2F11B39412F3015A082008F1782 - - fileRef - AE6C39B87AE391EC710DA8FB520ED3F5 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - FBADF2C12D471003AEB710314DA3FF49 - - fileRef - 28A20AE3D7A1F50CAD0D9D8B71205EC6 - isa - PBXBuildFile - - FC1172043A5F0542D166D63AE9EBC260 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MBProgressHUD-dummy.m - sourceTree - <group> - - FC1FB976E1C29A75089D2374BDFCCC44 - - fileRef - C36BB9623ECA2B27942B66986A784EC9 - isa - PBXBuildFile - - FC214077677D4F02E03C6C85F774E028 - - fileRef - FC1172043A5F0542D166D63AE9EBC260 - isa - PBXBuildFile - - FCA01B035C5FC9AF0969977B2C54A7A9 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - path - MWGridCell.m - sourceTree - <group> - - FD6FA76757975A1FC954269CE5739798 - - baseConfigurationReference - EF5AC1222120F3BAB7481DA9615352B0 - buildSettings - - ENABLE_STRICT_OBJC_MSGSEND - YES - GCC_PREFIX_HEADER - Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch - IPHONEOS_DEPLOYMENT_TARGET - 7.0 - MTL_ENABLE_DEBUG_INFO - YES - OTHER_LDFLAGS - - OTHER_LIBTOOLFLAGS - - PRIVATE_HEADERS_FOLDER_PATH - - PRODUCT_NAME - $(TARGET_NAME) - PUBLIC_HEADERS_FOLDER_PATH - - SDKROOT - iphoneos - SKIP_INSTALL - YES - - isa - XCBuildConfiguration - name - Debug - - FDE2A8151D1FDB6749FB32276220BE7C - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.h - name - EXPMatchers+conformTo.h - path - Expecta/Matchers/EXPMatchers+conformTo.h - sourceTree - <group> - - FDEE1AFEA9C68977819B7D652EE1F6F2 - - children - - 362D9038C23D156F9F055EDF5565A5F1 - - isa - PBXGroup - name - Pod - path - Pod - sourceTree - <group> - - FDF72740DBC37AFACFED73ED42282383 - - fileRef - A6A21F67B2A713138BF1A404E3460084 - isa - PBXBuildFile - - FE2F1D7B9D9FCEA148517E4657B243F4 - - buildConfigurationList - F2F5671C4613023EE94A2E62DA06031D - buildPhases - - 098439AB598DDF1AF51146A2E3E2E562 - E81C08F5CCC0A5FBFF4559E2173164C7 - EF1C003613925663F17E023C73AF519C - - buildRules - - dependencies - - isa - PBXNativeTarget - name - MBProgressHUD - productName - MBProgressHUD - productReference - D7F1441E30E059AC17B4C1CE1464C07B - productType - com.apple.product-type.library.static - - FE4A445C1692178764D9C71EAC64ABAC - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - 05257CC76400D71826E603561A0F73E6 - remoteInfo - Expecta+Snapshots - - FE9D7A964178EF6E3CE5FC52134DF825 - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - UIImage+MultiFormat.m - path - SDWebImage/UIImage+MultiFormat.m - sourceTree - <group> - - FEFA85FDDB15B89CF28DF12C1C2071E1 - - fileRef - 1EF011C5AA1726984A1B50A46191CE9B - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - FF6817E7D2D11A6D747BFAEA934D0FD1 - - containerPortal - D41D8CD98F00B204E9800998ECF8427E - isa - PBXContainerItemProxy - proxyType - 1 - remoteGlobalIDString - FE2F1D7B9D9FCEA148517E4657B243F4 - remoteInfo - MBProgressHUD - - FFC94BC21DE6B02A85C4BA9B703D222D - - includeInIndex - 1 - isa - PBXFileReference - lastKnownFileType - sourcecode.c.objc - name - EXPMatchers+raiseWithReason.m - path - Expecta/Matchers/EXPMatchers+raiseWithReason.m - sourceTree - <group> - - FFF549D1FBC0937A99BED40CC44BC155 - - fileRef - C266061F84E4CFB93AF99D21EEB13401 - isa - PBXBuildFile - settings - - ATTRIBUTES - - Public - - - - - rootObject - D41D8CD98F00B204E9800998ECF8427E - - +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 0037A9DFF578A4AFF0B7D1C7305E8E40 /* ImageSelectedSmallOff.png in Resources */ = {isa = PBXBuildFile; fileRef = 243F1ADCC25826EC7EE12F697B01C80B /* ImageSelectedSmallOff.png */; }; + 01F278A54C85C2C865DDAD4090C559B6 /* EXPDoubleTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = 34DBAA598BE5C9B7181E1FD937DC3CD9 /* EXPDoubleTuple.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 0293829508280E8F11BFD9B273898E33 /* SDWebImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E2BC97B4DE4B29DEBC0499FC0983114 /* SDWebImage.framework */; }; + 02A6778FC82493FD6ED5A7B4B13C4716 /* SDWebImageCoderHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = B16EC20816338619C57269A710455C71 /* SDWebImageCoderHelper.m */; }; + 03890D59600D45E6E9463700F9B11FFE /* XCTestCase+Specta.h in Headers */ = {isa = PBXBuildFile; fileRef = AD807933B83DDB019506E207B1F2939C /* XCTestCase+Specta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 03BCDDD680BABCCCE667B28903800200 /* MWGridCell.m in Sources */ = {isa = PBXBuildFile; fileRef = D5A94F9AA31667A63826EE0853C3D824 /* MWGridCell.m */; }; + 04ECBFF94ABFE49E0FB662D9FC233896 /* PlayButtonOverlayLarge@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 9C9F8C57657482A1A5EC60276BF63689 /* PlayButtonOverlayLarge@3x.png */; }; + 0676595134A6036819E78D0404919486 /* FBSnapshotTestCasePlatform.h in Headers */ = {isa = PBXBuildFile; fileRef = 8707D617697A45FFC3B4E6529AEC176D /* FBSnapshotTestCasePlatform.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 06F7E78AA0C3FACDD7FDA04BA26D8B0F /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 95906729BA4557DF478FA55C6643B1BB /* UIView+WebCacheOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 0968524ED4DE8DF7834055C5B6089D72 /* MBProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B40A7D029165A2E184A47000A747706C /* MBProgressHUD-dummy.m */; }; + 09B18A0AFD81C25D53BC3FC246DA2349 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 09D31A3AF830F1625B4B458ADA65CA65 /* MWGridViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D614FBD1FBACA5F6337B22703D7E801 /* MWGridViewController.m */; }; + 0C5843F731C7C2A0C8F529076E12EDA9 /* ImageError.png in Resources */ = {isa = PBXBuildFile; fileRef = 7033CC3C7830B5B38BAD17CF925D393C /* ImageError.png */; }; + 0D0D805F1D9B59630C5E3CB96A5814F6 /* VideoOverlay@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = BEDD51AD216E11D5134E8CD75F368BF0 /* VideoOverlay@2x.png */; }; + 0D3FBF37E9E7829108F70F4D5658918A /* EXPMatchers+FBSnapshotTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 1006A143ABEAE635384868F805CF06D1 /* EXPMatchers+FBSnapshotTest.m */; }; + 0E86BBA3A65849769B47995A5E91C881 /* Expecta-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 87264D327535C6660B9802E02A6A61F7 /* Expecta-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1009851D0C0B3FCBC574C414CC4D31B0 /* EXPMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 2D00467EBD9CF0A8AF08018E55DFAB2A /* EXPMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 103C5EC133D3E698E920805C2C60AB8E /* VideoOverlay@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = D27F5456DFB71E302F5CB74E9805067F /* VideoOverlay@3x.png */; }; + 109CAFBB76B2BB20AF587EBD5A1FEB47 /* UIBarButtonItemArrowLeft@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 3C066668DDD3E751F2325A71F696DA2A /* UIBarButtonItemArrowLeft@3x.png */; }; + 10CBF792C630C6D0EE052BED90136C5C /* SDImageCacheConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 882D2A3AD477DC292E92DD4EE14F54DA /* SDImageCacheConfig.m */; }; + 1138EDF1ECD44078A1FB2E8D0A9F641D /* UIBarButtonItemArrowRight.png in Resources */ = {isa = PBXBuildFile; fileRef = 372305502B66E2FEADECF4C8BAA3C178 /* UIBarButtonItemArrowRight.png */; }; + 11948E16BF3548C7BABF77C532966B84 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC85187A19BDD810B461B8CC46EE7BD3 /* XCTest.framework */; }; + 146D2FD2E3B98DA591885219099F2A4A /* SPTCallSite.m in Sources */ = {isa = PBXBuildFile; fileRef = E03FDF3E06E3C298C006BEC707758548 /* SPTCallSite.m */; }; + 14CA32AACADBC7D008311E6F720D583D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 14D8987480667E957371118AAACFB254 /* Pods-MWPhotoBrowser_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 55C4A740F6713033F5DDB33EB3344E74 /* Pods-MWPhotoBrowser_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 150503B99F77D3D8897EFFC68C09A351 /* EXPMatcherHelpers.m in Sources */ = {isa = PBXBuildFile; fileRef = F4D9572B8A00B5B5F552205E6F06DBF0 /* EXPMatcherHelpers.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 19B6B108A674BD810C36A118644862C4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 1CA40A7D0B9752579CC15BDAFCF1F1C8 /* UIImage+ForceDecode.m in Sources */ = {isa = PBXBuildFile; fileRef = 80454303ECF382C927455483A6FF8332 /* UIImage+ForceDecode.m */; }; + 1D0BF58B207512DB81BBB40D3E97DBAE /* ImageError@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = BE68D6DAEC2252570A6DA449600DF0A2 /* ImageError@2x.png */; }; + 1D676445A1446539D4B722E6EF0C802A /* ExpectaSupport.m in Sources */ = {isa = PBXBuildFile; fileRef = F9C4061EDC77B7592EA581255852AAEF /* ExpectaSupport.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 1DC08C8350D56A08EBBA4291D85BFC6F /* SDWebImage-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4F4FFCFE180EDD3B55DFBFED125D3F3D /* SDWebImage-dummy.m */; }; + 203B46EB7DB52394FD6E272DE9772BA7 /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = E14832EF53301BB36C98775051ADD1D3 /* UIImage+MultiFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 20A2A483CDC911D6DB2EAD12444D1406 /* SPTTestSuite.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D8151059CB1B1D1F79BC03D0662937D /* SPTTestSuite.m */; }; + 214F8D721940BD9AA4BAB0E5AE2E8A1C /* EXPBlockDefinedMatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 22732D40FAB9CE5D8D565BAC25E3E054 /* EXPBlockDefinedMatcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 21B3DAADDCABBFDD03478CCBF5DE49D4 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 22C20067A6BBEF2887F585F5FA446BE1 /* UIView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 8490346BCFC19608909AB81EBB0A9360 /* UIView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 23310C41FEABC0E9A77C81419194BEDE /* MWPhotoBrowserPrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = 30D96311181CA3686461310CFFEBB73F /* MWPhotoBrowserPrivate.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 235E0832005C879D9D7EFABCF9CBC62B /* SDWebImageCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 658814900B0E669DE2AE5D6ABDBBF375 /* SDWebImageCoder.m */; }; + 245786D11B0E748F2451821FB222CA56 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 255345DF9F3F6DDC70B0ABAF2775324B /* SPTCompiledExample.m in Sources */ = {isa = PBXBuildFile; fileRef = B8F74AD9993D30E41EDCA783147B8B6B /* SPTCompiledExample.m */; }; + 25FC0CD17F0B9C4E7A81F502C2D72A8E /* MWZoomingScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = 2823608FDD4D7D378D287270266E8849 /* MWZoomingScrollView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 264BD5002135684A4911CCFB49D3AD35 /* MBProgressHUD.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D2C1F24BE5B04EF85E8BEEF0C6F21378 /* MBProgressHUD.framework */; }; + 26BBC63406C6863BE6DD27C64A70CB42 /* UIImage+Diff.h in Headers */ = {isa = PBXBuildFile; fileRef = 78112E7B8A53A3D9E100B5EA255498D9 /* UIImage+Diff.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 285C6F6BE59E632CB219CD98B4EDC1AA /* EXPMatchers+endWith.m in Sources */ = {isa = PBXBuildFile; fileRef = 1FCCCB9F8574B379F19E935772C5E1A9 /* EXPMatchers+endWith.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 28A794912ED1E06B05D96DF5ED0AED19 /* MBProgressHUD-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 828E89420AFD3CCAF5EB391EEB75A3BE /* MBProgressHUD-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2916D75F69E777954F5BF46AE63C52C0 /* EXPMatchers+beSubclassOf.m in Sources */ = {isa = PBXBuildFile; fileRef = FAB691F09C8269243303BA57461BD48A /* EXPMatchers+beSubclassOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 2941CE3D6AC9155997F9CFAD8EB28275 /* ImageSelectedOff@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 10F38F93C6DC9D1D92B57E7D65AC46A8 /* ImageSelectedOff@3x.png */; }; + 2978AD918783E8E08BFFB7E89458BFCB /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = DF924D8824A2FE0357DFCC15042A8DFE /* SDWebImageDownloaderOperation.m */; }; + 29871785E994719405A04433C12E2310 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 006AA56B6B680A930E6E67C1DA5CA478 /* QuartzCore.framework */; }; + 2A1848B543C5976908C9B75CD5000C35 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 6381EAE03216F4E72DA81436498AAEEF /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2CC183AE5C5A4EA8EE0E14768F464BBB /* Expecta+Snapshots-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = DF92CB0F0037B094129E75406C0CA75F /* Expecta+Snapshots-dummy.m */; }; + 2E81617C064F3E68A7A2A9E6A370E073 /* SPTTestSuite.h in Headers */ = {isa = PBXBuildFile; fileRef = C04FF82E7C7D995F8A2D6601E58AAF3F /* SPTTestSuite.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 2FC0DAE070A18D46B2D9CA64D7F62823 /* MWCaptionView.h in Headers */ = {isa = PBXBuildFile; fileRef = 8DA94EEDE78A617B92FC7C2F1FCFDD30 /* MWCaptionView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3040496F1DF97853D251CB0EFEEA297A /* MWPhotoBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = 53657BB5981D86898D644A3F9DF0C663 /* MWPhotoBrowser.m */; }; + 3051C8B73BD859EECF0E7FD4082633D8 /* MWZoomingScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 08EA0836389FB929EFE5BAD994898696 /* MWZoomingScrollView.m */; }; + 31328536635BDC034D4E43B11CA846BD /* FBSnapshotTestCase.h in Headers */ = {isa = PBXBuildFile; fileRef = E6254C5E528834B38313B3104C9DCDE6 /* FBSnapshotTestCase.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 31FDBB0B425FE859F240A0886EB38110 /* ImageError@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 826719FB3B12A50A5D7FAF9F73D676E6 /* ImageError@3x.png */; }; + 345A3F8FD666C6F70A7BA48134093C10 /* DACircularProgressView.h in Headers */ = {isa = PBXBuildFile; fileRef = CD5630D69D657C9DB520AF7F80FB3809 /* DACircularProgressView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 35ACB9650B65C83CA2775EFF8096DE0F /* SDWebImageCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = E656C570F57752899DBBF5920BAB709A /* SDWebImageCoder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 361B58CE2A28E03CA83A73617ED739F2 /* EXPMatchers+raise.m in Sources */ = {isa = PBXBuildFile; fileRef = B5AAAB6EF703FC482663F36230CB63F9 /* EXPMatchers+raise.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 361D99BB6CCAF74FD5CEA06B3A790D0F /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = E6B69656D79C46FD022B11B7B314B283 /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3849993FDFE7642E4BEF1096B047FB86 /* UIImage+Compare.h in Headers */ = {isa = PBXBuildFile; fileRef = ABC96A5280D954097CAF07CA3D5FB074 /* UIImage+Compare.h */; settings = {ATTRIBUTES = (Private, ); }; }; + 39461DAB3DE2637F4AE2BA94F19DCF2B /* EXPDoubleTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = B866DA8CA73611978B4C992400C07240 /* EXPDoubleTuple.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3A705E07106578F31449733AC26ECFAD /* SDWebImageGIFCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = C1982078341672F2591EBD2210D4589A /* SDWebImageGIFCoder.m */; }; + 3CD0F9EA95C1EB50E76FEAAEAB187B4B /* ImageSelectedOn@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = FFFA5D2FB009CD1ADE58C7BC1BCA79F8 /* ImageSelectedOn@3x.png */; }; + 3E7C881E60487B86B0D8724EADA469CD /* ImageSelectedOff@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E5E29F5A6A630A6472EC24A07BAFE1BD /* ImageSelectedOff@2x.png */; }; + 3E9BE9DE312CE2969C02A3B33D36F621 /* MWGridCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 86CFEFAB6B772D5231E82C0BC8BDD60C /* MWGridCell.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3F1B65A91410AB86B04D08DCC43A9C1F /* DACircularProgress.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D00E13F031F5352D65E5FA1EA9C98CC9 /* DACircularProgress.framework */; }; + 3F5A3FB8CA533862763B84787CE357F5 /* MWPhotoProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 9452F13A994528908AB6EAE8205C1DE0 /* MWPhotoProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3FAA3AECCFA181BDA56973A618DB28D3 /* MWCommon.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C5F117F3E2A678DD180B9DBB07694A2 /* MWCommon.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 41CC214541946B82A25CE427BB81ABEA /* EXPMatchers+beKindOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 4DDB8D6EF387FAB3FFC10A311DD88F79 /* EXPMatchers+beKindOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 425C4DFD1FAB011D70F825631144BC4C /* EXPMatchers+equal.h in Headers */ = {isa = PBXBuildFile; fileRef = 117F5FC781B96DF14B29FA69C6A896A8 /* EXPMatchers+equal.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4657C86CD3C5DC414AC6F3F85E798497 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 62C17F88B8007524D1412CACA03A9258 /* UIButton+WebCache.m */; }; + 4709C9640D590A82620F8A1E8B6E92CB /* SDWebImage-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 7DAF3219D3F51719E62393A0A1DE9CCA /* SDWebImage-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 47BA77226056D790A2964605F468D6EA /* FBSnapshotTestCase-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D663E0B91347441C9D33535BBA9D8087 /* FBSnapshotTestCase-dummy.m */; }; + 47D171E32EAE4FB61A9971B9BC00226D /* EXPMatchers+beLessThan.m in Sources */ = {isa = PBXBuildFile; fileRef = 63237272B2DC6D7DA8ACB7208DC177F4 /* EXPMatchers+beLessThan.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 47EC7BD047C906B92B85399E097E258E /* UIApplication+StrictKeyWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 0F019F900A34ACFF035E72933950477F /* UIApplication+StrictKeyWindow.m */; }; + 4861F2FFD5A4306E7B7BD3CD0D8199AC /* EXPMatchers+beCloseTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 7F6C97DBB83F8B48AAB8B190DE7093F0 /* EXPMatchers+beCloseTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A571204986D316637D43D3F93DCAC77 /* SpectaUtility.h in Headers */ = {isa = PBXBuildFile; fileRef = AAF030BC9AAF921200A86DCD65B62342 /* SpectaUtility.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4B4688760FD2BB013693DDD7A37A47EA /* ImageSelectedSmallOn@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 3B39E671C9E7BC7CC76D6BC287B293F4 /* ImageSelectedSmallOn@3x.png */; }; + 4B5348B147C87D957ED1863635904C2F /* SDWebImageCoderHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = 103C90DF541C4FF19611544E3971089A /* SDWebImageCoderHelper.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4BBC09F24CDB455FF73807264715C1B2 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = A9FC4A45AD6ED7B17665F4B268C94DF3 /* SDWebImagePrefetcher.m */; }; + 4CA4F8F64565882DCFA174872749C0EF /* EXPFloatTuple.h in Headers */ = {isa = PBXBuildFile; fileRef = C451A8A5427AA5AB5D37DAF272985642 /* EXPFloatTuple.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4ECDE8F58F60C36F96F38533B715BD92 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC85187A19BDD810B461B8CC46EE7BD3 /* XCTest.framework */; }; + 508B6D0572C0C3B4A3E019B814595D4A /* EXPMatchers+beInTheRangeOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B025F3EE5103387D7C86EB3E4C68515 /* EXPMatchers+beInTheRangeOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 509C2427D2BE25923B534ECF3BFBBBCF /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1AE7F1C145AAF3D4AB99A0E0E36E19 /* ImageIO.framework */; }; + 512A8238A16BAF55087F4FF444424553 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 897075E1DAE537C305AE1052CEFFB4E3 /* UIView+WebCacheOperation.m */; }; + 51FCC9EDD6B60BF63B5EF7CAC94CCF23 /* EXPMatchers+conformTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 6BE048BC0D5AF9A2870E13BC86C0C996 /* EXPMatchers+conformTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 5386920B6032F8686000D909CFF26041 /* SPTExampleGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 44147E3CF601C3736E75184BA25D282F /* SPTExampleGroup.m */; }; + 57C1DAC24BEE6C12B29AAE68DD3EBEC7 /* FBSnapshotTestController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8608A203EC978A1D7FD88E723003ED7C /* FBSnapshotTestController.m */; }; + 58BA97091E8EEAD2DD63F38176BAAC9A /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = EB5986C80DFB0D581D7281386D1F849E /* UIImageView+WebCache.m */; }; + 5922E3B61E351E2A21095BD92E4FE8AC /* NSValue+Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = 133C062D8A3470E7E3A31CC5B1245C91 /* NSValue+Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 595C01B0239526370A8C2E354B19CA4E /* UIBarButtonItemGrid.png in Resources */ = {isa = PBXBuildFile; fileRef = EF0EBC1E4BADC6777DFA32D295740CF2 /* UIBarButtonItemGrid.png */; }; + 597E5A323FD0306B81C3F7E9C8E5580D /* EXPMatchers+match.h in Headers */ = {isa = PBXBuildFile; fileRef = 36881DE5708AB45D349333D57A549DD2 /* EXPMatchers+match.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 59B9166C72F37A1DB3D0180CE483AC87 /* UIBarButtonItemGrid@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = B24B9F74B0EE4C1E6795BC5345F2AA77 /* UIBarButtonItemGrid@3x.png */; }; + 5C24F1508D2272383A5D73F0470CC517 /* VideoOverlay.png in Resources */ = {isa = PBXBuildFile; fileRef = 8D3A59F99958B0F279F4CF066B72C789 /* VideoOverlay.png */; }; + 5D3A5E9359A70F84E5EC0C4CE701DDE5 /* SPTGlobalBeforeAfterEach.h in Headers */ = {isa = PBXBuildFile; fileRef = 797655B7DD15A4A04A3FC69BF91B88AA /* SPTGlobalBeforeAfterEach.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5D4700451D6C9DFC6D5FFB86671EA2AC /* EXPDefines.h in Headers */ = {isa = PBXBuildFile; fileRef = 59855D452B1691B0EFE5A4CDD0F46111 /* EXPDefines.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5D95DC370FE619787EA993FF91CA51EE /* UIApplication+StrictKeyWindow.h in Headers */ = {isa = PBXBuildFile; fileRef = 9D80F7C3A968F87D7070B00901FBD795 /* UIApplication+StrictKeyWindow.h */; settings = {ATTRIBUTES = (Project, ); }; }; + 5E4F55D319FF771D658CCE335E7CB498 /* EXPFloatTuple.m in Sources */ = {isa = PBXBuildFile; fileRef = DF23B765E87DBFED2780A8C33B91907A /* EXPFloatTuple.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 5EFE3C1316AE3DF65B81286439987953 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 006AA56B6B680A930E6E67C1DA5CA478 /* QuartzCore.framework */; }; + 5F160713BF583BCBC136CE95E62F9C2F /* EXPMatchers+beInstanceOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 5DA914C011B86B96B4658CA65D4D412F /* EXPMatchers+beInstanceOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 5F1F0CD90AE6B72349DEB824D4BC8098 /* MWPhoto.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B3E5296CA231873D88981727796A81 /* MWPhoto.m */; }; + 60CD83FA1B2BF6E93B59834C1E0CBEF0 /* EXPUnsupportedObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 23675A50B660DEE1479E920EF997A3C9 /* EXPUnsupportedObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 620EBB19F5A1AD416FCFFFA89281D66F /* SDWebImageFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 09A0812A7F655A73CD0557189A46C44C /* SDWebImageFrame.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 64C46AF200F2347115A0DF2799D6E403 /* EXPMatchers+beNil.h in Headers */ = {isa = PBXBuildFile; fileRef = E57960341D745BC57C9E6318C645FF9D /* EXPMatchers+beNil.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 661972A0AF68C18802136F3798B3BD70 /* MWPhotoBrowser.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 258A3F8EA96DF52EA6A64B9CB18FF7FE /* MWPhotoBrowser.bundle */; }; + 6765640D14C98AB3F6D53125C2AA42E5 /* SDWebImageImageIOCoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F4CFD2DDA825000900A8FF6D36850B1 /* SDWebImageImageIOCoder.m */; }; + 676F2749A66AFB733DDA2527A2EEA207 /* MWTapDetectingView.h in Headers */ = {isa = PBXBuildFile; fileRef = 66EAEB0A19F03C0A15DC36D6CEED9D12 /* MWTapDetectingView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 678A3A851BB666756492B82E22B48EA0 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 212FCF98BF9C6FD83B3DA5A573B15F52 /* SDWebImageDownloader.m */; }; + 684A564C4855EF3622FB0748D5CCEA0F /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = FCB472AF9F1CD7040C9173402D154BDC /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 699D6D05AA0FCF96FB4B1A9FB5A8790E /* DALabeledCircularProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = DEA061AC711C8988714ACBB642758FFA /* DALabeledCircularProgressView.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + 6A725E2BDA6D302C9F30439A6390689C /* SPTCallSite.h in Headers */ = {isa = PBXBuildFile; fileRef = D0EADA2FD20C4F6D58A2AA521FB5D8A8 /* SPTCallSite.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 6C274F15FA58AB2D0685166D4E38581A /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 11C46B79E514E417C3436810601416A7 /* SDWebImageCompat.m */; }; + 6C88FB17C3AE49E50ABF4C36176B55BB /* ExpectaObject+FBSnapshotTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 84FF34EA56F7E1939382389042F07474 /* ExpectaObject+FBSnapshotTest.m */; }; + 6D52E1AB3593A3D253C5672A5FF29E71 /* MWTapDetectingImageView.m in Sources */ = {isa = PBXBuildFile; fileRef = CFBE3D27739E5429D769E714E6E0C84B /* MWTapDetectingImageView.m */; }; + 6F1C8C2851E8B7476992360408E05B40 /* SpectaUtility.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B74E801A11314F9D452821A4917DA1B /* SpectaUtility.m */; }; + 7095E0F646A7F460E7055C56E2E88814 /* MWCaptionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 82742CC30BFFC0C0DC935683D3544AEE /* MWCaptionView.m */; }; + 72C6A4FF919FF97E5B081AF8057C523A /* PlayButtonOverlayLarge.png in Resources */ = {isa = PBXBuildFile; fileRef = A4584E2BFB239A42097CBF1197A040F0 /* PlayButtonOverlayLarge.png */; }; + 754197D184C23A19146DB4C9B3B90050 /* SwiftSupport.swift in Sources */ = {isa = PBXBuildFile; fileRef = 219D3050A70834E8B5D2DFE39687ED3B /* SwiftSupport.swift */; }; + 75DF265A4FEC4E42582B8570194CB583 /* UIImage+Diff.m in Sources */ = {isa = PBXBuildFile; fileRef = 1F8F6F3C3AD734237778E04BC1CB6037 /* UIImage+Diff.m */; }; + 75ECD25D9A04097694005CCC01E901A3 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = C780D8F6E6B03AF398FC387044D4F2D7 /* UIImage+GIF.m */; }; + 778C9F1A1715E05313578E39AB46726E /* EXPMatchers+beInstanceOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 0835394C1027EEA7CF74B01022AEE6A7 /* EXPMatchers+beInstanceOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 77BC7888E58FCC337CC00DE8AD14D5C8 /* MWTapDetectingImageView.h in Headers */ = {isa = PBXBuildFile; fileRef = 34E595459418A41F72A9A7633AF893BD /* MWTapDetectingImageView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7A27CAFCB586104AA102A9C161AD0978 /* SpectaDSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 0A43D1B46B5F564514230591EC88283B /* SpectaDSL.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7CD39921888160AF4DA8FA34D8C2DA69 /* ImageSelectedOn.png in Resources */ = {isa = PBXBuildFile; fileRef = 4ABE81A591E866399399B1B376DAFF82 /* ImageSelectedOn.png */; }; + 7E81176499F06E523CE3039B08AB5051 /* EXPMatchers+beGreaterThan.h in Headers */ = {isa = PBXBuildFile; fileRef = DF2DFF2FEA074CD23F4E09CC2A887CFE /* EXPMatchers+beGreaterThan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 7F1209D2DD89FBCDABDA3CDBB0DDB49D /* XCTestCase+Specta.m in Sources */ = {isa = PBXBuildFile; fileRef = D815CA878914C766C6F913D25D009FC9 /* XCTestCase+Specta.m */; }; + 8220368E5F7EA70947BAD2B6F216C61B /* EXPMatchers+beFalsy.m in Sources */ = {isa = PBXBuildFile; fileRef = 55AC427D9AEACE873218302EDD7A2971 /* EXPMatchers+beFalsy.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 827762B596901D18DAD29830875E1922 /* SPTSpec.h in Headers */ = {isa = PBXBuildFile; fileRef = C7A440B19A0BEE8010C8A7B6F1970C97 /* SPTSpec.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 85237B80C0FD5B9DD88786241BE9F6A7 /* PlayButtonOverlayLarge@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = ADA1908AB91027891E5F32897D51E9EE /* PlayButtonOverlayLarge@2x.png */; }; + 85BB92CC3FF4FB4A54F20BCBF1666A55 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 86365A8DEDA7C9315120DED5EC7F23DC /* XCTest+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B4A2DF225ADB573B9C339D09D96E5B9 /* XCTest+Private.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 869E345707F7001308427109162748FF /* UIBarButtonItemGrid@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = E660B78BF1078029F265760191604169 /* UIBarButtonItemGrid@2x.png */; }; + 86A40D9CFD9051779B220F53DE991DCA /* SPTExample.h in Headers */ = {isa = PBXBuildFile; fileRef = C652D8FEACC720A81CDE5D65704948A6 /* SPTExample.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 86F9878C4CD25074CA36A826E9BEB5A0 /* SDWebImageGIFCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = F8BFEC1D4245F4DD93E94EFC35E40BA3 /* SDWebImageGIFCoder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 870CAAA15357EFF9E1619737DEE56067 /* EXPMatchers+raiseWithReason.m in Sources */ = {isa = PBXBuildFile; fileRef = 4A8CC1ABE45D1A7C45D1288212E7D4DF /* EXPMatchers+raiseWithReason.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 8772846C789C7C624C0C0E617E11FCF2 /* ImageSelectedSmallOff@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 4B79C7C6918FEDA16CA0388BA20212ED /* ImageSelectedSmallOff@3x.png */; }; + 87AE70A44BD8E8676B2A3EDB6E334138 /* EXPMatchers+endWith.h in Headers */ = {isa = PBXBuildFile; fileRef = 86A48661FDE5A93BEA9BFD780AE90643 /* EXPMatchers+endWith.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 87C61FE4EBA517506085582BD4175CCA /* SPTSharedExampleGroups.h in Headers */ = {isa = PBXBuildFile; fileRef = 809B01DD6D788CC4DE6CE3D8683CEAC8 /* SPTSharedExampleGroups.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8833E27F67508027ED981D4B2F23FE62 /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = E7F95C90ABCCF5CD2382994BA3577672 /* NSData+ImageContentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 889FE136349E95DFBE20F050685FB124 /* FBSnapshotTestController.h in Headers */ = {isa = PBXBuildFile; fileRef = 8D6B8B8A8849396FD2299D1313AE4C65 /* FBSnapshotTestController.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 893DEFD9A1689A407F5D0E3C4B9F7903 /* PlayButtonOverlayLargeTap.png in Resources */ = {isa = PBXBuildFile; fileRef = 5C9406101D7162C0A3C8AE883682238D /* PlayButtonOverlayLargeTap.png */; }; + 897C38C8E3C31950E2E93A4D6937CCC4 /* MBProgressHUD.m in Sources */ = {isa = PBXBuildFile; fileRef = CEA5689F3B708CF2BFC79166110B6718 /* MBProgressHUD.m */; }; + 89B7DF4E3FDEA6D466770103E570CDF3 /* ImageIO.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C1AE7F1C145AAF3D4AB99A0E0E36E19 /* ImageIO.framework */; }; + 8A551FDC7BFD61BAE67B6AA50F7F0A88 /* DACircularProgress-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 11D4265DA6049B970DE63EFCB9408C4B /* DACircularProgress-dummy.m */; }; + 8B0A34DADDB56E70CF4A5177E65AA081 /* ExpectaObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B5D403B5BE5D54A9EE6F4479896D3D7 /* ExpectaObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8B8C4B3E28E6FC6D26037EFC282BE4C5 /* EXPMatchers+beIdenticalTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 21D003368303182745E99374A21D62C1 /* EXPMatchers+beIdenticalTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8C14546CF091E0A5B1F0F37F576990B8 /* EXPMatchers+beginWith.h in Headers */ = {isa = PBXBuildFile; fileRef = 8A6CF90DC84BA072D5BEAC9173755DE3 /* EXPMatchers+beginWith.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8D49114979B44DF683A9A964565E0FE6 /* FBSnapshotTestCase-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E9010B3A3A76DB3468CC2C0ABDF7A677 /* FBSnapshotTestCase-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8E885347ED4E974636918548411FAC73 /* DALabeledCircularProgressView.h in Headers */ = {isa = PBXBuildFile; fileRef = 74E31FD373C20C8647ABA7656A2881C1 /* DALabeledCircularProgressView.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8EDC47391C8554AD5C7A91C4D5AFC5F2 /* SPTExampleGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 1B0FD4C728E6B87B8794EDB79C9D3442 /* SPTExampleGroup.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8F543D12918066B5ED30FA3E0D406EDD /* SDWebImageFrame.m in Sources */ = {isa = PBXBuildFile; fileRef = A163CAFEA865E1C4D4E82F8529E567AA /* SDWebImageFrame.m */; }; + 8F990515E868D90C15D2148DD1A22403 /* EXPMatchers+haveCountOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 36DADE10787374104D3ABF3841464B3A /* EXPMatchers+haveCountOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9605A166839E5B582E5F4A08E786DF1F /* Specta.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A2A98A961303A04AD853C2598AEAEC5 /* Specta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9652931D9A88FD07FDA158E87E3685F2 /* NSImage+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 533069FCD4D2357C766AFBE97EB063F0 /* NSImage+WebCache.m */; }; + 9695B31D33EA0EC9CFB42B9D8ABC447D /* SPTSharedExampleGroups.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C44CD9469A82DEE114A0CD555A81503 /* SPTSharedExampleGroups.m */; }; + 98571BE17A46245CA1717CF9157A0807 /* EXPMatchers+beTruthy.m in Sources */ = {isa = PBXBuildFile; fileRef = D2FB2778304D37283FB300F73ACB11A4 /* EXPMatchers+beTruthy.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 987B71AF2B872DFC9AC5B4753E5E0A78 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + 98CF4E57A36540E13153A545546A1D11 /* UIImage+Compare.m in Sources */ = {isa = PBXBuildFile; fileRef = 8A47FFA207048BB3AE615B2C33DC3BF3 /* UIImage+Compare.m */; }; + 99E6D51A8A4E3FFB7601D182D995A3BA /* ExpectaObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 1218DF70FF7BD8F0081E852D09136CB2 /* ExpectaObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 99FC4E8BADEE3C7E2410B3B688A8C0F5 /* ImageSelectedSmallOn.png in Resources */ = {isa = PBXBuildFile; fileRef = DC0669131EB7C5C450859E0556283372 /* ImageSelectedSmallOn.png */; }; + 9A0107A65862EEC612BCA28A15FCF7FF /* MWPhotoBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = 2ACB621EF3C99E5D82DFEFD15118CE7B /* MWPhotoBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9A0ADF06F5B6BC3A70EDE1285BAF9346 /* EXPMatchers+beCloseTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 03F8835ADA1197DCACDA9420BCE4F323 /* EXPMatchers+beCloseTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 9C18790878BFE2BEBF940EDF730CC8C0 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = FDB8D5551C3824BF4D3E697BEBAF9321 /* UIImageView+HighlightedWebCache.m */; }; + 9CAFC7DAE2E661FC92393E5CC55D1D61 /* EXPMatchers.h in Headers */ = {isa = PBXBuildFile; fileRef = F90E2C86D4DE89B798B2A773E0AB24B6 /* EXPMatchers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9CFF07440060332E5BCB557D40336E55 /* FBSnapshotTestCase.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C27756A8CC7F3942BFCF4BD3075E531B /* FBSnapshotTestCase.framework */; }; + 9E4463D68D13C127762B1ACB8249B64C /* EXPBlockDefinedMatcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 7520F969D83D565967BC37C62D9C0269 /* EXPBlockDefinedMatcher.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 9E9113C7797CB957AA3E624192F2966D /* MWPhoto.h in Headers */ = {isa = PBXBuildFile; fileRef = F680B78A1327BF6A9D10CB733F0C5DF4 /* MWPhoto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9EA076D25036A0F4765FF3FB57CF4A6A /* EXPMatchers+contain.m in Sources */ = {isa = PBXBuildFile; fileRef = 60566A9393CCE1B79FDD9A97A994715D /* EXPMatchers+contain.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + 9F51005FE4BF10FA9906B02DAD609C6E /* EXPMatchers+postNotification.m in Sources */ = {isa = PBXBuildFile; fileRef = 8552E4A6EFBA1F2CE59AB8126AFCBA4B /* EXPMatchers+postNotification.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A009A5959BDE92B62C551E9E14663C72 /* Pods-MWPhotoBrowser_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = E5D308582103A2B045845F926457CBB3 /* Pods-MWPhotoBrowser_Tests-dummy.m */; }; + A037AD9C808583B3EC9F49B3EEDA588A /* EXPMatchers+beginWith.m in Sources */ = {isa = PBXBuildFile; fileRef = 0C2A7186EAB1A4A92D2B96E5B3BCD58A /* EXPMatchers+beginWith.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A0612BA825C81CE45266B214DF3A8BCB /* EXPMatchers+respondTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 62CDD7010048F7EE7CBD11C966FBCB55 /* EXPMatchers+respondTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A0B36C4898CD3A75ED692AE1B945EFED /* Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = A83824C00FE40362D5C2FD7FEB662600 /* Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A2D3CFFEBD3AEA2164A535192492F3B8 /* EXPMatchers+postNotification.h in Headers */ = {isa = PBXBuildFile; fileRef = 7FB93064C829F8FAB8F4A5E8E9295162 /* EXPMatchers+postNotification.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A345C245EF2E89673371DEA8C49FEA79 /* PlayButtonOverlayLargeTap@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = DD90BA6E66D403A8480D39CFC5C94725 /* PlayButtonOverlayLargeTap@3x.png */; }; + A41034714C779552383D238C48FC4FDA /* SPTCompiledExample.h in Headers */ = {isa = PBXBuildFile; fileRef = BEC03CC75B1E1D9B75591D02054D17A6 /* SPTCompiledExample.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A46AAEAE63E0A8D4EF717E713B4792DB /* PlayButtonOverlayLargeTap@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = D689C324940A97E3ECEC09C3E528F9F2 /* PlayButtonOverlayLargeTap@2x.png */; }; + A4D708563D06FCC4791D002723CBA985 /* Specta-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 35A586DE38363FFACF331CB496F158DA /* Specta-dummy.m */; }; + A507CE74FF4BEBB954E0FC50EEC0FCE3 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E8F7E206B58D39C61036485C73522B7 /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A5BF8DBDD8660DBCFE712657F3D82BDA /* MBProgressHUD.h in Headers */ = {isa = PBXBuildFile; fileRef = 4F3A8B988E3752E4C7B2A37A1BB3C9A8 /* MBProgressHUD.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A6CC81FC886EE8FF27EF4DD48D6F8F56 /* NSValue+Expecta.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F2828C82D5149C6B0C4FF536BB9D13C /* NSValue+Expecta.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + A7154D09E5778CD7AB747DC54576D24D /* UIView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EA1E3105F69F03C75437E1269F24967 /* UIView+WebCache.m */; }; + A80F4BE1409F96416E2EB28A8E230556 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7251090D4187A68563E6334EBD625898 /* UIKit.framework */; }; + A8446D8224F103BE7F4A5237A60F0EFB /* EXPMatchers+raise.h in Headers */ = {isa = PBXBuildFile; fileRef = BDCE3A65B104C0E6EB56B0AF777AABBE /* EXPMatchers+raise.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A941B4088EB85DFDC70B3CC0CECD9D0D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + AA5060419F1307F5F03ECBEA70DB186C /* EXPMatchers+beLessThanOrEqualTo.h in Headers */ = {isa = PBXBuildFile; fileRef = D4AC7DC72202714817B462FC055B6A86 /* EXPMatchers+beLessThanOrEqualTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AAD913D4F4F1BBB83D0013DA97C75C3D /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 87112265DB37F102E0B66B4C174FC4F8 /* MediaPlayer.framework */; }; + ABBDD0372C687211E68EDCE0166F3632 /* ExpectaSupport.h in Headers */ = {isa = PBXBuildFile; fileRef = 440A375070FFF1900D674B874709F6A7 /* ExpectaSupport.h */; settings = {ATTRIBUTES = (Public, ); }; }; + AC0AB78F3A7629ED1C7F3F82BBB3F471 /* EXPMatchers+beSupersetOf.m in Sources */ = {isa = PBXBuildFile; fileRef = C87A47ADD69B800C230AADF4AE98FCCD /* EXPMatchers+beSupersetOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + AD683EAD158AB0ED4EAC88D028E78793 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 44F10B2F02F0157380E8A53ACE2F76C6 /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ADB9C858EFC52BD81D3ADB086B65A6CE /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CB2AAE67619BE68936D58875D8B1BE1 /* SDWebImageManager.m */; }; + AE7BBD46BA00A9AC69249ADA56402162 /* EXPUnsupportedObject.m in Sources */ = {isa = PBXBuildFile; fileRef = BED291B15C0FB8A6BE3216FA76108586 /* EXPUnsupportedObject.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + B1487AC2DD502CCE46631C123E047D28 /* EXPMatchers+beFalsy.h in Headers */ = {isa = PBXBuildFile; fileRef = 18A4E0975383B04248AB6DE13608A1B7 /* EXPMatchers+beFalsy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B1F8419E4476EAE6B555CE110B8C98D5 /* UIBarButtonItemArrowRight@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = CB6497CECA1BDBDF394F903E23B49F52 /* UIBarButtonItemArrowRight@2x.png */; }; + B376B4A777F62028AF0965D93658413E /* SPTExample.m in Sources */ = {isa = PBXBuildFile; fileRef = 46C3270F36FBF036B9F9B2E213207DC6 /* SPTExample.m */; }; + B3D72E30DCD432BF9239472581F55479 /* Pods-MWPhotoBrowser_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 26FA810E2A02A5F4F6EE39C42F8C385C /* Pods-MWPhotoBrowser_Example-dummy.m */; }; + B3F189747A7A3CEDA9200CB2749AC7D8 /* EXPMatchers+raiseWithReason.h in Headers */ = {isa = PBXBuildFile; fileRef = 33F63BA1E1E1A51693416153BA5625F7 /* EXPMatchers+raiseWithReason.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B517A030019E4BC67047DEC90F9FFDD0 /* MWPhotoBrowser-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 00B63B1D90B0FD8D8B03C7188803F858 /* MWPhotoBrowser-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B75280E645BE217F236C4ACDE708A688 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = AFAA551C51C6A973DF850257B2156E17 /* UIImage+GIF.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B802BA969C64EBEDB7E98BF1DAAA320B /* UIImage+MWPhotoBrowser.m in Sources */ = {isa = PBXBuildFile; fileRef = 99659F6E0E8A70FB6C01E7FF297A6993 /* UIImage+MWPhotoBrowser.m */; }; + B89A19FA40C5F590F0AAD91908FD9DDB /* Specta.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 98B58FDD948B6F3D6E37AFF86F2CD335 /* Specta.framework */; }; + BBC7D292529B7E5DB953171190E321AF /* EXPMatchers+beGreaterThanOrEqualTo.h in Headers */ = {isa = PBXBuildFile; fileRef = EAD5A8ADDC0284FCCFAD5C839D41614D /* EXPMatchers+beGreaterThanOrEqualTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BC530A8234C398F9F3AD1A1D41670B65 /* EXPMatchers+match.m in Sources */ = {isa = PBXBuildFile; fileRef = BF1AAE331EDAD0ACD6734590DAF841DB /* EXPMatchers+match.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + BD157AEB9B3A78A56264FA33306071A1 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC85187A19BDD810B461B8CC46EE7BD3 /* XCTest.framework */; }; + BEFC50BC84262D14A81C16D5AD4DAB2A /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = DF37E4DCD29DF8F188A37B92486115B8 /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BFC3AAFFCCFE94270FA4A3040449FA18 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6656F43262C00D42C4FB365262AB6923 /* CoreGraphics.framework */; }; + BFC7D32CFE8200730837306AFF61E5AD /* EXPExpect.m in Sources */ = {isa = PBXBuildFile; fileRef = 91783B9420BCC1412C3AC0E957CC7BFA /* EXPExpect.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + C0DCAD35245EB537FFCDCA0953C6A3C1 /* DACircularProgress-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EC4D020A6A897666CA2C86E776CA1A16 /* DACircularProgress-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C14CD98EE4DDC0B7689F058D5B79CC47 /* EXPMatchers+beGreaterThanOrEqualTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 316D30A499AD5F06C53021AAE4EBAD06 /* EXPMatchers+beGreaterThanOrEqualTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + C1CA627971B353DDDD82D932D7CB027E /* ImageSelectedSmallOff@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FEC83DA778DFBE7F0477F782904035CB /* ImageSelectedSmallOff@2x.png */; }; + C1DF1378F608A031627FBF81B6A9C6E5 /* SpectaTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 882378EC56E7C88E965E4F404DD574C7 /* SpectaTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C2AC23E0FE8257233E90748E4DD9651F /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CC85187A19BDD810B461B8CC46EE7BD3 /* XCTest.framework */; }; + C33AE40DCDEED7E6E0FD6965A27440C2 /* MWGridViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = AE995648A4D8E49E8DFFF2209EB1B473 /* MWGridViewController.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C4FD6800F876A6A5EDDF9F42DA80DC0C /* UIBarButtonItemArrowRight@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 928EF659695BD4571404F00C3F646A91 /* UIBarButtonItemArrowRight@3x.png */; }; + C516B672FFC9DB635E0E53DA8FC9CF88 /* FBSnapshotTestCase.m in Sources */ = {isa = PBXBuildFile; fileRef = D8485BD01170CD25274713FB4E5AFA3C /* FBSnapshotTestCase.m */; }; + C5AFB3D572FA23F39C3F650E7D69A2DB /* Pods-MWPhotoBrowser_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 2A47FBCFF4A4B34204C1E749AAF832CD /* Pods-MWPhotoBrowser_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + C5FAF77375B3BFB307079B1C23126F0E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + C670F3788B6F318BB703186712195117 /* DACircularProgressView.m in Sources */ = {isa = PBXBuildFile; fileRef = 688D02B178EAB6E4661B89049063847C /* DACircularProgressView.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; + C676818DADAC76EE2FDC5533CBF3648A /* EXPMatchers+haveCountOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 099996A1996DEC8F8659BF0210BC281D /* EXPMatchers+haveCountOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + CA12FB380E35F806A03D6094BC278F1B /* Expecta.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BD06A0F56AE2D773E042E0B0C8F50C4 /* Expecta.framework */; }; + CA946201FC6A0FF1B75A4736228BAF3F /* SDWebImageCodersManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 08D97BBBA66EE690593101D5CCEF0628 /* SDWebImageCodersManager.m */; }; + CB99A2D7D003745153A564346DF8ABA8 /* EXPMatchers+beSubclassOf.h in Headers */ = {isa = PBXBuildFile; fileRef = BC27C0E65FAEBC9A5CBA59297FBEFF9A /* EXPMatchers+beSubclassOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CB9C80CD067E2CF4A3012455BFF0789F /* MWPhotoBrowser-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F46A30A3FD25601CFAC75436567101EA /* MWPhotoBrowser-dummy.m */; }; + CD22121B77F0F8E2B6A58AF6226038C2 /* EXPMatchers+beIdenticalTo.m in Sources */ = {isa = PBXBuildFile; fileRef = FFE72111A5AD0EADFB7B8DC1DE697665 /* EXPMatchers+beIdenticalTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + CD66900813CFE317343F5A4053AE73EC /* EXPMatchers+beNil.m in Sources */ = {isa = PBXBuildFile; fileRef = 806B2D8235499FE3299D8CAE5DEE855F /* EXPMatchers+beNil.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + CDBF7F2D23165CAB8B3819A256A49F0A /* ExpectaObject+FBSnapshotTest.h in Headers */ = {isa = PBXBuildFile; fileRef = EF671C7AED8A9E9CDB735F9F9177720D /* ExpectaObject+FBSnapshotTest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + CDF5AECA235662AF55459171DDE357B5 /* UIBarButtonItemArrowLeft.png in Resources */ = {isa = PBXBuildFile; fileRef = 30CBC00516B416C19D9EAB5E15024343 /* UIBarButtonItemArrowLeft.png */; }; + CE7E4C141657D23213C7FAE616D7FA75 /* EXPMatchers+beLessThanOrEqualTo.m in Sources */ = {isa = PBXBuildFile; fileRef = 3668E9560C54BD256F0021F18C18ACB5 /* EXPMatchers+beLessThanOrEqualTo.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + D1768C977F0CD5B420D1A1D2375CDBD4 /* Expecta-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E6F4D03788C075A861F0A8104BD014 /* Expecta-dummy.m */; }; + D180489445C2C507332A6EE964ADA1E5 /* UIImage+Snapshot.h in Headers */ = {isa = PBXBuildFile; fileRef = 22191B563DCD59F328ED08C4E52EF460 /* UIImage+Snapshot.h */; settings = {ATTRIBUTES = (Private, ); }; }; + D27168D1E78ABB091A76725508E83EEB /* ImageSelectedOff.png in Resources */ = {isa = PBXBuildFile; fileRef = 3A63385DC93788614A78E17573BB29A7 /* ImageSelectedOff.png */; }; + D490834AA1304BF36991A257F3366648 /* SpectaDSL.m in Sources */ = {isa = PBXBuildFile; fileRef = 6146C03BF01FE943E82B62DE0441E3DA /* SpectaDSL.m */; }; + D4E683827200C1327D09603FB0099566 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 8376477ADE8B9F9EC5B37255EF69493E /* SDImageCache.m */; }; + D7BF9558E071FDF8643CE2B50276B777 /* SPTExcludeGlobalBeforeAfterEach.h in Headers */ = {isa = PBXBuildFile; fileRef = 3DFD6CBBD6171E40931770E7C6D431B9 /* SPTExcludeGlobalBeforeAfterEach.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D857D39E9CC39CFF66ADB3E57B5BEBA7 /* UIImage+MWPhotoBrowser.h in Headers */ = {isa = PBXBuildFile; fileRef = F65B552F27C78BC55D067D0FC008BE44 /* UIImage+MWPhotoBrowser.h */; settings = {ATTRIBUTES = (Public, ); }; }; + D9233ADA6128563C58960403A10EA678 /* SDImageCacheConfig.h in Headers */ = {isa = PBXBuildFile; fileRef = D0909F4E69BD8A803B4156D6412259BA /* SDImageCacheConfig.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DABC57DC084C71E90A93DEB338F7870C /* UIBarButtonItemArrowLeft@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 9051880B5490452EDF418038196078C7 /* UIBarButtonItemArrowLeft@2x.png */; }; + DB4989EDD807A9055F82EC4753D9807C /* ImageSelectedSmallOn@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5D1FC5174BDDCE0FF3F0264BDF235770 /* ImageSelectedSmallOn@2x.png */; }; + DB8F3665E9E382DF52E0DCB4DECE5EAE /* NSObject+Expecta.h in Headers */ = {isa = PBXBuildFile; fileRef = C9B5E615299B1FFDC70004FD355415EC /* NSObject+Expecta.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DBA80C613EF778FF4A805097821DF818 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = DA56CDC8DD2FF51419E5A9AAFDF96620 /* NSData+ImageContentType.m */; }; + DC423A980C991970F4D637AC4C47D863 /* EXPMatchers+conformTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 2CC7EBF6A13683BE80A35DBFDFAC0B80 /* EXPMatchers+conformTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DE4EF1ED618D31CA16938565A1CA0607 /* Expecta+Snapshots-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B4D060AB469072DA52FE915E78E30EF5 /* Expecta+Snapshots-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DEB8472922E4F941528B901EE3B6AD32 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 66C5CA9A1E0ADD68E0EDB15BE737D527 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DED9AE33B24B462D4B44FE94383B35F4 /* EXPMatchers+respondTo.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C0DCEB511C0665C030B6E0AF11E428E /* EXPMatchers+respondTo.h */; settings = {ATTRIBUTES = (Public, ); }; }; + DF883524C3F35145D74166C01BCFCFC3 /* EXPMatchers+beKindOf.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C82A2C90864E83C0C95FF464D01E8E2 /* EXPMatchers+beKindOf.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + E233F5CF4BF16CFB539804C4E995C355 /* EXPMatchers+beLessThan.h in Headers */ = {isa = PBXBuildFile; fileRef = BD6AC3586C92B1C1B3A230A27256C44C /* EXPMatchers+beLessThan.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E3355DB3F63F6FE79FD8DD6188B0B3A4 /* EXPMatchers+contain.h in Headers */ = {isa = PBXBuildFile; fileRef = 25D05908208B1C850BD4599CA9A15878 /* EXPMatchers+contain.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E4A877BEEB7CE9AAA9E4287F9A0D4053 /* SDWebImageCodersManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F0D831FF0A6F25139408D0EABB40A60 /* SDWebImageCodersManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E53C32AD234F4F0ABA8138FDFB9988E0 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7185572D03AB44DDAF2829EBB3BF3F2F /* AssetsLibrary.framework */; }; + E61E28B50602F353D95914765667969F /* EXPMatcherHelpers.h in Headers */ = {isa = PBXBuildFile; fileRef = EF7DF26E419A2B6172DB415BE639A715 /* EXPMatcherHelpers.h */; settings = {ATTRIBUTES = (Public, ); }; }; + E6B838C42E52C673B4D10B77414900F7 /* MWTapDetectingView.m in Sources */ = {isa = PBXBuildFile; fileRef = A96A07826CDF5C87CFBAAAC6586490E5 /* MWTapDetectingView.m */; }; + E6D59CAA2A6E134A4643254406ED11F2 /* EXPMatchers+equal.m in Sources */ = {isa = PBXBuildFile; fileRef = D4D267E16EA71E32141E361E2EC68288 /* EXPMatchers+equal.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + E868E88ACE80A53B51DD58CF5FC69BC2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */; }; + E8CCC7289747C081F6D6A10DA4239FC9 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 006AA56B6B680A930E6E67C1DA5CA478 /* QuartzCore.framework */; }; + E972E6647713D21A0F21BDAD1816AA29 /* UIImage+Snapshot.m in Sources */ = {isa = PBXBuildFile; fileRef = 78A1BD26F6E17B24D421B6A21484865C /* UIImage+Snapshot.m */; }; + EAA5EE2E40161D10E4F990E3293EC42B /* UIImage+ForceDecode.h in Headers */ = {isa = PBXBuildFile; fileRef = E54660AD7F8C114D69E5A7C07F276B6C /* UIImage+ForceDecode.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EAEE7EF93B3AE9FE87E26242C995427F /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = F9664BAAE0FBC91D73A2874A970DE7CC /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + EDF3CEAAF7922F570A5AD95B005C84F8 /* EXPMatchers+FBSnapshotTest.h in Headers */ = {isa = PBXBuildFile; fileRef = 28F0C49801CDFBF8844249A3988C5295 /* EXPMatchers+FBSnapshotTest.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F052ECCD91D2A3EE96DDCD0A1F428B84 /* Specta-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3A147DDFBFCF11B4DF3C7AEAF2BCAAE9 /* Specta-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F0873AA02837D34381D156267B9EB005 /* FBSnapshotTestCasePlatform.m in Sources */ = {isa = PBXBuildFile; fileRef = 7F0AE8A41F97DD03310123F7C44988D9 /* FBSnapshotTestCasePlatform.m */; }; + F307ECB1C1F05BE81734367F4593CA82 /* ImageSelectedOn@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 9DD2A95FF24327425CE1D2F0E6676A35 /* ImageSelectedOn@2x.png */; }; + F5C9EFA98F287C539B38C421321634B8 /* SDWebImageImageIOCoder.h in Headers */ = {isa = PBXBuildFile; fileRef = C2164F5B9E5556382FDC77FF2EEEB794 /* SDWebImageImageIOCoder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F74F0174B426B7EAB501A3788E5D381F /* EXPMatchers+beTruthy.h in Headers */ = {isa = PBXBuildFile; fileRef = BA89F9B93C4AC91381DB6935D58F621D /* EXPMatchers+beTruthy.h */; settings = {ATTRIBUTES = (Public, ); }; }; + F9948B296726F61D56887459B32366C7 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 274DD795203C0F6D8919A955AADD27F8 /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FA880173C9786F4D180CEBCF838B51AA /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = D699266F6368AB7102D04BBF8E27AD50 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FC223395BCEE46EB920CECD38AFD4402 /* EXPMatchers+beInTheRangeOf.h in Headers */ = {isa = PBXBuildFile; fileRef = 6DA65574957875AED7CC2A77AE076E79 /* EXPMatchers+beInTheRangeOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FC6474103AA989EBD5368772037BE0BB /* EXPMatchers+beSupersetOf.h in Headers */ = {isa = PBXBuildFile; fileRef = DD0A9D8DD1F9CCD8C14848964A513FAE /* EXPMatchers+beSupersetOf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FCDA06700D1989687F2471414453A57A /* SPTSpec.m in Sources */ = {isa = PBXBuildFile; fileRef = 0731F201C993799479F1DADC1D813A4C /* SPTSpec.m */; }; + FD39ACDEA6F0B6D6DBB730547CE18BA6 /* EXPExpect.h in Headers */ = {isa = PBXBuildFile; fileRef = C4D3876C6F7E9C982CD3D03A89F6D160 /* EXPExpect.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FD3B3A7C2576C490DA99B784FC9733B5 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 006AA56B6B680A930E6E67C1DA5CA478 /* QuartzCore.framework */; }; + FE88999B60943B8E3424BD38856C3F4F /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 05B0A5732A8AE4EB6072C723B1BBCB3B /* UIImage+MultiFormat.m */; }; + FF394D6FEA84206182301180AE4CB957 /* EXPMatchers+beGreaterThan.m in Sources */ = {isa = PBXBuildFile; fileRef = 2E64F4B2AB145CC06C316F5ED53F566B /* EXPMatchers+beGreaterThan.m */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; }; + FFC26E86182CFCA53E93892C55BC512F /* NSImage+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 21553E3CE1EC80DC5AC84B8A76FD061C /* NSImage+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 03EB80621CEB225BEA239E9623849733 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 05569F3C10FD91BB981D7CEE83CBC732; + remoteInfo = MWPhotoBrowser; + }; + 075141F448EFB579B366C68246BD1AF1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5D161BA711701D7E41E02A5702FD024E; + remoteInfo = Expecta; + }; + 0966BD41990B2A71AF82C35CCEF7911F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 17CEAD1B3EC4E80098DF5F8AA00BE966; + remoteInfo = DACircularProgress; + }; + 1AFBD1DC253BEA76E504E622132408E4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = D3054FB7F84727519F50B6AD1E49531E; + remoteInfo = FBSnapshotTestCase; + }; + 1F6DD810089C72A7179A4B3BDBA6E49C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 41FA54D12162DAD51D02FC58A2CD5034; + remoteInfo = MBProgressHUD; + }; + 2A81FB5B047EE166484F1879FD229B2F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = E427C6DCA153E01C52C89563011E9C39; + remoteInfo = "Expecta+Snapshots"; + }; + 3C2283D612FC9F555C705D6059F59F56 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 05569F3C10FD91BB981D7CEE83CBC732; + remoteInfo = MWPhotoBrowser; + }; + 470FBED368D7B28B1DF448F968586FFD /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7BAAEC1386420288825150BB5315CA52; + remoteInfo = SDWebImage; + }; + 4DDF989F04D3E1DCF12BBAA7836E70A9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = D3054FB7F84727519F50B6AD1E49531E; + remoteInfo = FBSnapshotTestCase; + }; + 55F0B33DD3CF11AC83898A8627EA4078 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7BAAEC1386420288825150BB5315CA52; + remoteInfo = SDWebImage; + }; + 5691182EE16CF19CD17AC03BA1ECC78F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 17CEAD1B3EC4E80098DF5F8AA00BE966; + remoteInfo = DACircularProgress; + }; + 5C6D7B5A976F2A92FE24BD14BCB09413 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5D161BA711701D7E41E02A5702FD024E; + remoteInfo = Expecta; + }; + 61E2D7E929E7CEBDFD6EB9EC4C564E56 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 17CEAD1B3EC4E80098DF5F8AA00BE966; + remoteInfo = DACircularProgress; + }; + 6498C4415296B48D93DF763C5D7880C4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7BAAEC1386420288825150BB5315CA52; + remoteInfo = SDWebImage; + }; + 68D86DBD027206337165492BDE3876AA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 21B910E0FB008FE15458D3D9B59BED16; + remoteInfo = Specta; + }; + 76A699103153BB8DE333AD621BEC7BCB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 41FA54D12162DAD51D02FC58A2CD5034; + remoteInfo = MBProgressHUD; + }; + A398874A851C46B1227DA91D7607B4BD /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 41FA54D12162DAD51D02FC58A2CD5034; + remoteInfo = MBProgressHUD; + }; + A3DF348633BAB87AFCA05AC79FD4E3E1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = A3B3CA69641375F94D39F255650BF877; + remoteInfo = "MWPhotoBrowser-MWPhotoBrowser"; + }; + B7AA50E41A2CADC36D73C7FB3C98A6B2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = 21B910E0FB008FE15458D3D9B59BED16; + remoteInfo = Specta; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 00422B9DBAFA21666530462D57859904 /* Expecta.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = Expecta.modulemap; sourceTree = ""; }; + 006AA56B6B680A930E6E67C1DA5CA478 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; + 00B63B1D90B0FD8D8B03C7188803F858 /* MWPhotoBrowser-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MWPhotoBrowser-umbrella.h"; sourceTree = ""; }; + 03F8835ADA1197DCACDA9420BCE4F323 /* EXPMatchers+beCloseTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beCloseTo.m"; path = "Expecta/Matchers/EXPMatchers+beCloseTo.m"; sourceTree = ""; }; + 05B0A5732A8AE4EB6072C723B1BBCB3B /* UIImage+MultiFormat.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+MultiFormat.m"; path = "SDWebImage/UIImage+MultiFormat.m"; sourceTree = ""; }; + 0731F201C993799479F1DADC1D813A4C /* SPTSpec.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTSpec.m; path = Specta/Specta/SPTSpec.m; sourceTree = ""; }; + 0835394C1027EEA7CF74B01022AEE6A7 /* EXPMatchers+beInstanceOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beInstanceOf.m"; path = "Expecta/Matchers/EXPMatchers+beInstanceOf.m"; sourceTree = ""; }; + 08D97BBBA66EE690593101D5CCEF0628 /* SDWebImageCodersManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCodersManager.m; path = SDWebImage/SDWebImageCodersManager.m; sourceTree = ""; }; + 08EA0836389FB929EFE5BAD994898696 /* MWZoomingScrollView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWZoomingScrollView.m; path = Pod/Classes/MWZoomingScrollView.m; sourceTree = ""; }; + 099996A1996DEC8F8659BF0210BC281D /* EXPMatchers+haveCountOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+haveCountOf.m"; path = "Expecta/Matchers/EXPMatchers+haveCountOf.m"; sourceTree = ""; }; + 09A0812A7F655A73CD0557189A46C44C /* SDWebImageFrame.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageFrame.h; path = SDWebImage/SDWebImageFrame.h; sourceTree = ""; }; + 0A43D1B46B5F564514230591EC88283B /* SpectaDSL.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaDSL.h; path = Specta/Specta/SpectaDSL.h; sourceTree = ""; }; + 0B1EDC6485D086DE0384F25B4CD8E9F8 /* DACircularProgress-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DACircularProgress-prefix.pch"; sourceTree = ""; }; + 0C2A7186EAB1A4A92D2B96E5B3BCD58A /* EXPMatchers+beginWith.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beginWith.m"; path = "Expecta/Matchers/EXPMatchers+beginWith.m"; sourceTree = ""; }; + 0EE66F54EC24ECC9F05D9D2C8F23A13C /* FBSnapshotTestCase-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FBSnapshotTestCase-prefix.pch"; sourceTree = ""; }; + 0F019F900A34ACFF035E72933950477F /* UIApplication+StrictKeyWindow.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIApplication+StrictKeyWindow.m"; path = "FBSnapshotTestCase/Categories/UIApplication+StrictKeyWindow.m"; sourceTree = ""; }; + 1006A143ABEAE635384868F805CF06D1 /* EXPMatchers+FBSnapshotTest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "EXPMatchers+FBSnapshotTest.m"; sourceTree = ""; }; + 103C90DF541C4FF19611544E3971089A /* SDWebImageCoderHelper.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCoderHelper.h; path = SDWebImage/SDWebImageCoderHelper.h; sourceTree = ""; }; + 10F38F93C6DC9D1D92B57E7D65AC46A8 /* ImageSelectedOff@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedOff@3x.png"; path = "Pod/Assets/ImageSelectedOff@3x.png"; sourceTree = ""; }; + 117F5FC781B96DF14B29FA69C6A896A8 /* EXPMatchers+equal.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+equal.h"; path = "Expecta/Matchers/EXPMatchers+equal.h"; sourceTree = ""; }; + 11C46B79E514E417C3436810601416A7 /* SDWebImageCompat.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCompat.m; path = SDWebImage/SDWebImageCompat.m; sourceTree = ""; }; + 11D4265DA6049B970DE63EFCB9408C4B /* DACircularProgress-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "DACircularProgress-dummy.m"; sourceTree = ""; }; + 1218DF70FF7BD8F0081E852D09136CB2 /* ExpectaObject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ExpectaObject.m; path = Expecta/ExpectaObject.m; sourceTree = ""; }; + 133C062D8A3470E7E3A31CC5B1245C91 /* NSValue+Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSValue+Expecta.h"; path = "Expecta/NSValue+Expecta.h"; sourceTree = ""; }; + 145504C14503A6685E92B9E36CD2F7B8 /* DACircularProgress.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = DACircularProgress.xcconfig; sourceTree = ""; }; + 145D16B8AAA1DF328532C5A6C8A46E6B /* Pods-MWPhotoBrowser_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MWPhotoBrowser_Tests.debug.xcconfig"; sourceTree = ""; }; + 15E6F4D03788C075A861F0A8104BD014 /* Expecta-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Expecta-dummy.m"; sourceTree = ""; }; + 16D8E1AB77D6A8AC529ADA31B697E780 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 18A4E0975383B04248AB6DE13608A1B7 /* EXPMatchers+beFalsy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beFalsy.h"; path = "Expecta/Matchers/EXPMatchers+beFalsy.h"; sourceTree = ""; }; + 1B0FD4C728E6B87B8794EDB79C9D3442 /* SPTExampleGroup.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExampleGroup.h; path = Specta/Specta/SPTExampleGroup.h; sourceTree = ""; }; + 1D614FBD1FBACA5F6337B22703D7E801 /* MWGridViewController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWGridViewController.m; path = Pod/Classes/MWGridViewController.m; sourceTree = ""; }; + 1D7A80F4D42B011F098474460BD62770 /* Pods-MWPhotoBrowser_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-MWPhotoBrowser_Tests.modulemap"; sourceTree = ""; }; + 1E020B67EFD974F1CBF855142B5354C1 /* Expecta+Snapshots.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Expecta+Snapshots.modulemap"; sourceTree = ""; }; + 1F0D831FF0A6F25139408D0EABB40A60 /* SDWebImageCodersManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCodersManager.h; path = SDWebImage/SDWebImageCodersManager.h; sourceTree = ""; }; + 1F8F6F3C3AD734237778E04BC1CB6037 /* UIImage+Diff.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+Diff.m"; path = "FBSnapshotTestCase/Categories/UIImage+Diff.m"; sourceTree = ""; }; + 1FCCCB9F8574B379F19E935772C5E1A9 /* EXPMatchers+endWith.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+endWith.m"; path = "Expecta/Matchers/EXPMatchers+endWith.m"; sourceTree = ""; }; + 212FCF98BF9C6FD83B3DA5A573B15F52 /* SDWebImageDownloader.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloader.m; path = SDWebImage/SDWebImageDownloader.m; sourceTree = ""; }; + 21553E3CE1EC80DC5AC84B8A76FD061C /* NSImage+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSImage+WebCache.h"; path = "SDWebImage/NSImage+WebCache.h"; sourceTree = ""; }; + 219D3050A70834E8B5D2DFE39687ED3B /* SwiftSupport.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwiftSupport.swift; path = FBSnapshotTestCase/SwiftSupport.swift; sourceTree = ""; }; + 21D003368303182745E99374A21D62C1 /* EXPMatchers+beIdenticalTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beIdenticalTo.h"; path = "Expecta/Matchers/EXPMatchers+beIdenticalTo.h"; sourceTree = ""; }; + 22191B563DCD59F328ED08C4E52EF460 /* UIImage+Snapshot.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+Snapshot.h"; path = "FBSnapshotTestCase/Categories/UIImage+Snapshot.h"; sourceTree = ""; }; + 225A9DA8E3B28D3A296CB8B7238D1299 /* MWPhotoBrowser.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MWPhotoBrowser.xcconfig; sourceTree = ""; }; + 22732D40FAB9CE5D8D565BAC25E3E054 /* EXPBlockDefinedMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPBlockDefinedMatcher.h; path = Expecta/EXPBlockDefinedMatcher.h; sourceTree = ""; }; + 23675A50B660DEE1479E920EF997A3C9 /* EXPUnsupportedObject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPUnsupportedObject.h; path = Expecta/EXPUnsupportedObject.h; sourceTree = ""; }; + 23860FEE5C673FDF6D607191791CF3FA /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 243F1ADCC25826EC7EE12F697B01C80B /* ImageSelectedSmallOff.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = ImageSelectedSmallOff.png; path = Pod/Assets/ImageSelectedSmallOff.png; sourceTree = ""; }; + 258A3F8EA96DF52EA6A64B9CB18FF7FE /* MWPhotoBrowser.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; name = MWPhotoBrowser.bundle; path = MWPhotoBrowser.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; + 25D05908208B1C850BD4599CA9A15878 /* EXPMatchers+contain.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+contain.h"; path = "Expecta/Matchers/EXPMatchers+contain.h"; sourceTree = ""; }; + 26FA810E2A02A5F4F6EE39C42F8C385C /* Pods-MWPhotoBrowser_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MWPhotoBrowser_Example-dummy.m"; sourceTree = ""; }; + 274DD795203C0F6D8919A955AADD27F8 /* SDWebImagePrefetcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImagePrefetcher.h; path = SDWebImage/SDWebImagePrefetcher.h; sourceTree = ""; }; + 2823608FDD4D7D378D287270266E8849 /* MWZoomingScrollView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWZoomingScrollView.h; path = Pod/Classes/MWZoomingScrollView.h; sourceTree = ""; }; + 28F0C49801CDFBF8844249A3988C5295 /* EXPMatchers+FBSnapshotTest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "EXPMatchers+FBSnapshotTest.h"; sourceTree = ""; }; + 29B3E5296CA231873D88981727796A81 /* MWPhoto.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWPhoto.m; path = Pod/Classes/MWPhoto.m; sourceTree = ""; }; + 29D870B6A4157EA9EE55918FE055EA83 /* SDWebImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = SDWebImage.framework; path = SDWebImage.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2A47FBCFF4A4B34204C1E749AAF832CD /* Pods-MWPhotoBrowser_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MWPhotoBrowser_Example-umbrella.h"; sourceTree = ""; }; + 2ACB621EF3C99E5D82DFEFD15118CE7B /* MWPhotoBrowser.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWPhotoBrowser.h; path = Pod/Classes/MWPhotoBrowser.h; sourceTree = ""; }; + 2C4C5EB00AEB11BBFC2104A16DD4571A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 2C5F117F3E2A678DD180B9DBB07694A2 /* MWCommon.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWCommon.h; path = Pod/Classes/MWCommon.h; sourceTree = ""; }; + 2CC7EBF6A13683BE80A35DBFDFAC0B80 /* EXPMatchers+conformTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+conformTo.h"; path = "Expecta/Matchers/EXPMatchers+conformTo.h"; sourceTree = ""; }; + 2D00467EBD9CF0A8AF08018E55DFAB2A /* EXPMatcher.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatcher.h; path = Expecta/EXPMatcher.h; sourceTree = ""; }; + 2D246A493538332EA0FC4962E3A9E3C5 /* MBProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MBProgressHUD-prefix.pch"; sourceTree = ""; }; + 2E64F4B2AB145CC06C316F5ED53F566B /* EXPMatchers+beGreaterThan.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beGreaterThan.m"; path = "Expecta/Matchers/EXPMatchers+beGreaterThan.m"; sourceTree = ""; }; + 2E8F7E206B58D39C61036485C73522B7 /* SDWebImageManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageManager.h; path = SDWebImage/SDWebImageManager.h; sourceTree = ""; }; + 2F5F8C635654B2734F03436955BA983F /* Expecta+Snapshots.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Expecta+Snapshots.xcconfig"; sourceTree = ""; }; + 30CBC00516B416C19D9EAB5E15024343 /* UIBarButtonItemArrowLeft.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = UIBarButtonItemArrowLeft.png; path = Pod/Assets/UIBarButtonItemArrowLeft.png; sourceTree = ""; }; + 30D96311181CA3686461310CFFEBB73F /* MWPhotoBrowserPrivate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWPhotoBrowserPrivate.h; path = Pod/Classes/MWPhotoBrowserPrivate.h; sourceTree = ""; }; + 312AFD90588C4B426976F85455102F07 /* Pods-MWPhotoBrowser_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MWPhotoBrowser_Example-acknowledgements.plist"; sourceTree = ""; }; + 316D30A499AD5F06C53021AAE4EBAD06 /* EXPMatchers+beGreaterThanOrEqualTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beGreaterThanOrEqualTo.m"; path = "Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.m"; sourceTree = ""; }; + 33F63BA1E1E1A51693416153BA5625F7 /* EXPMatchers+raiseWithReason.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+raiseWithReason.h"; path = "Expecta/Matchers/EXPMatchers+raiseWithReason.h"; sourceTree = ""; }; + 34DBAA598BE5C9B7181E1FD937DC3CD9 /* EXPDoubleTuple.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPDoubleTuple.m; path = Expecta/EXPDoubleTuple.m; sourceTree = ""; }; + 34E595459418A41F72A9A7633AF893BD /* MWTapDetectingImageView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWTapDetectingImageView.h; path = Pod/Classes/MWTapDetectingImageView.h; sourceTree = ""; }; + 351D2A03E857FA6ABE1D79453983F546 /* Specta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Specta.framework; path = Specta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 35A586DE38363FFACF331CB496F158DA /* Specta-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Specta-dummy.m"; sourceTree = ""; }; + 3668E9560C54BD256F0021F18C18ACB5 /* EXPMatchers+beLessThanOrEqualTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beLessThanOrEqualTo.m"; path = "Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.m"; sourceTree = ""; }; + 36881DE5708AB45D349333D57A549DD2 /* EXPMatchers+match.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+match.h"; path = "Expecta/Matchers/EXPMatchers+match.h"; sourceTree = ""; }; + 36DADE10787374104D3ABF3841464B3A /* EXPMatchers+haveCountOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+haveCountOf.h"; path = "Expecta/Matchers/EXPMatchers+haveCountOf.h"; sourceTree = ""; }; + 372305502B66E2FEADECF4C8BAA3C178 /* UIBarButtonItemArrowRight.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = UIBarButtonItemArrowRight.png; path = Pod/Assets/UIBarButtonItemArrowRight.png; sourceTree = ""; }; + 3A147DDFBFCF11B4DF3C7AEAF2BCAAE9 /* Specta-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Specta-umbrella.h"; sourceTree = ""; }; + 3A63385DC93788614A78E17573BB29A7 /* ImageSelectedOff.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = ImageSelectedOff.png; path = Pod/Assets/ImageSelectedOff.png; sourceTree = ""; }; + 3B39E671C9E7BC7CC76D6BC287B293F4 /* ImageSelectedSmallOn@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedSmallOn@3x.png"; path = "Pod/Assets/ImageSelectedSmallOn@3x.png"; sourceTree = ""; }; + 3B4A2DF225ADB573B9C339D09D96E5B9 /* XCTest+Private.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "XCTest+Private.h"; path = "Specta/Specta/XCTest+Private.h"; sourceTree = ""; }; + 3C066668DDD3E751F2325A71F696DA2A /* UIBarButtonItemArrowLeft@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "UIBarButtonItemArrowLeft@3x.png"; path = "Pod/Assets/UIBarButtonItemArrowLeft@3x.png"; sourceTree = ""; }; + 3D8151059CB1B1D1F79BC03D0662937D /* SPTTestSuite.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTTestSuite.m; path = Specta/Specta/SPTTestSuite.m; sourceTree = ""; }; + 3DFD6CBBD6171E40931770E7C6D431B9 /* SPTExcludeGlobalBeforeAfterEach.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExcludeGlobalBeforeAfterEach.h; path = Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h; sourceTree = ""; }; + 3EA1E3105F69F03C75437E1269F24967 /* UIView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCache.m"; path = "SDWebImage/UIView+WebCache.m"; sourceTree = ""; }; + 440A375070FFF1900D674B874709F6A7 /* ExpectaSupport.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ExpectaSupport.h; path = Expecta/ExpectaSupport.h; sourceTree = ""; }; + 44147E3CF601C3736E75184BA25D282F /* SPTExampleGroup.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTExampleGroup.m; path = Specta/Specta/SPTExampleGroup.m; sourceTree = ""; }; + 44D3C92397D08C668194D77B7190F571 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 44F10B2F02F0157380E8A53ACE2F76C6 /* UIImageView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+WebCache.h"; path = "SDWebImage/UIImageView+WebCache.h"; sourceTree = ""; }; + 458E448C16A7213D1471C1E02A6042B9 /* SDWebImage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = SDWebImage.xcconfig; sourceTree = ""; }; + 46C3270F36FBF036B9F9B2E213207DC6 /* SPTExample.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTExample.m; path = Specta/Specta/SPTExample.m; sourceTree = ""; }; + 46E63D45C31E5C0F3BC3B4785B6B3844 /* FBSnapshotTestCase.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = FBSnapshotTestCase.modulemap; sourceTree = ""; }; + 4A2A98A961303A04AD853C2598AEAEC5 /* Specta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Specta.h; path = Specta/Specta/Specta.h; sourceTree = ""; }; + 4A8CC1ABE45D1A7C45D1288212E7D4DF /* EXPMatchers+raiseWithReason.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+raiseWithReason.m"; path = "Expecta/Matchers/EXPMatchers+raiseWithReason.m"; sourceTree = ""; }; + 4ABE81A591E866399399B1B376DAFF82 /* ImageSelectedOn.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = ImageSelectedOn.png; path = Pod/Assets/ImageSelectedOn.png; sourceTree = ""; }; + 4B79C7C6918FEDA16CA0388BA20212ED /* ImageSelectedSmallOff@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedSmallOff@3x.png"; path = "Pod/Assets/ImageSelectedSmallOff@3x.png"; sourceTree = ""; }; + 4BAF5E7EBDC65548B916482AF2B350E0 /* Pods-MWPhotoBrowser_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-MWPhotoBrowser_Tests-acknowledgements.plist"; sourceTree = ""; }; + 4C1AE7F1C145AAF3D4AB99A0E0E36E19 /* ImageIO.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = ImageIO.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/ImageIO.framework; sourceTree = DEVELOPER_DIR; }; + 4DDB8D6EF387FAB3FFC10A311DD88F79 /* EXPMatchers+beKindOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beKindOf.h"; path = "Expecta/Matchers/EXPMatchers+beKindOf.h"; sourceTree = ""; }; + 4F0BC9914899CBCDBA12D12A6AFA4179 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 4F3A8B988E3752E4C7B2A37A1BB3C9A8 /* MBProgressHUD.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MBProgressHUD.h; sourceTree = ""; }; + 4F4FFCFE180EDD3B55DFBFED125D3F3D /* SDWebImage-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "SDWebImage-dummy.m"; sourceTree = ""; }; + 52BF2102DD8B07D4D0CFE3CEC77DFC8D /* SDWebImage.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = SDWebImage.modulemap; sourceTree = ""; }; + 533069FCD4D2357C766AFBE97EB063F0 /* NSImage+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSImage+WebCache.m"; path = "SDWebImage/NSImage+WebCache.m"; sourceTree = ""; }; + 53657BB5981D86898D644A3F9DF0C663 /* MWPhotoBrowser.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWPhotoBrowser.m; path = Pod/Classes/MWPhotoBrowser.m; sourceTree = ""; }; + 55AC427D9AEACE873218302EDD7A2971 /* EXPMatchers+beFalsy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beFalsy.m"; path = "Expecta/Matchers/EXPMatchers+beFalsy.m"; sourceTree = ""; }; + 55C4A740F6713033F5DDB33EB3344E74 /* Pods-MWPhotoBrowser_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-MWPhotoBrowser_Tests-umbrella.h"; sourceTree = ""; }; + 59855D452B1691B0EFE5A4CDD0F46111 /* EXPDefines.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPDefines.h; path = Expecta/EXPDefines.h; sourceTree = ""; }; + 5C0DCEB511C0665C030B6E0AF11E428E /* EXPMatchers+respondTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+respondTo.h"; path = "Expecta/Matchers/EXPMatchers+respondTo.h"; sourceTree = ""; }; + 5C82A2C90864E83C0C95FF464D01E8E2 /* EXPMatchers+beKindOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beKindOf.m"; path = "Expecta/Matchers/EXPMatchers+beKindOf.m"; sourceTree = ""; }; + 5C9406101D7162C0A3C8AE883682238D /* PlayButtonOverlayLargeTap.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = PlayButtonOverlayLargeTap.png; path = Pod/Assets/PlayButtonOverlayLargeTap.png; sourceTree = ""; }; + 5D1FC5174BDDCE0FF3F0264BDF235770 /* ImageSelectedSmallOn@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedSmallOn@2x.png"; path = "Pod/Assets/ImageSelectedSmallOn@2x.png"; sourceTree = ""; }; + 5DA914C011B86B96B4658CA65D4D412F /* EXPMatchers+beInstanceOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beInstanceOf.h"; path = "Expecta/Matchers/EXPMatchers+beInstanceOf.h"; sourceTree = ""; }; + 5F4CFD2DDA825000900A8FF6D36850B1 /* SDWebImageImageIOCoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageImageIOCoder.m; path = SDWebImage/SDWebImageImageIOCoder.m; sourceTree = ""; }; + 6053C23169734C3B47608287467F3A21 /* Expecta+Snapshots-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta+Snapshots-prefix.pch"; sourceTree = ""; }; + 60566A9393CCE1B79FDD9A97A994715D /* EXPMatchers+contain.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+contain.m"; path = "Expecta/Matchers/EXPMatchers+contain.m"; sourceTree = ""; }; + 6146C03BF01FE943E82B62DE0441E3DA /* SpectaDSL.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SpectaDSL.m; path = Specta/Specta/SpectaDSL.m; sourceTree = ""; }; + 62C17F88B8007524D1412CACA03A9258 /* UIButton+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIButton+WebCache.m"; path = "SDWebImage/UIButton+WebCache.m"; sourceTree = ""; }; + 62CDD7010048F7EE7CBD11C966FBCB55 /* EXPMatchers+respondTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+respondTo.m"; path = "Expecta/Matchers/EXPMatchers+respondTo.m"; sourceTree = ""; }; + 63237272B2DC6D7DA8ACB7208DC177F4 /* EXPMatchers+beLessThan.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beLessThan.m"; path = "Expecta/Matchers/EXPMatchers+beLessThan.m"; sourceTree = ""; }; + 6381EAE03216F4E72DA81436498AAEEF /* SDWebImageCompat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCompat.h; path = SDWebImage/SDWebImageCompat.h; sourceTree = ""; }; + 658814900B0E669DE2AE5D6ABDBBF375 /* SDWebImageCoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCoder.m; path = SDWebImage/SDWebImageCoder.m; sourceTree = ""; }; + 6656F43262C00D42C4FB365262AB6923 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; }; + 66C5CA9A1E0ADD68E0EDB15BE737D527 /* UIImageView+HighlightedWebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+HighlightedWebCache.h"; path = "SDWebImage/UIImageView+HighlightedWebCache.h"; sourceTree = ""; }; + 66EAEB0A19F03C0A15DC36D6CEED9D12 /* MWTapDetectingView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWTapDetectingView.h; path = Pod/Classes/MWTapDetectingView.h; sourceTree = ""; }; + 688D02B178EAB6E4661B89049063847C /* DACircularProgressView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DACircularProgressView.m; path = DACircularProgress/DACircularProgressView.m; sourceTree = ""; }; + 6BB9A57510381E2457D94ACE7E2D914B /* Specta-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Specta-prefix.pch"; sourceTree = ""; }; + 6BD06A0F56AE2D773E042E0B0C8F50C4 /* Expecta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Expecta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 6BE048BC0D5AF9A2870E13BC86C0C996 /* EXPMatchers+conformTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+conformTo.m"; path = "Expecta/Matchers/EXPMatchers+conformTo.m"; sourceTree = ""; }; + 6DA65574957875AED7CC2A77AE076E79 /* EXPMatchers+beInTheRangeOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beInTheRangeOf.h"; path = "Expecta/Matchers/EXPMatchers+beInTheRangeOf.h"; sourceTree = ""; }; + 7033CC3C7830B5B38BAD17CF925D393C /* ImageError.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = ImageError.png; path = Pod/Assets/ImageError.png; sourceTree = ""; }; + 7185572D03AB44DDAF2829EBB3BF3F2F /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework; sourceTree = DEVELOPER_DIR; }; + 724BD7C8D4F7B718573F73C3386AC66C /* DACircularProgress.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = DACircularProgress.framework; path = DACircularProgress.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7251090D4187A68563E6334EBD625898 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + 742C0DD336D50500B2EC790D16C470B6 /* DACircularProgress.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = DACircularProgress.modulemap; sourceTree = ""; }; + 74E31FD373C20C8647ABA7656A2881C1 /* DALabeledCircularProgressView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DALabeledCircularProgressView.h; path = DACircularProgress/DALabeledCircularProgressView.h; sourceTree = ""; }; + 7520F969D83D565967BC37C62D9C0269 /* EXPBlockDefinedMatcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPBlockDefinedMatcher.m; path = Expecta/EXPBlockDefinedMatcher.m; sourceTree = ""; }; + 75A72CA7E9E6ADE06FC5D35752027F35 /* Pods-MWPhotoBrowser_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MWPhotoBrowser_Tests-frameworks.sh"; sourceTree = ""; }; + 762063E37E51765775E9DAD5890D8339 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 78112E7B8A53A3D9E100B5EA255498D9 /* UIImage+Diff.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+Diff.h"; path = "FBSnapshotTestCase/Categories/UIImage+Diff.h"; sourceTree = ""; }; + 78A1BD26F6E17B24D421B6A21484865C /* UIImage+Snapshot.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+Snapshot.m"; path = "FBSnapshotTestCase/Categories/UIImage+Snapshot.m"; sourceTree = ""; }; + 797655B7DD15A4A04A3FC69BF91B88AA /* SPTGlobalBeforeAfterEach.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTGlobalBeforeAfterEach.h; path = Specta/Specta/SPTGlobalBeforeAfterEach.h; sourceTree = ""; }; + 7B025F3EE5103387D7C86EB3E4C68515 /* EXPMatchers+beInTheRangeOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beInTheRangeOf.m"; path = "Expecta/Matchers/EXPMatchers+beInTheRangeOf.m"; sourceTree = ""; }; + 7B5D403B5BE5D54A9EE6F4479896D3D7 /* ExpectaObject.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = ExpectaObject.h; path = Expecta/ExpectaObject.h; sourceTree = ""; }; + 7DAF3219D3F51719E62393A0A1DE9CCA /* SDWebImage-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SDWebImage-umbrella.h"; sourceTree = ""; }; + 7E2BC97B4DE4B29DEBC0499FC0983114 /* SDWebImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDWebImage.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 7F0AE8A41F97DD03310123F7C44988D9 /* FBSnapshotTestCasePlatform.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FBSnapshotTestCasePlatform.m; path = FBSnapshotTestCase/FBSnapshotTestCasePlatform.m; sourceTree = ""; }; + 7F6C97DBB83F8B48AAB8B190DE7093F0 /* EXPMatchers+beCloseTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beCloseTo.h"; path = "Expecta/Matchers/EXPMatchers+beCloseTo.h"; sourceTree = ""; }; + 7FB93064C829F8FAB8F4A5E8E9295162 /* EXPMatchers+postNotification.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+postNotification.h"; path = "Expecta/Matchers/EXPMatchers+postNotification.h"; sourceTree = ""; }; + 80454303ECF382C927455483A6FF8332 /* UIImage+ForceDecode.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+ForceDecode.m"; path = "SDWebImage/UIImage+ForceDecode.m"; sourceTree = ""; }; + 804DAB9B253702D1E0559A0F2D06343E /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 806B2D8235499FE3299D8CAE5DEE855F /* EXPMatchers+beNil.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beNil.m"; path = "Expecta/Matchers/EXPMatchers+beNil.m"; sourceTree = ""; }; + 809B01DD6D788CC4DE6CE3D8683CEAC8 /* SPTSharedExampleGroups.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTSharedExampleGroups.h; path = Specta/Specta/SPTSharedExampleGroups.h; sourceTree = ""; }; + 826719FB3B12A50A5D7FAF9F73D676E6 /* ImageError@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageError@3x.png"; path = "Pod/Assets/ImageError@3x.png"; sourceTree = ""; }; + 82742CC30BFFC0C0DC935683D3544AEE /* MWCaptionView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWCaptionView.m; path = Pod/Classes/MWCaptionView.m; sourceTree = ""; }; + 828E89420AFD3CCAF5EB391EEB75A3BE /* MBProgressHUD-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MBProgressHUD-umbrella.h"; sourceTree = ""; }; + 8376477ADE8B9F9EC5B37255EF69493E /* SDImageCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCache.m; path = SDWebImage/SDImageCache.m; sourceTree = ""; }; + 8490346BCFC19608909AB81EBB0A9360 /* UIView+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCache.h"; path = "SDWebImage/UIView+WebCache.h"; sourceTree = ""; }; + 84FF34EA56F7E1939382389042F07474 /* ExpectaObject+FBSnapshotTest.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ExpectaObject+FBSnapshotTest.m"; sourceTree = ""; }; + 8552E4A6EFBA1F2CE59AB8126AFCBA4B /* EXPMatchers+postNotification.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+postNotification.m"; path = "Expecta/Matchers/EXPMatchers+postNotification.m"; sourceTree = ""; }; + 8608A203EC978A1D7FD88E723003ED7C /* FBSnapshotTestController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FBSnapshotTestController.m; path = FBSnapshotTestCase/FBSnapshotTestController.m; sourceTree = ""; }; + 86A48661FDE5A93BEA9BFD780AE90643 /* EXPMatchers+endWith.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+endWith.h"; path = "Expecta/Matchers/EXPMatchers+endWith.h"; sourceTree = ""; }; + 86CFEFAB6B772D5231E82C0BC8BDD60C /* MWGridCell.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWGridCell.h; path = Pod/Classes/MWGridCell.h; sourceTree = ""; }; + 8707D617697A45FFC3B4E6529AEC176D /* FBSnapshotTestCasePlatform.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FBSnapshotTestCasePlatform.h; path = FBSnapshotTestCase/FBSnapshotTestCasePlatform.h; sourceTree = ""; }; + 87112265DB37F102E0B66B4C174FC4F8 /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/MediaPlayer.framework; sourceTree = DEVELOPER_DIR; }; + 87264D327535C6660B9802E02A6A61F7 /* Expecta-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta-umbrella.h"; sourceTree = ""; }; + 882378EC56E7C88E965E4F404DD574C7 /* SpectaTypes.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaTypes.h; path = Specta/Specta/SpectaTypes.h; sourceTree = ""; }; + 882D2A3AD477DC292E92DD4EE14F54DA /* SDImageCacheConfig.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDImageCacheConfig.m; path = SDWebImage/SDImageCacheConfig.m; sourceTree = ""; }; + 897075E1DAE537C305AE1052CEFFB4E3 /* UIView+WebCacheOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+WebCacheOperation.m"; path = "SDWebImage/UIView+WebCacheOperation.m"; sourceTree = ""; }; + 8A47FFA207048BB3AE615B2C33DC3BF3 /* UIImage+Compare.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+Compare.m"; path = "FBSnapshotTestCase/Categories/UIImage+Compare.m"; sourceTree = ""; }; + 8A6CF90DC84BA072D5BEAC9173755DE3 /* EXPMatchers+beginWith.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beginWith.h"; path = "Expecta/Matchers/EXPMatchers+beginWith.h"; sourceTree = ""; }; + 8B74E801A11314F9D452821A4917DA1B /* SpectaUtility.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SpectaUtility.m; path = Specta/Specta/SpectaUtility.m; sourceTree = ""; }; + 8CB2AAE67619BE68936D58875D8B1BE1 /* SDWebImageManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageManager.m; path = SDWebImage/SDWebImageManager.m; sourceTree = ""; }; + 8D3A59F99958B0F279F4CF066B72C789 /* VideoOverlay.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = VideoOverlay.png; path = Pod/Assets/VideoOverlay.png; sourceTree = ""; }; + 8D6B8B8A8849396FD2299D1313AE4C65 /* FBSnapshotTestController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FBSnapshotTestController.h; path = FBSnapshotTestCase/FBSnapshotTestController.h; sourceTree = ""; }; + 8DA94EEDE78A617B92FC7C2F1FCFDD30 /* MWCaptionView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWCaptionView.h; path = Pod/Classes/MWCaptionView.h; sourceTree = ""; }; + 8F2828C82D5149C6B0C4FF536BB9D13C /* NSValue+Expecta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSValue+Expecta.m"; path = "Expecta/NSValue+Expecta.m"; sourceTree = ""; }; + 9051880B5490452EDF418038196078C7 /* UIBarButtonItemArrowLeft@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "UIBarButtonItemArrowLeft@2x.png"; path = "Pod/Assets/UIBarButtonItemArrowLeft@2x.png"; sourceTree = ""; }; + 91783B9420BCC1412C3AC0E957CC7BFA /* EXPExpect.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPExpect.m; path = Expecta/EXPExpect.m; sourceTree = ""; }; + 928EF659695BD4571404F00C3F646A91 /* UIBarButtonItemArrowRight@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "UIBarButtonItemArrowRight@3x.png"; path = "Pod/Assets/UIBarButtonItemArrowRight@3x.png"; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9452F13A994528908AB6EAE8205C1DE0 /* MWPhotoProtocol.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWPhotoProtocol.h; path = Pod/Classes/MWPhotoProtocol.h; sourceTree = ""; }; + 95906729BA4557DF478FA55C6643B1BB /* UIView+WebCacheOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+WebCacheOperation.h"; path = "SDWebImage/UIView+WebCacheOperation.h"; sourceTree = ""; }; + 97BE65DDD288E7BBE0078DD66D7F6C92 /* Pods-MWPhotoBrowser_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MWPhotoBrowser_Tests-resources.sh"; sourceTree = ""; }; + 98B58FDD948B6F3D6E37AFF86F2CD335 /* Specta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Specta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 99659F6E0E8A70FB6C01E7FF297A6993 /* UIImage+MWPhotoBrowser.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+MWPhotoBrowser.m"; path = "Pod/Classes/UIImage+MWPhotoBrowser.m"; sourceTree = ""; }; + 9C335BF44A4FFD8556281669B456880A /* Specta.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Specta.xcconfig; sourceTree = ""; }; + 9C44CD9469A82DEE114A0CD555A81503 /* SPTSharedExampleGroups.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTSharedExampleGroups.m; path = Specta/Specta/SPTSharedExampleGroups.m; sourceTree = ""; }; + 9C9F8C57657482A1A5EC60276BF63689 /* PlayButtonOverlayLarge@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "PlayButtonOverlayLarge@3x.png"; path = "Pod/Assets/PlayButtonOverlayLarge@3x.png"; sourceTree = ""; }; + 9D80F7C3A968F87D7070B00901FBD795 /* UIApplication+StrictKeyWindow.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIApplication+StrictKeyWindow.h"; path = "FBSnapshotTestCase/Categories/UIApplication+StrictKeyWindow.h"; sourceTree = ""; }; + 9DD2A95FF24327425CE1D2F0E6676A35 /* ImageSelectedOn@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedOn@2x.png"; path = "Pod/Assets/ImageSelectedOn@2x.png"; sourceTree = ""; }; + A08F7EC7461EE6300BA2548CC7B4FA06 /* Expecta-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta-prefix.pch"; sourceTree = ""; }; + A163CAFEA865E1C4D4E82F8529E567AA /* SDWebImageFrame.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageFrame.m; path = SDWebImage/SDWebImageFrame.m; sourceTree = ""; }; + A243D2992AD2D85A4E1D2F565ED5314B /* MWPhotoBrowser.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = MWPhotoBrowser.framework; path = MWPhotoBrowser.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A4584E2BFB239A42097CBF1197A040F0 /* PlayButtonOverlayLarge.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = PlayButtonOverlayLarge.png; path = Pod/Assets/PlayButtonOverlayLarge.png; sourceTree = ""; }; + A63F64801A1BC07667D59EEC3F3DED45 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A6FA52D7E614071B008864D8A2E42CF2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + A701B314AB0DF1AE979C8FE8CEC33AD1 /* Pods-MWPhotoBrowser_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MWPhotoBrowser_Tests.release.xcconfig"; sourceTree = ""; }; + A83824C00FE40362D5C2FD7FEB662600 /* Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Expecta.h; path = Expecta/Expecta.h; sourceTree = ""; }; + A96A07826CDF5C87CFBAAAC6586490E5 /* MWTapDetectingView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWTapDetectingView.m; path = Pod/Classes/MWTapDetectingView.m; sourceTree = ""; }; + A9FC4A45AD6ED7B17665F4B268C94DF3 /* SDWebImagePrefetcher.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImagePrefetcher.m; path = SDWebImage/SDWebImagePrefetcher.m; sourceTree = ""; }; + AA9E18743C351AA1E50C8DC88D6EAD81 /* Expecta_Snapshots.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Expecta_Snapshots.framework; path = "Expecta+Snapshots.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + AAF030BC9AAF921200A86DCD65B62342 /* SpectaUtility.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SpectaUtility.h; path = Specta/Specta/SpectaUtility.h; sourceTree = ""; }; + AB512B085EB3CEE4006E9DFB31CA5654 /* Pods-MWPhotoBrowser_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MWPhotoBrowser_Example.debug.xcconfig"; sourceTree = ""; }; + ABC96A5280D954097CAF07CA3D5FB074 /* UIImage+Compare.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+Compare.h"; path = "FBSnapshotTestCase/Categories/UIImage+Compare.h"; sourceTree = ""; }; + AD807933B83DDB019506E207B1F2939C /* XCTestCase+Specta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "XCTestCase+Specta.h"; path = "Specta/Specta/XCTestCase+Specta.h"; sourceTree = ""; }; + ADA1908AB91027891E5F32897D51E9EE /* PlayButtonOverlayLarge@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "PlayButtonOverlayLarge@2x.png"; path = "Pod/Assets/PlayButtonOverlayLarge@2x.png"; sourceTree = ""; }; + AE995648A4D8E49E8DFFF2209EB1B473 /* MWGridViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWGridViewController.h; path = Pod/Classes/MWGridViewController.h; sourceTree = ""; }; + AFAA551C51C6A973DF850257B2156E17 /* UIImage+GIF.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+GIF.h"; path = "SDWebImage/UIImage+GIF.h"; sourceTree = ""; }; + B16EC20816338619C57269A710455C71 /* SDWebImageCoderHelper.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageCoderHelper.m; path = SDWebImage/SDWebImageCoderHelper.m; sourceTree = ""; }; + B24B9F74B0EE4C1E6795BC5345F2AA77 /* UIBarButtonItemGrid@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "UIBarButtonItemGrid@3x.png"; path = "Pod/Assets/UIBarButtonItemGrid@3x.png"; sourceTree = ""; }; + B40A7D029165A2E184A47000A747706C /* MBProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MBProgressHUD-dummy.m"; sourceTree = ""; }; + B4D060AB469072DA52FE915E78E30EF5 /* Expecta+Snapshots-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Expecta+Snapshots-umbrella.h"; sourceTree = ""; }; + B5AAAB6EF703FC482663F36230CB63F9 /* EXPMatchers+raise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+raise.m"; path = "Expecta/Matchers/EXPMatchers+raise.m"; sourceTree = ""; }; + B7CFC40770B9EB8D96779BE2BC33D73B /* Pods_MWPhotoBrowser_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_MWPhotoBrowser_Tests.framework; path = "Pods-MWPhotoBrowser_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + B866DA8CA73611978B4C992400C07240 /* EXPDoubleTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPDoubleTuple.h; path = Expecta/EXPDoubleTuple.h; sourceTree = ""; }; + B8F74AD9993D30E41EDCA783147B8B6B /* SPTCompiledExample.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTCompiledExample.m; path = Specta/Specta/SPTCompiledExample.m; sourceTree = ""; }; + BA89F9B93C4AC91381DB6935D58F621D /* EXPMatchers+beTruthy.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beTruthy.h"; path = "Expecta/Matchers/EXPMatchers+beTruthy.h"; sourceTree = ""; }; + BB5B3FF6A34ABEAD2D59AAE709FB06BC /* MBProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = MBProgressHUD.framework; path = MBProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BC27C0E65FAEBC9A5CBA59297FBEFF9A /* EXPMatchers+beSubclassOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beSubclassOf.h"; path = "Expecta/Matchers/EXPMatchers+beSubclassOf.h"; sourceTree = ""; }; + BD6AC3586C92B1C1B3A230A27256C44C /* EXPMatchers+beLessThan.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beLessThan.h"; path = "Expecta/Matchers/EXPMatchers+beLessThan.h"; sourceTree = ""; }; + BDCE3A65B104C0E6EB56B0AF777AABBE /* EXPMatchers+raise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+raise.h"; path = "Expecta/Matchers/EXPMatchers+raise.h"; sourceTree = ""; }; + BE68D6DAEC2252570A6DA449600DF0A2 /* ImageError@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageError@2x.png"; path = "Pod/Assets/ImageError@2x.png"; sourceTree = ""; }; + BEC03CC75B1E1D9B75591D02054D17A6 /* SPTCompiledExample.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTCompiledExample.h; path = Specta/Specta/SPTCompiledExample.h; sourceTree = ""; }; + BED291B15C0FB8A6BE3216FA76108586 /* EXPUnsupportedObject.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPUnsupportedObject.m; path = Expecta/EXPUnsupportedObject.m; sourceTree = ""; }; + BEDD51AD216E11D5134E8CD75F368BF0 /* VideoOverlay@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "VideoOverlay@2x.png"; path = "Pod/Assets/VideoOverlay@2x.png"; sourceTree = ""; }; + BF1AAE331EDAD0ACD6734590DAF841DB /* EXPMatchers+match.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+match.m"; path = "Expecta/Matchers/EXPMatchers+match.m"; sourceTree = ""; }; + C04FF82E7C7D995F8A2D6601E58AAF3F /* SPTTestSuite.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTTestSuite.h; path = Specta/Specta/SPTTestSuite.h; sourceTree = ""; }; + C0F616D883A7444DEB7BB3DE6DDD5294 /* FBSnapshotTestCase.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = FBSnapshotTestCase.framework; path = FBSnapshotTestCase.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C1982078341672F2591EBD2210D4589A /* SDWebImageGIFCoder.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageGIFCoder.m; path = SDWebImage/SDWebImageGIFCoder.m; sourceTree = ""; }; + C2164F5B9E5556382FDC77FF2EEEB794 /* SDWebImageImageIOCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageImageIOCoder.h; path = SDWebImage/SDWebImageImageIOCoder.h; sourceTree = ""; }; + C27756A8CC7F3942BFCF4BD3075E531B /* FBSnapshotTestCase.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FBSnapshotTestCase.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C34C952BF4CC10D30E08BB3F51AC1C8E /* Expecta.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Expecta.framework; path = Expecta.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + C41B18182CF0390E0CAD79371D52ABA4 /* Pods-MWPhotoBrowser_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MWPhotoBrowser_Example-frameworks.sh"; sourceTree = ""; }; + C451A8A5427AA5AB5D37DAF272985642 /* EXPFloatTuple.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPFloatTuple.h; path = Expecta/EXPFloatTuple.h; sourceTree = ""; }; + C4D3876C6F7E9C982CD3D03A89F6D160 /* EXPExpect.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPExpect.h; path = Expecta/EXPExpect.h; sourceTree = ""; }; + C652D8FEACC720A81CDE5D65704948A6 /* SPTExample.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTExample.h; path = Specta/Specta/SPTExample.h; sourceTree = ""; }; + C780D8F6E6B03AF398FC387044D4F2D7 /* UIImage+GIF.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImage+GIF.m"; path = "SDWebImage/UIImage+GIF.m"; sourceTree = ""; }; + C7A440B19A0BEE8010C8A7B6F1970C97 /* SPTSpec.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTSpec.h; path = Specta/Specta/SPTSpec.h; sourceTree = ""; }; + C87A47ADD69B800C230AADF4AE98FCCD /* EXPMatchers+beSupersetOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beSupersetOf.m"; path = "Expecta/Matchers/EXPMatchers+beSupersetOf.m"; sourceTree = ""; }; + C95A9C2F7DC210C9359319C653C147BF /* Specta.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = Specta.modulemap; sourceTree = ""; }; + C9B5E615299B1FFDC70004FD355415EC /* NSObject+Expecta.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSObject+Expecta.h"; path = "Expecta/NSObject+Expecta.h"; sourceTree = ""; }; + CA74C43AA7C799FCE8B6AC11289964C0 /* MBProgressHUD.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = MBProgressHUD.modulemap; sourceTree = ""; }; + CB6497CECA1BDBDF394F903E23B49F52 /* UIBarButtonItemArrowRight@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "UIBarButtonItemArrowRight@2x.png"; path = "Pod/Assets/UIBarButtonItemArrowRight@2x.png"; sourceTree = ""; }; + CC85187A19BDD810B461B8CC46EE7BD3 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + CD5630D69D657C9DB520AF7F80FB3809 /* DACircularProgressView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = DACircularProgressView.h; path = DACircularProgress/DACircularProgressView.h; sourceTree = ""; }; + CEA5689F3B708CF2BFC79166110B6718 /* MBProgressHUD.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = MBProgressHUD.m; sourceTree = ""; }; + CFBE3D27739E5429D769E714E6E0C84B /* MWTapDetectingImageView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWTapDetectingImageView.m; path = Pod/Classes/MWTapDetectingImageView.m; sourceTree = ""; }; + D00E13F031F5352D65E5FA1EA9C98CC9 /* DACircularProgress.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = DACircularProgress.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D0909F4E69BD8A803B4156D6412259BA /* SDImageCacheConfig.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCacheConfig.h; path = SDWebImage/SDImageCacheConfig.h; sourceTree = ""; }; + D0E8B83AB52702501AA49181E9709A60 /* Pods-MWPhotoBrowser_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MWPhotoBrowser_Tests-acknowledgements.markdown"; sourceTree = ""; }; + D0EADA2FD20C4F6D58A2AA521FB5D8A8 /* SPTCallSite.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SPTCallSite.h; path = Specta/Specta/SPTCallSite.h; sourceTree = ""; }; + D27F5456DFB71E302F5CB74E9805067F /* VideoOverlay@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "VideoOverlay@3x.png"; path = "Pod/Assets/VideoOverlay@3x.png"; sourceTree = ""; }; + D2C1F24BE5B04EF85E8BEEF0C6F21378 /* MBProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MBProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + D2FB2778304D37283FB300F73ACB11A4 /* EXPMatchers+beTruthy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beTruthy.m"; path = "Expecta/Matchers/EXPMatchers+beTruthy.m"; sourceTree = ""; }; + D33AB238D91F5AE4E645E91CAE1887E0 /* Pods-MWPhotoBrowser_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-MWPhotoBrowser_Example.release.xcconfig"; sourceTree = ""; }; + D4AC7DC72202714817B462FC055B6A86 /* EXPMatchers+beLessThanOrEqualTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beLessThanOrEqualTo.h"; path = "Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h"; sourceTree = ""; }; + D4B9E4296D3E715172FAB3E2526E3E1A /* MWPhotoBrowser-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "MWPhotoBrowser-prefix.pch"; sourceTree = ""; }; + D4D267E16EA71E32141E361E2EC68288 /* EXPMatchers+equal.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+equal.m"; path = "Expecta/Matchers/EXPMatchers+equal.m"; sourceTree = ""; }; + D5A94F9AA31667A63826EE0853C3D824 /* MWGridCell.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = MWGridCell.m; path = Pod/Classes/MWGridCell.m; sourceTree = ""; }; + D663E0B91347441C9D33535BBA9D8087 /* FBSnapshotTestCase-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FBSnapshotTestCase-dummy.m"; sourceTree = ""; }; + D689C324940A97E3ECEC09C3E528F9F2 /* PlayButtonOverlayLargeTap@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "PlayButtonOverlayLargeTap@2x.png"; path = "Pod/Assets/PlayButtonOverlayLargeTap@2x.png"; sourceTree = ""; }; + D699266F6368AB7102D04BBF8E27AD50 /* SDWebImageOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageOperation.h; path = SDWebImage/SDWebImageOperation.h; sourceTree = ""; }; + D815CA878914C766C6F913D25D009FC9 /* XCTestCase+Specta.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "XCTestCase+Specta.m"; path = "Specta/Specta/XCTestCase+Specta.m"; sourceTree = ""; }; + D8485BD01170CD25274713FB4E5AFA3C /* FBSnapshotTestCase.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FBSnapshotTestCase.m; path = FBSnapshotTestCase/FBSnapshotTestCase.m; sourceTree = ""; }; + DA56CDC8DD2FF51419E5A9AAFDF96620 /* NSData+ImageContentType.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSData+ImageContentType.m"; path = "SDWebImage/NSData+ImageContentType.m"; sourceTree = ""; }; + DC0669131EB7C5C450859E0556283372 /* ImageSelectedSmallOn.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = ImageSelectedSmallOn.png; path = Pod/Assets/ImageSelectedSmallOn.png; sourceTree = ""; }; + DD0A9D8DD1F9CCD8C14848964A513FAE /* EXPMatchers+beSupersetOf.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beSupersetOf.h"; path = "Expecta/Matchers/EXPMatchers+beSupersetOf.h"; sourceTree = ""; }; + DD7FBA42D8165F71A6C4CEFBAE670C9B /* FBSnapshotTestCase.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = FBSnapshotTestCase.xcconfig; sourceTree = ""; }; + DD90BA6E66D403A8480D39CFC5C94725 /* PlayButtonOverlayLargeTap@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "PlayButtonOverlayLargeTap@3x.png"; path = "Pod/Assets/PlayButtonOverlayLargeTap@3x.png"; sourceTree = ""; }; + DEA061AC711C8988714ACBB642758FFA /* DALabeledCircularProgressView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = DALabeledCircularProgressView.m; path = DACircularProgress/DALabeledCircularProgressView.m; sourceTree = ""; }; + DF23B765E87DBFED2780A8C33B91907A /* EXPFloatTuple.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPFloatTuple.m; path = Expecta/EXPFloatTuple.m; sourceTree = ""; }; + DF2DFF2FEA074CD23F4E09CC2A887CFE /* EXPMatchers+beGreaterThan.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beGreaterThan.h"; path = "Expecta/Matchers/EXPMatchers+beGreaterThan.h"; sourceTree = ""; }; + DF37E4DCD29DF8F188A37B92486115B8 /* SDWebImageDownloader.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloader.h; path = SDWebImage/SDWebImageDownloader.h; sourceTree = ""; }; + DF924D8824A2FE0357DFCC15042A8DFE /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SDWebImageDownloaderOperation.m; path = SDWebImage/SDWebImageDownloaderOperation.m; sourceTree = ""; }; + DF92CB0F0037B094129E75406C0CA75F /* Expecta+Snapshots-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Expecta+Snapshots-dummy.m"; sourceTree = ""; }; + E03FDF3E06E3C298C006BEC707758548 /* SPTCallSite.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = SPTCallSite.m; path = Specta/Specta/SPTCallSite.m; sourceTree = ""; }; + E0B1C6D00118C25A6709FDDFA77A32A9 /* MWPhotoBrowser.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = MWPhotoBrowser.modulemap; sourceTree = ""; }; + E14832EF53301BB36C98775051ADD1D3 /* UIImage+MultiFormat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+MultiFormat.h"; path = "SDWebImage/UIImage+MultiFormat.h"; sourceTree = ""; }; + E1EC5D184A4723F71F9B2A90D0AB7C30 /* Pods-MWPhotoBrowser_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-MWPhotoBrowser_Example-acknowledgements.markdown"; sourceTree = ""; }; + E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + E54660AD7F8C114D69E5A7C07F276B6C /* UIImage+ForceDecode.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+ForceDecode.h"; path = "SDWebImage/UIImage+ForceDecode.h"; sourceTree = ""; }; + E57960341D745BC57C9E6318C645FF9D /* EXPMatchers+beNil.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beNil.h"; path = "Expecta/Matchers/EXPMatchers+beNil.h"; sourceTree = ""; }; + E5D308582103A2B045845F926457CBB3 /* Pods-MWPhotoBrowser_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-MWPhotoBrowser_Tests-dummy.m"; sourceTree = ""; }; + E5E29F5A6A630A6472EC24A07BAFE1BD /* ImageSelectedOff@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedOff@2x.png"; path = "Pod/Assets/ImageSelectedOff@2x.png"; sourceTree = ""; }; + E6254C5E528834B38313B3104C9DCDE6 /* FBSnapshotTestCase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FBSnapshotTestCase.h; path = FBSnapshotTestCase/FBSnapshotTestCase.h; sourceTree = ""; }; + E656C570F57752899DBBF5920BAB709A /* SDWebImageCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageCoder.h; path = SDWebImage/SDWebImageCoder.h; sourceTree = ""; }; + E660B78BF1078029F265760191604169 /* UIBarButtonItemGrid@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "UIBarButtonItemGrid@2x.png"; path = "Pod/Assets/UIBarButtonItemGrid@2x.png"; sourceTree = ""; }; + E6B69656D79C46FD022B11B7B314B283 /* UIButton+WebCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIButton+WebCache.h"; path = "SDWebImage/UIButton+WebCache.h"; sourceTree = ""; }; + E7F95C90ABCCF5CD2382994BA3577672 /* NSData+ImageContentType.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSData+ImageContentType.h"; path = "SDWebImage/NSData+ImageContentType.h"; sourceTree = ""; }; + E8BE2F6E246D1B328DCD06CB6939150A /* ResourceBundle-MWPhotoBrowser-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-MWPhotoBrowser-Info.plist"; sourceTree = ""; }; + E9010B3A3A76DB3468CC2C0ABDF7A677 /* FBSnapshotTestCase-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FBSnapshotTestCase-umbrella.h"; sourceTree = ""; }; + E9DC961588A53054B30975AF3B52C9C1 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + EAD5A8ADDC0284FCCFAD5C839D41614D /* EXPMatchers+beGreaterThanOrEqualTo.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "EXPMatchers+beGreaterThanOrEqualTo.h"; path = "Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h"; sourceTree = ""; }; + EB5986C80DFB0D581D7281386D1F849E /* UIImageView+WebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+WebCache.m"; path = "SDWebImage/UIImageView+WebCache.m"; sourceTree = ""; }; + EC4D020A6A897666CA2C86E776CA1A16 /* DACircularProgress-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DACircularProgress-umbrella.h"; sourceTree = ""; }; + EF0EBC1E4BADC6777DFA32D295740CF2 /* UIBarButtonItemGrid.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = UIBarButtonItemGrid.png; path = Pod/Assets/UIBarButtonItemGrid.png; sourceTree = ""; }; + EF671C7AED8A9E9CDB735F9F9177720D /* ExpectaObject+FBSnapshotTest.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ExpectaObject+FBSnapshotTest.h"; sourceTree = ""; }; + EF7DF26E419A2B6172DB415BE639A715 /* EXPMatcherHelpers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatcherHelpers.h; path = Expecta/Matchers/EXPMatcherHelpers.h; sourceTree = ""; }; + F0A15D85317DEC0696D1995FC9449385 /* Expecta.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Expecta.xcconfig; sourceTree = ""; }; + F1B87ABBF2348F5E9CDB662D36FE572D /* MBProgressHUD.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = MBProgressHUD.xcconfig; sourceTree = ""; }; + F46A30A3FD25601CFAC75436567101EA /* MWPhotoBrowser-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "MWPhotoBrowser-dummy.m"; sourceTree = ""; }; + F4D9572B8A00B5B5F552205E6F06DBF0 /* EXPMatcherHelpers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = EXPMatcherHelpers.m; path = Expecta/Matchers/EXPMatcherHelpers.m; sourceTree = ""; }; + F65B552F27C78BC55D067D0FC008BE44 /* UIImage+MWPhotoBrowser.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImage+MWPhotoBrowser.h"; path = "Pod/Classes/UIImage+MWPhotoBrowser.h"; sourceTree = ""; }; + F680B78A1327BF6A9D10CB733F0C5DF4 /* MWPhoto.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = MWPhoto.h; path = Pod/Classes/MWPhoto.h; sourceTree = ""; }; + F8BFEC1D4245F4DD93E94EFC35E40BA3 /* SDWebImageGIFCoder.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageGIFCoder.h; path = SDWebImage/SDWebImageGIFCoder.h; sourceTree = ""; }; + F90E2C86D4DE89B798B2A773E0AB24B6 /* EXPMatchers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = EXPMatchers.h; path = Expecta/Matchers/EXPMatchers.h; sourceTree = ""; }; + F9664BAAE0FBC91D73A2874A970DE7CC /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDWebImageDownloaderOperation.h; path = SDWebImage/SDWebImageDownloaderOperation.h; sourceTree = ""; }; + F9665CC1C8486D8C4FCFBAE322E5C9FB /* Pods_MWPhotoBrowser_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_MWPhotoBrowser_Example.framework; path = "Pods-MWPhotoBrowser_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + F9C4061EDC77B7592EA581255852AAEF /* ExpectaSupport.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = ExpectaSupport.m; path = Expecta/ExpectaSupport.m; sourceTree = ""; }; + FAB691F09C8269243303BA57461BD48A /* EXPMatchers+beSubclassOf.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beSubclassOf.m"; path = "Expecta/Matchers/EXPMatchers+beSubclassOf.m"; sourceTree = ""; }; + FCB472AF9F1CD7040C9173402D154BDC /* SDImageCache.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = SDImageCache.h; path = SDWebImage/SDImageCache.h; sourceTree = ""; }; + FD75A71D1DA5FF99CA8DDBA0E962B6C6 /* Pods-MWPhotoBrowser_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-MWPhotoBrowser_Example.modulemap"; sourceTree = ""; }; + FDB8D5551C3824BF4D3E697BEBAF9321 /* UIImageView+HighlightedWebCache.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIImageView+HighlightedWebCache.m"; path = "SDWebImage/UIImageView+HighlightedWebCache.m"; sourceTree = ""; }; + FDBC2B5330B72DD9C0BA297BC40B29A3 /* Pods-MWPhotoBrowser_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-MWPhotoBrowser_Example-resources.sh"; sourceTree = ""; }; + FEC83DA778DFBE7F0477F782904035CB /* ImageSelectedSmallOff@2x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedSmallOff@2x.png"; path = "Pod/Assets/ImageSelectedSmallOff@2x.png"; sourceTree = ""; }; + FF98F55A474F7FDAA209469D4A6EC09E /* SDWebImage-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "SDWebImage-prefix.pch"; sourceTree = ""; }; + FFE72111A5AD0EADFB7B8DC1DE697665 /* EXPMatchers+beIdenticalTo.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "EXPMatchers+beIdenticalTo.m"; path = "Expecta/Matchers/EXPMatchers+beIdenticalTo.m"; sourceTree = ""; }; + FFFA5D2FB009CD1ADE58C7BC1BCA79F8 /* ImageSelectedOn@3x.png */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = image.png; name = "ImageSelectedOn@3x.png"; path = "Pod/Assets/ImageSelectedOn@3x.png"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 0C767A33954929B3DA39B1724C2855BB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 19B6B108A674BD810C36A118644862C4 /* Foundation.framework in Frameworks */, + E8CCC7289747C081F6D6A10DA4239FC9 /* QuartzCore.framework in Frameworks */, + A80F4BE1409F96416E2EB28A8E230556 /* UIKit.framework in Frameworks */, + C2AC23E0FE8257233E90748E4DD9651F /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2933D507F1FD5C5C05AD1ABBB28D34A9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 85BB92CC3FF4FB4A54F20BCBF1666A55 /* Foundation.framework in Frameworks */, + BD157AEB9B3A78A56264FA33306071A1 /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 42FFB9953A2EFCD92A0221996ED6A647 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + A941B4088EB85DFDC70B3CC0CECD9D0D /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5E4390C84A2DB75B3F210723EE9D9DFD /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 245786D11B0E748F2451821FB222CA56 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6F73CD37F5955C20F2E0FAD2F6EAAC52 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E868E88ACE80A53B51DD58CF5FC69BC2 /* Foundation.framework in Frameworks */, + FD3B3A7C2576C490DA99B784FC9733B5 /* QuartzCore.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AE6960CD279CB1C687E755305AF5007D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + E53C32AD234F4F0ABA8138FDFB9988E0 /* AssetsLibrary.framework in Frameworks */, + 3F1B65A91410AB86B04D08DCC43A9C1F /* DACircularProgress.framework in Frameworks */, + C5FAF77375B3BFB307079B1C23126F0E /* Foundation.framework in Frameworks */, + 509C2427D2BE25923B534ECF3BFBBBCF /* ImageIO.framework in Frameworks */, + 264BD5002135684A4911CCFB49D3AD35 /* MBProgressHUD.framework in Frameworks */, + AAD913D4F4F1BBB83D0013DA97C75C3D /* MediaPlayer.framework in Frameworks */, + 29871785E994719405A04433C12E2310 /* QuartzCore.framework in Frameworks */, + 0293829508280E8F11BFD9B273898E33 /* SDWebImage.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B57774E30FD88AE26F9037E1360E947B /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BFC3AAFFCCFE94270FA4A3040449FA18 /* CoreGraphics.framework in Frameworks */, + 14CA32AACADBC7D008311E6F720D583D /* Foundation.framework in Frameworks */, + 5EFE3C1316AE3DF65B81286439987953 /* QuartzCore.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B98A9F8FBAD747531D69A90AEEA779DB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 09B18A0AFD81C25D53BC3FC246DA2349 /* Foundation.framework in Frameworks */, + 11948E16BF3548C7BABF77C532966B84 /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D88C806F697542EB2CF51F7CAF3AA92C /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 987B71AF2B872DFC9AC5B4753E5E0A78 /* Foundation.framework in Frameworks */, + 89B7DF4E3FDEA6D466770103E570CDF3 /* ImageIO.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EA7419253261239D5483B3966111A1FC /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + CA12FB380E35F806A03D6094BC278F1B /* Expecta.framework in Frameworks */, + 9CFF07440060332E5BCB557D40336E55 /* FBSnapshotTestCase.framework in Frameworks */, + 21B3DAADDCABBFDD03478CCBF5DE49D4 /* Foundation.framework in Frameworks */, + B89A19FA40C5F590F0AAD91908FD9DDB /* Specta.framework in Frameworks */, + 4ECDE8F58F60C36F96F38533B715BD92 /* XCTest.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE6DD1672B9F594EED3C512FCE2D414E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0A4D073E3A5838BA6B024D2769CCB832 /* MWPhotoBrowser */ = { + isa = PBXGroup; + children = ( + 8DA94EEDE78A617B92FC7C2F1FCFDD30 /* MWCaptionView.h */, + 82742CC30BFFC0C0DC935683D3544AEE /* MWCaptionView.m */, + 2C5F117F3E2A678DD180B9DBB07694A2 /* MWCommon.h */, + 86CFEFAB6B772D5231E82C0BC8BDD60C /* MWGridCell.h */, + D5A94F9AA31667A63826EE0853C3D824 /* MWGridCell.m */, + AE995648A4D8E49E8DFFF2209EB1B473 /* MWGridViewController.h */, + 1D614FBD1FBACA5F6337B22703D7E801 /* MWGridViewController.m */, + F680B78A1327BF6A9D10CB733F0C5DF4 /* MWPhoto.h */, + 29B3E5296CA231873D88981727796A81 /* MWPhoto.m */, + 2ACB621EF3C99E5D82DFEFD15118CE7B /* MWPhotoBrowser.h */, + 53657BB5981D86898D644A3F9DF0C663 /* MWPhotoBrowser.m */, + 30D96311181CA3686461310CFFEBB73F /* MWPhotoBrowserPrivate.h */, + 9452F13A994528908AB6EAE8205C1DE0 /* MWPhotoProtocol.h */, + 34E595459418A41F72A9A7633AF893BD /* MWTapDetectingImageView.h */, + CFBE3D27739E5429D769E714E6E0C84B /* MWTapDetectingImageView.m */, + 66EAEB0A19F03C0A15DC36D6CEED9D12 /* MWTapDetectingView.h */, + A96A07826CDF5C87CFBAAAC6586490E5 /* MWTapDetectingView.m */, + 2823608FDD4D7D378D287270266E8849 /* MWZoomingScrollView.h */, + 08EA0836389FB929EFE5BAD994898696 /* MWZoomingScrollView.m */, + F65B552F27C78BC55D067D0FC008BE44 /* UIImage+MWPhotoBrowser.h */, + 99659F6E0E8A70FB6C01E7FF297A6993 /* UIImage+MWPhotoBrowser.m */, + 79ABF94858B00C8799B995BD41D0CFA3 /* Resources */, + F4DB65BD22016FEDEE2CD8AE2D94F686 /* Support Files */, + ); + name = MWPhotoBrowser; + path = ../..; + sourceTree = ""; + }; + 0F79814D4BD61C6882A8C7BFE2F83620 /* Pods-MWPhotoBrowser_Tests */ = { + isa = PBXGroup; + children = ( + 4F0BC9914899CBCDBA12D12A6AFA4179 /* Info.plist */, + 1D7A80F4D42B011F098474460BD62770 /* Pods-MWPhotoBrowser_Tests.modulemap */, + D0E8B83AB52702501AA49181E9709A60 /* Pods-MWPhotoBrowser_Tests-acknowledgements.markdown */, + 4BAF5E7EBDC65548B916482AF2B350E0 /* Pods-MWPhotoBrowser_Tests-acknowledgements.plist */, + E5D308582103A2B045845F926457CBB3 /* Pods-MWPhotoBrowser_Tests-dummy.m */, + 75A72CA7E9E6ADE06FC5D35752027F35 /* Pods-MWPhotoBrowser_Tests-frameworks.sh */, + 97BE65DDD288E7BBE0078DD66D7F6C92 /* Pods-MWPhotoBrowser_Tests-resources.sh */, + 55C4A740F6713033F5DDB33EB3344E74 /* Pods-MWPhotoBrowser_Tests-umbrella.h */, + 145D16B8AAA1DF328532C5A6C8A46E6B /* Pods-MWPhotoBrowser_Tests.debug.xcconfig */, + A701B314AB0DF1AE979C8FE8CEC33AD1 /* Pods-MWPhotoBrowser_Tests.release.xcconfig */, + ); + name = "Pods-MWPhotoBrowser_Tests"; + path = "Target Support Files/Pods-MWPhotoBrowser_Tests"; + sourceTree = ""; + }; + 0F8423F34B57629E908AF86EE019774F /* Pods */ = { + isa = PBXGroup; + children = ( + A1204B2C7F25F241EFCE35E32B8537C5 /* DACircularProgress */, + 1E6876FAE30968C52679C858EDF89670 /* Expecta */, + BE5604475722A829C3AEF471DFEC1AB6 /* Expecta+Snapshots */, + 1166ABA2B0DA31621C7CD62ADE339AF1 /* FBSnapshotTestCase */, + 5405E13DD2DC34ADDBE9F15D7C9373E6 /* MBProgressHUD */, + C964C10CAE8B726AB3114E7F338E593F /* SDWebImage */, + AF4DE19390B1A279D1C1DD2A7FA30E65 /* Specta */, + ); + name = Pods; + sourceTree = ""; + }; + 1166ABA2B0DA31621C7CD62ADE339AF1 /* FBSnapshotTestCase */ = { + isa = PBXGroup; + children = ( + 16A6D25D1ECBF7A2B2DB54595D00E8CD /* Core */, + CEE645D5B1E725AC7F04612FE274030F /* Support Files */, + 8EB3D57490056C64EE4D248E7EAFEFD3 /* SwiftSupport */, + ); + name = FBSnapshotTestCase; + path = FBSnapshotTestCase; + sourceTree = ""; + }; + 16A6D25D1ECBF7A2B2DB54595D00E8CD /* Core */ = { + isa = PBXGroup; + children = ( + E6254C5E528834B38313B3104C9DCDE6 /* FBSnapshotTestCase.h */, + D8485BD01170CD25274713FB4E5AFA3C /* FBSnapshotTestCase.m */, + 8707D617697A45FFC3B4E6529AEC176D /* FBSnapshotTestCasePlatform.h */, + 7F0AE8A41F97DD03310123F7C44988D9 /* FBSnapshotTestCasePlatform.m */, + 8D6B8B8A8849396FD2299D1313AE4C65 /* FBSnapshotTestController.h */, + 8608A203EC978A1D7FD88E723003ED7C /* FBSnapshotTestController.m */, + 9D80F7C3A968F87D7070B00901FBD795 /* UIApplication+StrictKeyWindow.h */, + 0F019F900A34ACFF035E72933950477F /* UIApplication+StrictKeyWindow.m */, + ABC96A5280D954097CAF07CA3D5FB074 /* UIImage+Compare.h */, + 8A47FFA207048BB3AE615B2C33DC3BF3 /* UIImage+Compare.m */, + 78112E7B8A53A3D9E100B5EA255498D9 /* UIImage+Diff.h */, + 1F8F6F3C3AD734237778E04BC1CB6037 /* UIImage+Diff.m */, + 22191B563DCD59F328ED08C4E52EF460 /* UIImage+Snapshot.h */, + 78A1BD26F6E17B24D421B6A21484865C /* UIImage+Snapshot.m */, + ); + name = Core; + sourceTree = ""; + }; + 1A0C5B558CDC858CD1653BE047A1518E /* Development Pods */ = { + isa = PBXGroup; + children = ( + 0A4D073E3A5838BA6B024D2769CCB832 /* MWPhotoBrowser */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 1E6876FAE30968C52679C858EDF89670 /* Expecta */ = { + isa = PBXGroup; + children = ( + 22732D40FAB9CE5D8D565BAC25E3E054 /* EXPBlockDefinedMatcher.h */, + 7520F969D83D565967BC37C62D9C0269 /* EXPBlockDefinedMatcher.m */, + 59855D452B1691B0EFE5A4CDD0F46111 /* EXPDefines.h */, + B866DA8CA73611978B4C992400C07240 /* EXPDoubleTuple.h */, + 34DBAA598BE5C9B7181E1FD937DC3CD9 /* EXPDoubleTuple.m */, + A83824C00FE40362D5C2FD7FEB662600 /* Expecta.h */, + 7B5D403B5BE5D54A9EE6F4479896D3D7 /* ExpectaObject.h */, + 1218DF70FF7BD8F0081E852D09136CB2 /* ExpectaObject.m */, + 440A375070FFF1900D674B874709F6A7 /* ExpectaSupport.h */, + F9C4061EDC77B7592EA581255852AAEF /* ExpectaSupport.m */, + C4D3876C6F7E9C982CD3D03A89F6D160 /* EXPExpect.h */, + 91783B9420BCC1412C3AC0E957CC7BFA /* EXPExpect.m */, + C451A8A5427AA5AB5D37DAF272985642 /* EXPFloatTuple.h */, + DF23B765E87DBFED2780A8C33B91907A /* EXPFloatTuple.m */, + 2D00467EBD9CF0A8AF08018E55DFAB2A /* EXPMatcher.h */, + EF7DF26E419A2B6172DB415BE639A715 /* EXPMatcherHelpers.h */, + F4D9572B8A00B5B5F552205E6F06DBF0 /* EXPMatcherHelpers.m */, + F90E2C86D4DE89B798B2A773E0AB24B6 /* EXPMatchers.h */, + 7F6C97DBB83F8B48AAB8B190DE7093F0 /* EXPMatchers+beCloseTo.h */, + 03F8835ADA1197DCACDA9420BCE4F323 /* EXPMatchers+beCloseTo.m */, + 18A4E0975383B04248AB6DE13608A1B7 /* EXPMatchers+beFalsy.h */, + 55AC427D9AEACE873218302EDD7A2971 /* EXPMatchers+beFalsy.m */, + 8A6CF90DC84BA072D5BEAC9173755DE3 /* EXPMatchers+beginWith.h */, + 0C2A7186EAB1A4A92D2B96E5B3BCD58A /* EXPMatchers+beginWith.m */, + DF2DFF2FEA074CD23F4E09CC2A887CFE /* EXPMatchers+beGreaterThan.h */, + 2E64F4B2AB145CC06C316F5ED53F566B /* EXPMatchers+beGreaterThan.m */, + EAD5A8ADDC0284FCCFAD5C839D41614D /* EXPMatchers+beGreaterThanOrEqualTo.h */, + 316D30A499AD5F06C53021AAE4EBAD06 /* EXPMatchers+beGreaterThanOrEqualTo.m */, + 21D003368303182745E99374A21D62C1 /* EXPMatchers+beIdenticalTo.h */, + FFE72111A5AD0EADFB7B8DC1DE697665 /* EXPMatchers+beIdenticalTo.m */, + 5DA914C011B86B96B4658CA65D4D412F /* EXPMatchers+beInstanceOf.h */, + 0835394C1027EEA7CF74B01022AEE6A7 /* EXPMatchers+beInstanceOf.m */, + 6DA65574957875AED7CC2A77AE076E79 /* EXPMatchers+beInTheRangeOf.h */, + 7B025F3EE5103387D7C86EB3E4C68515 /* EXPMatchers+beInTheRangeOf.m */, + 4DDB8D6EF387FAB3FFC10A311DD88F79 /* EXPMatchers+beKindOf.h */, + 5C82A2C90864E83C0C95FF464D01E8E2 /* EXPMatchers+beKindOf.m */, + BD6AC3586C92B1C1B3A230A27256C44C /* EXPMatchers+beLessThan.h */, + 63237272B2DC6D7DA8ACB7208DC177F4 /* EXPMatchers+beLessThan.m */, + D4AC7DC72202714817B462FC055B6A86 /* EXPMatchers+beLessThanOrEqualTo.h */, + 3668E9560C54BD256F0021F18C18ACB5 /* EXPMatchers+beLessThanOrEqualTo.m */, + E57960341D745BC57C9E6318C645FF9D /* EXPMatchers+beNil.h */, + 806B2D8235499FE3299D8CAE5DEE855F /* EXPMatchers+beNil.m */, + BC27C0E65FAEBC9A5CBA59297FBEFF9A /* EXPMatchers+beSubclassOf.h */, + FAB691F09C8269243303BA57461BD48A /* EXPMatchers+beSubclassOf.m */, + DD0A9D8DD1F9CCD8C14848964A513FAE /* EXPMatchers+beSupersetOf.h */, + C87A47ADD69B800C230AADF4AE98FCCD /* EXPMatchers+beSupersetOf.m */, + BA89F9B93C4AC91381DB6935D58F621D /* EXPMatchers+beTruthy.h */, + D2FB2778304D37283FB300F73ACB11A4 /* EXPMatchers+beTruthy.m */, + 2CC7EBF6A13683BE80A35DBFDFAC0B80 /* EXPMatchers+conformTo.h */, + 6BE048BC0D5AF9A2870E13BC86C0C996 /* EXPMatchers+conformTo.m */, + 25D05908208B1C850BD4599CA9A15878 /* EXPMatchers+contain.h */, + 60566A9393CCE1B79FDD9A97A994715D /* EXPMatchers+contain.m */, + 86A48661FDE5A93BEA9BFD780AE90643 /* EXPMatchers+endWith.h */, + 1FCCCB9F8574B379F19E935772C5E1A9 /* EXPMatchers+endWith.m */, + 117F5FC781B96DF14B29FA69C6A896A8 /* EXPMatchers+equal.h */, + D4D267E16EA71E32141E361E2EC68288 /* EXPMatchers+equal.m */, + 36DADE10787374104D3ABF3841464B3A /* EXPMatchers+haveCountOf.h */, + 099996A1996DEC8F8659BF0210BC281D /* EXPMatchers+haveCountOf.m */, + 36881DE5708AB45D349333D57A549DD2 /* EXPMatchers+match.h */, + BF1AAE331EDAD0ACD6734590DAF841DB /* EXPMatchers+match.m */, + 7FB93064C829F8FAB8F4A5E8E9295162 /* EXPMatchers+postNotification.h */, + 8552E4A6EFBA1F2CE59AB8126AFCBA4B /* EXPMatchers+postNotification.m */, + BDCE3A65B104C0E6EB56B0AF777AABBE /* EXPMatchers+raise.h */, + B5AAAB6EF703FC482663F36230CB63F9 /* EXPMatchers+raise.m */, + 33F63BA1E1E1A51693416153BA5625F7 /* EXPMatchers+raiseWithReason.h */, + 4A8CC1ABE45D1A7C45D1288212E7D4DF /* EXPMatchers+raiseWithReason.m */, + 5C0DCEB511C0665C030B6E0AF11E428E /* EXPMatchers+respondTo.h */, + 62CDD7010048F7EE7CBD11C966FBCB55 /* EXPMatchers+respondTo.m */, + 23675A50B660DEE1479E920EF997A3C9 /* EXPUnsupportedObject.h */, + BED291B15C0FB8A6BE3216FA76108586 /* EXPUnsupportedObject.m */, + C9B5E615299B1FFDC70004FD355415EC /* NSObject+Expecta.h */, + 133C062D8A3470E7E3A31CC5B1245C91 /* NSValue+Expecta.h */, + 8F2828C82D5149C6B0C4FF536BB9D13C /* NSValue+Expecta.m */, + D202A55AF0F6F3C6BE3F4779B2FC0D3D /* Support Files */, + ); + name = Expecta; + path = Expecta; + sourceTree = ""; + }; + 3C07BED151BBF6B01606A5CB15654501 /* Support Files */ = { + isa = PBXGroup; + children = ( + 804DAB9B253702D1E0559A0F2D06343E /* Info.plist */, + CA74C43AA7C799FCE8B6AC11289964C0 /* MBProgressHUD.modulemap */, + F1B87ABBF2348F5E9CDB662D36FE572D /* MBProgressHUD.xcconfig */, + B40A7D029165A2E184A47000A747706C /* MBProgressHUD-dummy.m */, + 2D246A493538332EA0FC4962E3A9E3C5 /* MBProgressHUD-prefix.pch */, + 828E89420AFD3CCAF5EB391EEB75A3BE /* MBProgressHUD-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/MBProgressHUD"; + sourceTree = ""; + }; + 4E7AB4B7AE4709DB9B191E2950E649C4 /* Support Files */ = { + isa = PBXGroup; + children = ( + 742C0DD336D50500B2EC790D16C470B6 /* DACircularProgress.modulemap */, + 145504C14503A6685E92B9E36CD2F7B8 /* DACircularProgress.xcconfig */, + 11D4265DA6049B970DE63EFCB9408C4B /* DACircularProgress-dummy.m */, + 0B1EDC6485D086DE0384F25B4CD8E9F8 /* DACircularProgress-prefix.pch */, + EC4D020A6A897666CA2C86E776CA1A16 /* DACircularProgress-umbrella.h */, + A6FA52D7E614071B008864D8A2E42CF2 /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/DACircularProgress"; + sourceTree = ""; + }; + 5405E13DD2DC34ADDBE9F15D7C9373E6 /* MBProgressHUD */ = { + isa = PBXGroup; + children = ( + 4F3A8B988E3752E4C7B2A37A1BB3C9A8 /* MBProgressHUD.h */, + CEA5689F3B708CF2BFC79166110B6718 /* MBProgressHUD.m */, + 3C07BED151BBF6B01606A5CB15654501 /* Support Files */, + ); + name = MBProgressHUD; + path = MBProgressHUD; + sourceTree = ""; + }; + 585A9D3C66F3560DCF0D9C0319F96C8B /* Pods-MWPhotoBrowser_Example */ = { + isa = PBXGroup; + children = ( + A63F64801A1BC07667D59EEC3F3DED45 /* Info.plist */, + FD75A71D1DA5FF99CA8DDBA0E962B6C6 /* Pods-MWPhotoBrowser_Example.modulemap */, + E1EC5D184A4723F71F9B2A90D0AB7C30 /* Pods-MWPhotoBrowser_Example-acknowledgements.markdown */, + 312AFD90588C4B426976F85455102F07 /* Pods-MWPhotoBrowser_Example-acknowledgements.plist */, + 26FA810E2A02A5F4F6EE39C42F8C385C /* Pods-MWPhotoBrowser_Example-dummy.m */, + C41B18182CF0390E0CAD79371D52ABA4 /* Pods-MWPhotoBrowser_Example-frameworks.sh */, + FDBC2B5330B72DD9C0BA297BC40B29A3 /* Pods-MWPhotoBrowser_Example-resources.sh */, + 2A47FBCFF4A4B34204C1E749AAF832CD /* Pods-MWPhotoBrowser_Example-umbrella.h */, + AB512B085EB3CEE4006E9DFB31CA5654 /* Pods-MWPhotoBrowser_Example.debug.xcconfig */, + D33AB238D91F5AE4E645E91CAE1887E0 /* Pods-MWPhotoBrowser_Example.release.xcconfig */, + ); + name = "Pods-MWPhotoBrowser_Example"; + path = "Target Support Files/Pods-MWPhotoBrowser_Example"; + sourceTree = ""; + }; + 5FD4E065ED3DEA92011C126C940D37D2 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + 585A9D3C66F3560DCF0D9C0319F96C8B /* Pods-MWPhotoBrowser_Example */, + 0F79814D4BD61C6882A8C7BFE2F83620 /* Pods-MWPhotoBrowser_Tests */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; + 79ABF94858B00C8799B995BD41D0CFA3 /* Resources */ = { + isa = PBXGroup; + children = ( + 7033CC3C7830B5B38BAD17CF925D393C /* ImageError.png */, + BE68D6DAEC2252570A6DA449600DF0A2 /* ImageError@2x.png */, + 826719FB3B12A50A5D7FAF9F73D676E6 /* ImageError@3x.png */, + 3A63385DC93788614A78E17573BB29A7 /* ImageSelectedOff.png */, + E5E29F5A6A630A6472EC24A07BAFE1BD /* ImageSelectedOff@2x.png */, + 10F38F93C6DC9D1D92B57E7D65AC46A8 /* ImageSelectedOff@3x.png */, + 4ABE81A591E866399399B1B376DAFF82 /* ImageSelectedOn.png */, + 9DD2A95FF24327425CE1D2F0E6676A35 /* ImageSelectedOn@2x.png */, + FFFA5D2FB009CD1ADE58C7BC1BCA79F8 /* ImageSelectedOn@3x.png */, + 243F1ADCC25826EC7EE12F697B01C80B /* ImageSelectedSmallOff.png */, + FEC83DA778DFBE7F0477F782904035CB /* ImageSelectedSmallOff@2x.png */, + 4B79C7C6918FEDA16CA0388BA20212ED /* ImageSelectedSmallOff@3x.png */, + DC0669131EB7C5C450859E0556283372 /* ImageSelectedSmallOn.png */, + 5D1FC5174BDDCE0FF3F0264BDF235770 /* ImageSelectedSmallOn@2x.png */, + 3B39E671C9E7BC7CC76D6BC287B293F4 /* ImageSelectedSmallOn@3x.png */, + A4584E2BFB239A42097CBF1197A040F0 /* PlayButtonOverlayLarge.png */, + ADA1908AB91027891E5F32897D51E9EE /* PlayButtonOverlayLarge@2x.png */, + 9C9F8C57657482A1A5EC60276BF63689 /* PlayButtonOverlayLarge@3x.png */, + 5C9406101D7162C0A3C8AE883682238D /* PlayButtonOverlayLargeTap.png */, + D689C324940A97E3ECEC09C3E528F9F2 /* PlayButtonOverlayLargeTap@2x.png */, + DD90BA6E66D403A8480D39CFC5C94725 /* PlayButtonOverlayLargeTap@3x.png */, + 30CBC00516B416C19D9EAB5E15024343 /* UIBarButtonItemArrowLeft.png */, + 9051880B5490452EDF418038196078C7 /* UIBarButtonItemArrowLeft@2x.png */, + 3C066668DDD3E751F2325A71F696DA2A /* UIBarButtonItemArrowLeft@3x.png */, + 372305502B66E2FEADECF4C8BAA3C178 /* UIBarButtonItemArrowRight.png */, + CB6497CECA1BDBDF394F903E23B49F52 /* UIBarButtonItemArrowRight@2x.png */, + 928EF659695BD4571404F00C3F646A91 /* UIBarButtonItemArrowRight@3x.png */, + EF0EBC1E4BADC6777DFA32D295740CF2 /* UIBarButtonItemGrid.png */, + E660B78BF1078029F265760191604169 /* UIBarButtonItemGrid@2x.png */, + B24B9F74B0EE4C1E6795BC5345F2AA77 /* UIBarButtonItemGrid@3x.png */, + 8D3A59F99958B0F279F4CF066B72C789 /* VideoOverlay.png */, + BEDD51AD216E11D5134E8CD75F368BF0 /* VideoOverlay@2x.png */, + D27F5456DFB71E302F5CB74E9805067F /* VideoOverlay@3x.png */, + ); + name = Resources; + sourceTree = ""; + }; + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 1A0C5B558CDC858CD1653BE047A1518E /* Development Pods */, + BC1D3AD91C78934FFDB0597EDE10BD90 /* Frameworks */, + 0F8423F34B57629E908AF86EE019774F /* Pods */, + 8AB3449E3DBC944F730DB1CC1F9B0753 /* Products */, + 5FD4E065ED3DEA92011C126C940D37D2 /* Targets Support Files */, + ); + sourceTree = ""; + }; + 8AB3449E3DBC944F730DB1CC1F9B0753 /* Products */ = { + isa = PBXGroup; + children = ( + 724BD7C8D4F7B718573F73C3386AC66C /* DACircularProgress.framework */, + C34C952BF4CC10D30E08BB3F51AC1C8E /* Expecta.framework */, + AA9E18743C351AA1E50C8DC88D6EAD81 /* Expecta_Snapshots.framework */, + C0F616D883A7444DEB7BB3DE6DDD5294 /* FBSnapshotTestCase.framework */, + BB5B3FF6A34ABEAD2D59AAE709FB06BC /* MBProgressHUD.framework */, + 258A3F8EA96DF52EA6A64B9CB18FF7FE /* MWPhotoBrowser.bundle */, + A243D2992AD2D85A4E1D2F565ED5314B /* MWPhotoBrowser.framework */, + F9665CC1C8486D8C4FCFBAE322E5C9FB /* Pods_MWPhotoBrowser_Example.framework */, + B7CFC40770B9EB8D96779BE2BC33D73B /* Pods_MWPhotoBrowser_Tests.framework */, + 29D870B6A4157EA9EE55918FE055EA83 /* SDWebImage.framework */, + 351D2A03E857FA6ABE1D79453983F546 /* Specta.framework */, + ); + name = Products; + sourceTree = ""; + }; + 8BDF3DDE2488A98CFC5B18E5448C46E9 /* Support Files */ = { + isa = PBXGroup; + children = ( + 16D8E1AB77D6A8AC529ADA31B697E780 /* Info.plist */, + C95A9C2F7DC210C9359319C653C147BF /* Specta.modulemap */, + 9C335BF44A4FFD8556281669B456880A /* Specta.xcconfig */, + 35A586DE38363FFACF331CB496F158DA /* Specta-dummy.m */, + 6BB9A57510381E2457D94ACE7E2D914B /* Specta-prefix.pch */, + 3A147DDFBFCF11B4DF3C7AEAF2BCAAE9 /* Specta-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/Specta"; + sourceTree = ""; + }; + 8EB3D57490056C64EE4D248E7EAFEFD3 /* SwiftSupport */ = { + isa = PBXGroup; + children = ( + 219D3050A70834E8B5D2DFE39687ED3B /* SwiftSupport.swift */, + ); + name = SwiftSupport; + sourceTree = ""; + }; + 9495E6B2228915CCB3782BE4B90734E0 /* Support Files */ = { + isa = PBXGroup; + children = ( + 1E020B67EFD974F1CBF855142B5354C1 /* Expecta+Snapshots.modulemap */, + 2F5F8C635654B2734F03436955BA983F /* Expecta+Snapshots.xcconfig */, + DF92CB0F0037B094129E75406C0CA75F /* Expecta+Snapshots-dummy.m */, + 6053C23169734C3B47608287467F3A21 /* Expecta+Snapshots-prefix.pch */, + B4D060AB469072DA52FE915E78E30EF5 /* Expecta+Snapshots-umbrella.h */, + E9DC961588A53054B30975AF3B52C9C1 /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/Expecta+Snapshots"; + sourceTree = ""; + }; + A0DA57541E6AB2170D5A04E33679059D /* Core */ = { + isa = PBXGroup; + children = ( + E7F95C90ABCCF5CD2382994BA3577672 /* NSData+ImageContentType.h */, + DA56CDC8DD2FF51419E5A9AAFDF96620 /* NSData+ImageContentType.m */, + 21553E3CE1EC80DC5AC84B8A76FD061C /* NSImage+WebCache.h */, + 533069FCD4D2357C766AFBE97EB063F0 /* NSImage+WebCache.m */, + FCB472AF9F1CD7040C9173402D154BDC /* SDImageCache.h */, + 8376477ADE8B9F9EC5B37255EF69493E /* SDImageCache.m */, + D0909F4E69BD8A803B4156D6412259BA /* SDImageCacheConfig.h */, + 882D2A3AD477DC292E92DD4EE14F54DA /* SDImageCacheConfig.m */, + E656C570F57752899DBBF5920BAB709A /* SDWebImageCoder.h */, + 658814900B0E669DE2AE5D6ABDBBF375 /* SDWebImageCoder.m */, + 103C90DF541C4FF19611544E3971089A /* SDWebImageCoderHelper.h */, + B16EC20816338619C57269A710455C71 /* SDWebImageCoderHelper.m */, + 1F0D831FF0A6F25139408D0EABB40A60 /* SDWebImageCodersManager.h */, + 08D97BBBA66EE690593101D5CCEF0628 /* SDWebImageCodersManager.m */, + 6381EAE03216F4E72DA81436498AAEEF /* SDWebImageCompat.h */, + 11C46B79E514E417C3436810601416A7 /* SDWebImageCompat.m */, + DF37E4DCD29DF8F188A37B92486115B8 /* SDWebImageDownloader.h */, + 212FCF98BF9C6FD83B3DA5A573B15F52 /* SDWebImageDownloader.m */, + F9664BAAE0FBC91D73A2874A970DE7CC /* SDWebImageDownloaderOperation.h */, + DF924D8824A2FE0357DFCC15042A8DFE /* SDWebImageDownloaderOperation.m */, + 09A0812A7F655A73CD0557189A46C44C /* SDWebImageFrame.h */, + A163CAFEA865E1C4D4E82F8529E567AA /* SDWebImageFrame.m */, + F8BFEC1D4245F4DD93E94EFC35E40BA3 /* SDWebImageGIFCoder.h */, + C1982078341672F2591EBD2210D4589A /* SDWebImageGIFCoder.m */, + C2164F5B9E5556382FDC77FF2EEEB794 /* SDWebImageImageIOCoder.h */, + 5F4CFD2DDA825000900A8FF6D36850B1 /* SDWebImageImageIOCoder.m */, + 2E8F7E206B58D39C61036485C73522B7 /* SDWebImageManager.h */, + 8CB2AAE67619BE68936D58875D8B1BE1 /* SDWebImageManager.m */, + D699266F6368AB7102D04BBF8E27AD50 /* SDWebImageOperation.h */, + 274DD795203C0F6D8919A955AADD27F8 /* SDWebImagePrefetcher.h */, + A9FC4A45AD6ED7B17665F4B268C94DF3 /* SDWebImagePrefetcher.m */, + E6B69656D79C46FD022B11B7B314B283 /* UIButton+WebCache.h */, + 62C17F88B8007524D1412CACA03A9258 /* UIButton+WebCache.m */, + E54660AD7F8C114D69E5A7C07F276B6C /* UIImage+ForceDecode.h */, + 80454303ECF382C927455483A6FF8332 /* UIImage+ForceDecode.m */, + AFAA551C51C6A973DF850257B2156E17 /* UIImage+GIF.h */, + C780D8F6E6B03AF398FC387044D4F2D7 /* UIImage+GIF.m */, + E14832EF53301BB36C98775051ADD1D3 /* UIImage+MultiFormat.h */, + 05B0A5732A8AE4EB6072C723B1BBCB3B /* UIImage+MultiFormat.m */, + 66C5CA9A1E0ADD68E0EDB15BE737D527 /* UIImageView+HighlightedWebCache.h */, + FDB8D5551C3824BF4D3E697BEBAF9321 /* UIImageView+HighlightedWebCache.m */, + 44F10B2F02F0157380E8A53ACE2F76C6 /* UIImageView+WebCache.h */, + EB5986C80DFB0D581D7281386D1F849E /* UIImageView+WebCache.m */, + 8490346BCFC19608909AB81EBB0A9360 /* UIView+WebCache.h */, + 3EA1E3105F69F03C75437E1269F24967 /* UIView+WebCache.m */, + 95906729BA4557DF478FA55C6643B1BB /* UIView+WebCacheOperation.h */, + 897075E1DAE537C305AE1052CEFFB4E3 /* UIView+WebCacheOperation.m */, + ); + name = Core; + sourceTree = ""; + }; + A1204B2C7F25F241EFCE35E32B8537C5 /* DACircularProgress */ = { + isa = PBXGroup; + children = ( + CD5630D69D657C9DB520AF7F80FB3809 /* DACircularProgressView.h */, + 688D02B178EAB6E4661B89049063847C /* DACircularProgressView.m */, + 74E31FD373C20C8647ABA7656A2881C1 /* DALabeledCircularProgressView.h */, + DEA061AC711C8988714ACBB642758FFA /* DALabeledCircularProgressView.m */, + 4E7AB4B7AE4709DB9B191E2950E649C4 /* Support Files */, + ); + name = DACircularProgress; + path = DACircularProgress; + sourceTree = ""; + }; + A5E75A645EDC549AF4F6C4BA25081234 /* iOS */ = { + isa = PBXGroup; + children = ( + 7185572D03AB44DDAF2829EBB3BF3F2F /* AssetsLibrary.framework */, + 6656F43262C00D42C4FB365262AB6923 /* CoreGraphics.framework */, + E22EFE9EF5732ADCCA31872D3636792E /* Foundation.framework */, + 4C1AE7F1C145AAF3D4AB99A0E0E36E19 /* ImageIO.framework */, + 87112265DB37F102E0B66B4C174FC4F8 /* MediaPlayer.framework */, + 006AA56B6B680A930E6E67C1DA5CA478 /* QuartzCore.framework */, + 7251090D4187A68563E6334EBD625898 /* UIKit.framework */, + CC85187A19BDD810B461B8CC46EE7BD3 /* XCTest.framework */, + ); + name = iOS; + sourceTree = ""; + }; + AF4DE19390B1A279D1C1DD2A7FA30E65 /* Specta */ = { + isa = PBXGroup; + children = ( + 4A2A98A961303A04AD853C2598AEAEC5 /* Specta.h */, + 0A43D1B46B5F564514230591EC88283B /* SpectaDSL.h */, + 6146C03BF01FE943E82B62DE0441E3DA /* SpectaDSL.m */, + 882378EC56E7C88E965E4F404DD574C7 /* SpectaTypes.h */, + AAF030BC9AAF921200A86DCD65B62342 /* SpectaUtility.h */, + 8B74E801A11314F9D452821A4917DA1B /* SpectaUtility.m */, + D0EADA2FD20C4F6D58A2AA521FB5D8A8 /* SPTCallSite.h */, + E03FDF3E06E3C298C006BEC707758548 /* SPTCallSite.m */, + BEC03CC75B1E1D9B75591D02054D17A6 /* SPTCompiledExample.h */, + B8F74AD9993D30E41EDCA783147B8B6B /* SPTCompiledExample.m */, + C652D8FEACC720A81CDE5D65704948A6 /* SPTExample.h */, + 46C3270F36FBF036B9F9B2E213207DC6 /* SPTExample.m */, + 1B0FD4C728E6B87B8794EDB79C9D3442 /* SPTExampleGroup.h */, + 44147E3CF601C3736E75184BA25D282F /* SPTExampleGroup.m */, + 3DFD6CBBD6171E40931770E7C6D431B9 /* SPTExcludeGlobalBeforeAfterEach.h */, + 797655B7DD15A4A04A3FC69BF91B88AA /* SPTGlobalBeforeAfterEach.h */, + 809B01DD6D788CC4DE6CE3D8683CEAC8 /* SPTSharedExampleGroups.h */, + 9C44CD9469A82DEE114A0CD555A81503 /* SPTSharedExampleGroups.m */, + C7A440B19A0BEE8010C8A7B6F1970C97 /* SPTSpec.h */, + 0731F201C993799479F1DADC1D813A4C /* SPTSpec.m */, + C04FF82E7C7D995F8A2D6601E58AAF3F /* SPTTestSuite.h */, + 3D8151059CB1B1D1F79BC03D0662937D /* SPTTestSuite.m */, + 3B4A2DF225ADB573B9C339D09D96E5B9 /* XCTest+Private.h */, + AD807933B83DDB019506E207B1F2939C /* XCTestCase+Specta.h */, + D815CA878914C766C6F913D25D009FC9 /* XCTestCase+Specta.m */, + 8BDF3DDE2488A98CFC5B18E5448C46E9 /* Support Files */, + ); + name = Specta; + path = Specta; + sourceTree = ""; + }; + BC1D3AD91C78934FFDB0597EDE10BD90 /* Frameworks */ = { + isa = PBXGroup; + children = ( + D00E13F031F5352D65E5FA1EA9C98CC9 /* DACircularProgress.framework */, + 6BD06A0F56AE2D773E042E0B0C8F50C4 /* Expecta.framework */, + C27756A8CC7F3942BFCF4BD3075E531B /* FBSnapshotTestCase.framework */, + D2C1F24BE5B04EF85E8BEEF0C6F21378 /* MBProgressHUD.framework */, + 7E2BC97B4DE4B29DEBC0499FC0983114 /* SDWebImage.framework */, + 98B58FDD948B6F3D6E37AFF86F2CD335 /* Specta.framework */, + A5E75A645EDC549AF4F6C4BA25081234 /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + BE5604475722A829C3AEF471DFEC1AB6 /* Expecta+Snapshots */ = { + isa = PBXGroup; + children = ( + EF671C7AED8A9E9CDB735F9F9177720D /* ExpectaObject+FBSnapshotTest.h */, + 84FF34EA56F7E1939382389042F07474 /* ExpectaObject+FBSnapshotTest.m */, + 28F0C49801CDFBF8844249A3988C5295 /* EXPMatchers+FBSnapshotTest.h */, + 1006A143ABEAE635384868F805CF06D1 /* EXPMatchers+FBSnapshotTest.m */, + 9495E6B2228915CCB3782BE4B90734E0 /* Support Files */, + ); + name = "Expecta+Snapshots"; + path = "Expecta+Snapshots"; + sourceTree = ""; + }; + C964C10CAE8B726AB3114E7F338E593F /* SDWebImage */ = { + isa = PBXGroup; + children = ( + A0DA57541E6AB2170D5A04E33679059D /* Core */, + EDCFD55B51F9C77FCA161FD1C6CE983D /* Support Files */, + ); + name = SDWebImage; + path = SDWebImage; + sourceTree = ""; + }; + CEE645D5B1E725AC7F04612FE274030F /* Support Files */ = { + isa = PBXGroup; + children = ( + 46E63D45C31E5C0F3BC3B4785B6B3844 /* FBSnapshotTestCase.modulemap */, + DD7FBA42D8165F71A6C4CEFBAE670C9B /* FBSnapshotTestCase.xcconfig */, + D663E0B91347441C9D33535BBA9D8087 /* FBSnapshotTestCase-dummy.m */, + 0EE66F54EC24ECC9F05D9D2C8F23A13C /* FBSnapshotTestCase-prefix.pch */, + E9010B3A3A76DB3468CC2C0ABDF7A677 /* FBSnapshotTestCase-umbrella.h */, + 762063E37E51765775E9DAD5890D8339 /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/FBSnapshotTestCase"; + sourceTree = ""; + }; + D202A55AF0F6F3C6BE3F4779B2FC0D3D /* Support Files */ = { + isa = PBXGroup; + children = ( + 00422B9DBAFA21666530462D57859904 /* Expecta.modulemap */, + F0A15D85317DEC0696D1995FC9449385 /* Expecta.xcconfig */, + 15E6F4D03788C075A861F0A8104BD014 /* Expecta-dummy.m */, + A08F7EC7461EE6300BA2548CC7B4FA06 /* Expecta-prefix.pch */, + 87264D327535C6660B9802E02A6A61F7 /* Expecta-umbrella.h */, + 23860FEE5C673FDF6D607191791CF3FA /* Info.plist */, + ); + name = "Support Files"; + path = "../Target Support Files/Expecta"; + sourceTree = ""; + }; + EDCFD55B51F9C77FCA161FD1C6CE983D /* Support Files */ = { + isa = PBXGroup; + children = ( + 2C4C5EB00AEB11BBFC2104A16DD4571A /* Info.plist */, + 52BF2102DD8B07D4D0CFE3CEC77DFC8D /* SDWebImage.modulemap */, + 458E448C16A7213D1471C1E02A6042B9 /* SDWebImage.xcconfig */, + 4F4FFCFE180EDD3B55DFBFED125D3F3D /* SDWebImage-dummy.m */, + FF98F55A474F7FDAA209469D4A6EC09E /* SDWebImage-prefix.pch */, + 7DAF3219D3F51719E62393A0A1DE9CCA /* SDWebImage-umbrella.h */, + ); + name = "Support Files"; + path = "../Target Support Files/SDWebImage"; + sourceTree = ""; + }; + F4DB65BD22016FEDEE2CD8AE2D94F686 /* Support Files */ = { + isa = PBXGroup; + children = ( + 44D3C92397D08C668194D77B7190F571 /* Info.plist */, + E0B1C6D00118C25A6709FDDFA77A32A9 /* MWPhotoBrowser.modulemap */, + 225A9DA8E3B28D3A296CB8B7238D1299 /* MWPhotoBrowser.xcconfig */, + F46A30A3FD25601CFAC75436567101EA /* MWPhotoBrowser-dummy.m */, + D4B9E4296D3E715172FAB3E2526E3E1A /* MWPhotoBrowser-prefix.pch */, + 00B63B1D90B0FD8D8B03C7188803F858 /* MWPhotoBrowser-umbrella.h */, + E8BE2F6E246D1B328DCD06CB6939150A /* ResourceBundle-MWPhotoBrowser-Info.plist */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/MWPhotoBrowser"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 03ACDAF082BE5D8323507FE6FE379E79 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 2FC0DAE070A18D46B2D9CA64D7F62823 /* MWCaptionView.h in Headers */, + 3FAA3AECCFA181BDA56973A618DB28D3 /* MWCommon.h in Headers */, + 3E9BE9DE312CE2969C02A3B33D36F621 /* MWGridCell.h in Headers */, + C33AE40DCDEED7E6E0FD6965A27440C2 /* MWGridViewController.h in Headers */, + 9E9113C7797CB957AA3E624192F2966D /* MWPhoto.h in Headers */, + B517A030019E4BC67047DEC90F9FFDD0 /* MWPhotoBrowser-umbrella.h in Headers */, + 9A0107A65862EEC612BCA28A15FCF7FF /* MWPhotoBrowser.h in Headers */, + 23310C41FEABC0E9A77C81419194BEDE /* MWPhotoBrowserPrivate.h in Headers */, + 3F5A3FB8CA533862763B84787CE357F5 /* MWPhotoProtocol.h in Headers */, + 77BC7888E58FCC337CC00DE8AD14D5C8 /* MWTapDetectingImageView.h in Headers */, + 676F2749A66AFB733DDA2527A2EEA207 /* MWTapDetectingView.h in Headers */, + 25FC0CD17F0B9C4E7A81F502C2D72A8E /* MWZoomingScrollView.h in Headers */, + D857D39E9CC39CFF66ADB3E57B5BEBA7 /* UIImage+MWPhotoBrowser.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 197B7877D5D346F405BDD059EF96DBDC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 28A794912ED1E06B05D96DF5ED0AED19 /* MBProgressHUD-umbrella.h in Headers */, + A5BF8DBDD8660DBCFE712657F3D82BDA /* MBProgressHUD.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1A8025A1A4F0A81AF63251B66C153F89 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C0DCAD35245EB537FFCDCA0953C6A3C1 /* DACircularProgress-umbrella.h in Headers */, + 345A3F8FD666C6F70A7BA48134093C10 /* DACircularProgressView.h in Headers */, + 8E885347ED4E974636918548411FAC73 /* DALabeledCircularProgressView.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 52D657813DF5884A06712B2E4D34B92D /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + F052ECCD91D2A3EE96DDCD0A1F428B84 /* Specta-umbrella.h in Headers */, + 9605A166839E5B582E5F4A08E786DF1F /* Specta.h in Headers */, + 7A27CAFCB586104AA102A9C161AD0978 /* SpectaDSL.h in Headers */, + C1DF1378F608A031627FBF81B6A9C6E5 /* SpectaTypes.h in Headers */, + 4A571204986D316637D43D3F93DCAC77 /* SpectaUtility.h in Headers */, + 6A725E2BDA6D302C9F30439A6390689C /* SPTCallSite.h in Headers */, + A41034714C779552383D238C48FC4FDA /* SPTCompiledExample.h in Headers */, + 86A40D9CFD9051779B220F53DE991DCA /* SPTExample.h in Headers */, + 8EDC47391C8554AD5C7A91C4D5AFC5F2 /* SPTExampleGroup.h in Headers */, + D7BF9558E071FDF8643CE2B50276B777 /* SPTExcludeGlobalBeforeAfterEach.h in Headers */, + 5D3A5E9359A70F84E5EC0C4CE701DDE5 /* SPTGlobalBeforeAfterEach.h in Headers */, + 87C61FE4EBA517506085582BD4175CCA /* SPTSharedExampleGroups.h in Headers */, + 827762B596901D18DAD29830875E1922 /* SPTSpec.h in Headers */, + 2E81617C064F3E68A7A2A9E6A370E073 /* SPTTestSuite.h in Headers */, + 86365A8DEDA7C9315120DED5EC7F23DC /* XCTest+Private.h in Headers */, + 03890D59600D45E6E9463700F9B11FFE /* XCTestCase+Specta.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6B5BEE3821DF589A007840160CB79668 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + C5AFB3D572FA23F39C3F650E7D69A2DB /* Pods-MWPhotoBrowser_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8B8EB91B3474CC93D58F8A12D47A30CE /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 14D8987480667E957371118AAACFB254 /* Pods-MWPhotoBrowser_Tests-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 92CF8202607080A615609E18CB36CCF1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 214F8D721940BD9AA4BAB0E5AE2E8A1C /* EXPBlockDefinedMatcher.h in Headers */, + 5D4700451D6C9DFC6D5FFB86671EA2AC /* EXPDefines.h in Headers */, + 39461DAB3DE2637F4AE2BA94F19DCF2B /* EXPDoubleTuple.h in Headers */, + 0E86BBA3A65849769B47995A5E91C881 /* Expecta-umbrella.h in Headers */, + A0B36C4898CD3A75ED692AE1B945EFED /* Expecta.h in Headers */, + 8B0A34DADDB56E70CF4A5177E65AA081 /* ExpectaObject.h in Headers */, + ABBDD0372C687211E68EDCE0166F3632 /* ExpectaSupport.h in Headers */, + FD39ACDEA6F0B6D6DBB730547CE18BA6 /* EXPExpect.h in Headers */, + 4CA4F8F64565882DCFA174872749C0EF /* EXPFloatTuple.h in Headers */, + 1009851D0C0B3FCBC574C414CC4D31B0 /* EXPMatcher.h in Headers */, + E61E28B50602F353D95914765667969F /* EXPMatcherHelpers.h in Headers */, + 4861F2FFD5A4306E7B7BD3CD0D8199AC /* EXPMatchers+beCloseTo.h in Headers */, + B1487AC2DD502CCE46631C123E047D28 /* EXPMatchers+beFalsy.h in Headers */, + 8C14546CF091E0A5B1F0F37F576990B8 /* EXPMatchers+beginWith.h in Headers */, + 7E81176499F06E523CE3039B08AB5051 /* EXPMatchers+beGreaterThan.h in Headers */, + BBC7D292529B7E5DB953171190E321AF /* EXPMatchers+beGreaterThanOrEqualTo.h in Headers */, + 8B8C4B3E28E6FC6D26037EFC282BE4C5 /* EXPMatchers+beIdenticalTo.h in Headers */, + 5F160713BF583BCBC136CE95E62F9C2F /* EXPMatchers+beInstanceOf.h in Headers */, + FC223395BCEE46EB920CECD38AFD4402 /* EXPMatchers+beInTheRangeOf.h in Headers */, + 41CC214541946B82A25CE427BB81ABEA /* EXPMatchers+beKindOf.h in Headers */, + E233F5CF4BF16CFB539804C4E995C355 /* EXPMatchers+beLessThan.h in Headers */, + AA5060419F1307F5F03ECBEA70DB186C /* EXPMatchers+beLessThanOrEqualTo.h in Headers */, + 64C46AF200F2347115A0DF2799D6E403 /* EXPMatchers+beNil.h in Headers */, + CB99A2D7D003745153A564346DF8ABA8 /* EXPMatchers+beSubclassOf.h in Headers */, + FC6474103AA989EBD5368772037BE0BB /* EXPMatchers+beSupersetOf.h in Headers */, + F74F0174B426B7EAB501A3788E5D381F /* EXPMatchers+beTruthy.h in Headers */, + DC423A980C991970F4D637AC4C47D863 /* EXPMatchers+conformTo.h in Headers */, + E3355DB3F63F6FE79FD8DD6188B0B3A4 /* EXPMatchers+contain.h in Headers */, + 87AE70A44BD8E8676B2A3EDB6E334138 /* EXPMatchers+endWith.h in Headers */, + 425C4DFD1FAB011D70F825631144BC4C /* EXPMatchers+equal.h in Headers */, + 8F990515E868D90C15D2148DD1A22403 /* EXPMatchers+haveCountOf.h in Headers */, + 597E5A323FD0306B81C3F7E9C8E5580D /* EXPMatchers+match.h in Headers */, + A2D3CFFEBD3AEA2164A535192492F3B8 /* EXPMatchers+postNotification.h in Headers */, + A8446D8224F103BE7F4A5237A60F0EFB /* EXPMatchers+raise.h in Headers */, + B3F189747A7A3CEDA9200CB2749AC7D8 /* EXPMatchers+raiseWithReason.h in Headers */, + DED9AE33B24B462D4B44FE94383B35F4 /* EXPMatchers+respondTo.h in Headers */, + 9CAFC7DAE2E661FC92393E5CC55D1D61 /* EXPMatchers.h in Headers */, + 60CD83FA1B2BF6E93B59834C1E0CBEF0 /* EXPUnsupportedObject.h in Headers */, + DB8F3665E9E382DF52E0DCB4DECE5EAE /* NSObject+Expecta.h in Headers */, + 5922E3B61E351E2A21095BD92E4FE8AC /* NSValue+Expecta.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 9C95154159952390F453B9600C4A5CE6 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8D49114979B44DF683A9A964565E0FE6 /* FBSnapshotTestCase-umbrella.h in Headers */, + 31328536635BDC034D4E43B11CA846BD /* FBSnapshotTestCase.h in Headers */, + 0676595134A6036819E78D0404919486 /* FBSnapshotTestCasePlatform.h in Headers */, + 889FE136349E95DFBE20F050685FB124 /* FBSnapshotTestController.h in Headers */, + 5D95DC370FE619787EA993FF91CA51EE /* UIApplication+StrictKeyWindow.h in Headers */, + 3849993FDFE7642E4BEF1096B047FB86 /* UIImage+Compare.h in Headers */, + 26BBC63406C6863BE6DD27C64A70CB42 /* UIImage+Diff.h in Headers */, + D180489445C2C507332A6EE964ADA1E5 /* UIImage+Snapshot.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + C258F23290798F317C01B739E34551CC /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 8833E27F67508027ED981D4B2F23FE62 /* NSData+ImageContentType.h in Headers */, + FFC26E86182CFCA53E93892C55BC512F /* NSImage+WebCache.h in Headers */, + 684A564C4855EF3622FB0748D5CCEA0F /* SDImageCache.h in Headers */, + D9233ADA6128563C58960403A10EA678 /* SDImageCacheConfig.h in Headers */, + 4709C9640D590A82620F8A1E8B6E92CB /* SDWebImage-umbrella.h in Headers */, + 35ACB9650B65C83CA2775EFF8096DE0F /* SDWebImageCoder.h in Headers */, + 4B5348B147C87D957ED1863635904C2F /* SDWebImageCoderHelper.h in Headers */, + E4A877BEEB7CE9AAA9E4287F9A0D4053 /* SDWebImageCodersManager.h in Headers */, + 2A1848B543C5976908C9B75CD5000C35 /* SDWebImageCompat.h in Headers */, + BEFC50BC84262D14A81C16D5AD4DAB2A /* SDWebImageDownloader.h in Headers */, + EAEE7EF93B3AE9FE87E26242C995427F /* SDWebImageDownloaderOperation.h in Headers */, + 620EBB19F5A1AD416FCFFFA89281D66F /* SDWebImageFrame.h in Headers */, + 86F9878C4CD25074CA36A826E9BEB5A0 /* SDWebImageGIFCoder.h in Headers */, + F5C9EFA98F287C539B38C421321634B8 /* SDWebImageImageIOCoder.h in Headers */, + A507CE74FF4BEBB954E0FC50EEC0FCE3 /* SDWebImageManager.h in Headers */, + FA880173C9786F4D180CEBCF838B51AA /* SDWebImageOperation.h in Headers */, + F9948B296726F61D56887459B32366C7 /* SDWebImagePrefetcher.h in Headers */, + 361D99BB6CCAF74FD5CEA06B3A790D0F /* UIButton+WebCache.h in Headers */, + EAA5EE2E40161D10E4F990E3293EC42B /* UIImage+ForceDecode.h in Headers */, + B75280E645BE217F236C4ACDE708A688 /* UIImage+GIF.h in Headers */, + 203B46EB7DB52394FD6E272DE9772BA7 /* UIImage+MultiFormat.h in Headers */, + DEB8472922E4F941528B901EE3B6AD32 /* UIImageView+HighlightedWebCache.h in Headers */, + AD683EAD158AB0ED4EAC88D028E78793 /* UIImageView+WebCache.h in Headers */, + 22C20067A6BBEF2887F585F5FA446BE1 /* UIView+WebCache.h in Headers */, + 06F7E78AA0C3FACDD7FDA04BA26D8B0F /* UIView+WebCacheOperation.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CDFD4A1DE3E4E3CABD4EC05ABC8A520C /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + DE4EF1ED618D31CA16938565A1CA0607 /* Expecta+Snapshots-umbrella.h in Headers */, + CDBF7F2D23165CAB8B3819A256A49F0A /* ExpectaObject+FBSnapshotTest.h in Headers */, + EDF3CEAAF7922F570A5AD95B005C84F8 /* EXPMatchers+FBSnapshotTest.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 05569F3C10FD91BB981D7CEE83CBC732 /* MWPhotoBrowser */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3DCD776C4FCAC02D7F3B7B11415A4F04 /* Build configuration list for PBXNativeTarget "MWPhotoBrowser" */; + buildPhases = ( + 652A34283DB1954E97AB00F6779EB6D7 /* Sources */, + AE6960CD279CB1C687E755305AF5007D /* Frameworks */, + 6B103A813DF17DE8AA4F8410FEC78E2A /* Resources */, + 03ACDAF082BE5D8323507FE6FE379E79 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + F5172C96CE1DBDD27578C97D62BB0882 /* PBXTargetDependency */, + EB669DFB4714DECDFE1F793A4A2ED127 /* PBXTargetDependency */, + C3A231CC60666CD2D7000BF0C19C9D5F /* PBXTargetDependency */, + 917A3DBF9D95A3F368D2D722E42C9095 /* PBXTargetDependency */, + ); + name = MWPhotoBrowser; + productName = MWPhotoBrowser; + productReference = A243D2992AD2D85A4E1D2F565ED5314B /* MWPhotoBrowser.framework */; + productType = "com.apple.product-type.framework"; + }; + 17CEAD1B3EC4E80098DF5F8AA00BE966 /* DACircularProgress */ = { + isa = PBXNativeTarget; + buildConfigurationList = 934CDBA1E9BBC7B9EC5126D03A885FB8 /* Build configuration list for PBXNativeTarget "DACircularProgress" */; + buildPhases = ( + 18C33FA1A83AD375FD7343B1770CB345 /* Sources */, + 6F73CD37F5955C20F2E0FAD2F6EAAC52 /* Frameworks */, + 1A8025A1A4F0A81AF63251B66C153F89 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DACircularProgress; + productName = DACircularProgress; + productReference = 724BD7C8D4F7B718573F73C3386AC66C /* DACircularProgress.framework */; + productType = "com.apple.product-type.framework"; + }; + 21B910E0FB008FE15458D3D9B59BED16 /* Specta */ = { + isa = PBXNativeTarget; + buildConfigurationList = 48C38E44B4EF5760ADB7DED06F65AD3A /* Build configuration list for PBXNativeTarget "Specta" */; + buildPhases = ( + 5BB3FBA1C308E80B904A714F4F781F69 /* Sources */, + 2933D507F1FD5C5C05AD1ABBB28D34A9 /* Frameworks */, + 52D657813DF5884A06712B2E4D34B92D /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Specta; + productName = Specta; + productReference = 351D2A03E857FA6ABE1D79453983F546 /* Specta.framework */; + productType = "com.apple.product-type.framework"; + }; + 41FA54D12162DAD51D02FC58A2CD5034 /* MBProgressHUD */ = { + isa = PBXNativeTarget; + buildConfigurationList = CC1874913BA1F82C4953C3C7F551AB22 /* Build configuration list for PBXNativeTarget "MBProgressHUD" */; + buildPhases = ( + FE8E0446C3B3B52779E8DE373E495A61 /* Sources */, + B57774E30FD88AE26F9037E1360E947B /* Frameworks */, + 197B7877D5D346F405BDD059EF96DBDC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = MBProgressHUD; + productName = MBProgressHUD; + productReference = BB5B3FF6A34ABEAD2D59AAE709FB06BC /* MBProgressHUD.framework */; + productType = "com.apple.product-type.framework"; + }; + 5D161BA711701D7E41E02A5702FD024E /* Expecta */ = { + isa = PBXNativeTarget; + buildConfigurationList = 09381A9A84A0A8E73577B2BF10E583E5 /* Build configuration list for PBXNativeTarget "Expecta" */; + buildPhases = ( + E77C9AEACFFDF679958B3B297B98FBD1 /* Sources */, + B98A9F8FBAD747531D69A90AEEA779DB /* Frameworks */, + 92CF8202607080A615609E18CB36CCF1 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Expecta; + productName = Expecta; + productReference = C34C952BF4CC10D30E08BB3F51AC1C8E /* Expecta.framework */; + productType = "com.apple.product-type.framework"; + }; + 6AFDE82F938198A1CC8A6509F91B686D /* Pods-MWPhotoBrowser_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2ABB931174E90374B4EA85A8D195F4D3 /* Build configuration list for PBXNativeTarget "Pods-MWPhotoBrowser_Tests" */; + buildPhases = ( + AD0E87FEB471BF632EBDA49BEDC6CD8A /* Sources */, + 42FFB9953A2EFCD92A0221996ED6A647 /* Frameworks */, + 8B8EB91B3474CC93D58F8A12D47A30CE /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 5915A9761726115C01979D4451551F4D /* PBXTargetDependency */, + 8FE6B1925E614B7ECCF9036E8EE1FD6D /* PBXTargetDependency */, + 810F7F91194C0A3324D6BA9EFAFB5FD0 /* PBXTargetDependency */, + 6B3E490A58F37DF76B546A13A2150925 /* PBXTargetDependency */, + A76CB2177D1C2DEF694F09B9E93AD23F /* PBXTargetDependency */, + 11C91CC62C94BED3CC32DF7F85B407C6 /* PBXTargetDependency */, + 8D216A50DAFACA9FEBCAE8DE3FD904C0 /* PBXTargetDependency */, + 91B5D7B94C40823B6E74DB0090C2581C /* PBXTargetDependency */, + ); + name = "Pods-MWPhotoBrowser_Tests"; + productName = "Pods-MWPhotoBrowser_Tests"; + productReference = B7CFC40770B9EB8D96779BE2BC33D73B /* Pods_MWPhotoBrowser_Tests.framework */; + productType = "com.apple.product-type.framework"; + }; + 7BAAEC1386420288825150BB5315CA52 /* SDWebImage */ = { + isa = PBXNativeTarget; + buildConfigurationList = 94D7A15645E89B0F9CBCBECFBDC919E7 /* Build configuration list for PBXNativeTarget "SDWebImage" */; + buildPhases = ( + 32E54F95A58B422B43CD655859E01E43 /* Sources */, + D88C806F697542EB2CF51F7CAF3AA92C /* Frameworks */, + C258F23290798F317C01B739E34551CC /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SDWebImage; + productName = SDWebImage; + productReference = 29D870B6A4157EA9EE55918FE055EA83 /* SDWebImage.framework */; + productType = "com.apple.product-type.framework"; + }; + 89E0E487C3DF64355E632DD3E08DC27C /* Pods-MWPhotoBrowser_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = A009476FDC313FD25B9FCE42C41F528A /* Build configuration list for PBXNativeTarget "Pods-MWPhotoBrowser_Example" */; + buildPhases = ( + 8E7523B560DDDFFE8824269EDA5C1EB8 /* Sources */, + 5E4390C84A2DB75B3F210723EE9D9DFD /* Frameworks */, + 6B5BEE3821DF589A007840160CB79668 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 044F58ACAFCA198C7C9173D53F65EF7D /* PBXTargetDependency */, + 0AF4159E1E92B14F808555F246BB8FE7 /* PBXTargetDependency */, + 19915B124D0AA498BB8CBDA2DA80E435 /* PBXTargetDependency */, + A63640CE871302B3D7984E243DFD9259 /* PBXTargetDependency */, + ); + name = "Pods-MWPhotoBrowser_Example"; + productName = "Pods-MWPhotoBrowser_Example"; + productReference = F9665CC1C8486D8C4FCFBAE322E5C9FB /* Pods_MWPhotoBrowser_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + A3B3CA69641375F94D39F255650BF877 /* MWPhotoBrowser-MWPhotoBrowser */ = { + isa = PBXNativeTarget; + buildConfigurationList = 45625B5235A7184365DEDE72FF861BD5 /* Build configuration list for PBXNativeTarget "MWPhotoBrowser-MWPhotoBrowser" */; + buildPhases = ( + 4CE391FAE8E4C06F56E9729F6B2A5F99 /* Sources */, + FE6DD1672B9F594EED3C512FCE2D414E /* Frameworks */, + 593EE022525772303343F453272A3496 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "MWPhotoBrowser-MWPhotoBrowser"; + productName = "MWPhotoBrowser-MWPhotoBrowser"; + productReference = 258A3F8EA96DF52EA6A64B9CB18FF7FE /* MWPhotoBrowser.bundle */; + productType = "com.apple.product-type.bundle"; + }; + D3054FB7F84727519F50B6AD1E49531E /* FBSnapshotTestCase */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7532F3D5919BEFE4887DF9894DEC5740 /* Build configuration list for PBXNativeTarget "FBSnapshotTestCase" */; + buildPhases = ( + 39ED38B9D5CCE0FEA67EFD8F4AE7A9D1 /* Sources */, + 0C767A33954929B3DA39B1724C2855BB /* Frameworks */, + 9C95154159952390F453B9600C4A5CE6 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = FBSnapshotTestCase; + productName = FBSnapshotTestCase; + productReference = C0F616D883A7444DEB7BB3DE6DDD5294 /* FBSnapshotTestCase.framework */; + productType = "com.apple.product-type.framework"; + }; + E427C6DCA153E01C52C89563011E9C39 /* Expecta+Snapshots */ = { + isa = PBXNativeTarget; + buildConfigurationList = 6785A8A6A739CF0A6DD6EB706419AD8D /* Build configuration list for PBXNativeTarget "Expecta+Snapshots" */; + buildPhases = ( + E9A902A8DA5CCAAEBC95356EC2F52151 /* Sources */, + EA7419253261239D5483B3966111A1FC /* Frameworks */, + CDFD4A1DE3E4E3CABD4EC05ABC8A520C /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + 3D43A4E1E55598050189FEF026562CCB /* PBXTargetDependency */, + FD901727B9909D380F0E4985119FFEC1 /* PBXTargetDependency */, + F5725D79B2909BACC66D7838532A1F20 /* PBXTargetDependency */, + ); + name = "Expecta+Snapshots"; + productName = "Expecta+Snapshots"; + productReference = AA9E18743C351AA1E50C8DC88D6EAD81 /* Expecta_Snapshots.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = 8AB3449E3DBC944F730DB1CC1F9B0753 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 17CEAD1B3EC4E80098DF5F8AA00BE966 /* DACircularProgress */, + 5D161BA711701D7E41E02A5702FD024E /* Expecta */, + E427C6DCA153E01C52C89563011E9C39 /* Expecta+Snapshots */, + D3054FB7F84727519F50B6AD1E49531E /* FBSnapshotTestCase */, + 41FA54D12162DAD51D02FC58A2CD5034 /* MBProgressHUD */, + 05569F3C10FD91BB981D7CEE83CBC732 /* MWPhotoBrowser */, + A3B3CA69641375F94D39F255650BF877 /* MWPhotoBrowser-MWPhotoBrowser */, + 89E0E487C3DF64355E632DD3E08DC27C /* Pods-MWPhotoBrowser_Example */, + 6AFDE82F938198A1CC8A6509F91B686D /* Pods-MWPhotoBrowser_Tests */, + 7BAAEC1386420288825150BB5315CA52 /* SDWebImage */, + 21B910E0FB008FE15458D3D9B59BED16 /* Specta */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 593EE022525772303343F453272A3496 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0C5843F731C7C2A0C8F529076E12EDA9 /* ImageError.png in Resources */, + 1D0BF58B207512DB81BBB40D3E97DBAE /* ImageError@2x.png in Resources */, + 31FDBB0B425FE859F240A0886EB38110 /* ImageError@3x.png in Resources */, + D27168D1E78ABB091A76725508E83EEB /* ImageSelectedOff.png in Resources */, + 3E7C881E60487B86B0D8724EADA469CD /* ImageSelectedOff@2x.png in Resources */, + 2941CE3D6AC9155997F9CFAD8EB28275 /* ImageSelectedOff@3x.png in Resources */, + 7CD39921888160AF4DA8FA34D8C2DA69 /* ImageSelectedOn.png in Resources */, + F307ECB1C1F05BE81734367F4593CA82 /* ImageSelectedOn@2x.png in Resources */, + 3CD0F9EA95C1EB50E76FEAAEAB187B4B /* ImageSelectedOn@3x.png in Resources */, + 0037A9DFF578A4AFF0B7D1C7305E8E40 /* ImageSelectedSmallOff.png in Resources */, + C1CA627971B353DDDD82D932D7CB027E /* ImageSelectedSmallOff@2x.png in Resources */, + 8772846C789C7C624C0C0E617E11FCF2 /* ImageSelectedSmallOff@3x.png in Resources */, + 99FC4E8BADEE3C7E2410B3B688A8C0F5 /* ImageSelectedSmallOn.png in Resources */, + DB4989EDD807A9055F82EC4753D9807C /* ImageSelectedSmallOn@2x.png in Resources */, + 4B4688760FD2BB013693DDD7A37A47EA /* ImageSelectedSmallOn@3x.png in Resources */, + 72C6A4FF919FF97E5B081AF8057C523A /* PlayButtonOverlayLarge.png in Resources */, + 85237B80C0FD5B9DD88786241BE9F6A7 /* PlayButtonOverlayLarge@2x.png in Resources */, + 04ECBFF94ABFE49E0FB662D9FC233896 /* PlayButtonOverlayLarge@3x.png in Resources */, + 893DEFD9A1689A407F5D0E3C4B9F7903 /* PlayButtonOverlayLargeTap.png in Resources */, + A46AAEAE63E0A8D4EF717E713B4792DB /* PlayButtonOverlayLargeTap@2x.png in Resources */, + A345C245EF2E89673371DEA8C49FEA79 /* PlayButtonOverlayLargeTap@3x.png in Resources */, + CDF5AECA235662AF55459171DDE357B5 /* UIBarButtonItemArrowLeft.png in Resources */, + DABC57DC084C71E90A93DEB338F7870C /* UIBarButtonItemArrowLeft@2x.png in Resources */, + 109CAFBB76B2BB20AF587EBD5A1FEB47 /* UIBarButtonItemArrowLeft@3x.png in Resources */, + 1138EDF1ECD44078A1FB2E8D0A9F641D /* UIBarButtonItemArrowRight.png in Resources */, + B1F8419E4476EAE6B555CE110B8C98D5 /* UIBarButtonItemArrowRight@2x.png in Resources */, + C4FD6800F876A6A5EDDF9F42DA80DC0C /* UIBarButtonItemArrowRight@3x.png in Resources */, + 595C01B0239526370A8C2E354B19CA4E /* UIBarButtonItemGrid.png in Resources */, + 869E345707F7001308427109162748FF /* UIBarButtonItemGrid@2x.png in Resources */, + 59B9166C72F37A1DB3D0180CE483AC87 /* UIBarButtonItemGrid@3x.png in Resources */, + 5C24F1508D2272383A5D73F0470CC517 /* VideoOverlay.png in Resources */, + 0D0D805F1D9B59630C5E3CB96A5814F6 /* VideoOverlay@2x.png in Resources */, + 103C5EC133D3E698E920805C2C60AB8E /* VideoOverlay@3x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 6B103A813DF17DE8AA4F8410FEC78E2A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 661972A0AF68C18802136F3798B3BD70 /* MWPhotoBrowser.bundle in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 18C33FA1A83AD375FD7343B1770CB345 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8A551FDC7BFD61BAE67B6AA50F7F0A88 /* DACircularProgress-dummy.m in Sources */, + C670F3788B6F318BB703186712195117 /* DACircularProgressView.m in Sources */, + 699D6D05AA0FCF96FB4B1A9FB5A8790E /* DALabeledCircularProgressView.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 32E54F95A58B422B43CD655859E01E43 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + DBA80C613EF778FF4A805097821DF818 /* NSData+ImageContentType.m in Sources */, + 9652931D9A88FD07FDA158E87E3685F2 /* NSImage+WebCache.m in Sources */, + D4E683827200C1327D09603FB0099566 /* SDImageCache.m in Sources */, + 10CBF792C630C6D0EE052BED90136C5C /* SDImageCacheConfig.m in Sources */, + 1DC08C8350D56A08EBBA4291D85BFC6F /* SDWebImage-dummy.m in Sources */, + 235E0832005C879D9D7EFABCF9CBC62B /* SDWebImageCoder.m in Sources */, + 02A6778FC82493FD6ED5A7B4B13C4716 /* SDWebImageCoderHelper.m in Sources */, + CA946201FC6A0FF1B75A4736228BAF3F /* SDWebImageCodersManager.m in Sources */, + 6C274F15FA58AB2D0685166D4E38581A /* SDWebImageCompat.m in Sources */, + 678A3A851BB666756492B82E22B48EA0 /* SDWebImageDownloader.m in Sources */, + 2978AD918783E8E08BFFB7E89458BFCB /* SDWebImageDownloaderOperation.m in Sources */, + 8F543D12918066B5ED30FA3E0D406EDD /* SDWebImageFrame.m in Sources */, + 3A705E07106578F31449733AC26ECFAD /* SDWebImageGIFCoder.m in Sources */, + 6765640D14C98AB3F6D53125C2AA42E5 /* SDWebImageImageIOCoder.m in Sources */, + ADB9C858EFC52BD81D3ADB086B65A6CE /* SDWebImageManager.m in Sources */, + 4BBC09F24CDB455FF73807264715C1B2 /* SDWebImagePrefetcher.m in Sources */, + 4657C86CD3C5DC414AC6F3F85E798497 /* UIButton+WebCache.m in Sources */, + 1CA40A7D0B9752579CC15BDAFCF1F1C8 /* UIImage+ForceDecode.m in Sources */, + 75ECD25D9A04097694005CCC01E901A3 /* UIImage+GIF.m in Sources */, + FE88999B60943B8E3424BD38856C3F4F /* UIImage+MultiFormat.m in Sources */, + 9C18790878BFE2BEBF940EDF730CC8C0 /* UIImageView+HighlightedWebCache.m in Sources */, + 58BA97091E8EEAD2DD63F38176BAAC9A /* UIImageView+WebCache.m in Sources */, + A7154D09E5778CD7AB747DC54576D24D /* UIView+WebCache.m in Sources */, + 512A8238A16BAF55087F4FF444424553 /* UIView+WebCacheOperation.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 39ED38B9D5CCE0FEA67EFD8F4AE7A9D1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 47BA77226056D790A2964605F468D6EA /* FBSnapshotTestCase-dummy.m in Sources */, + C516B672FFC9DB635E0E53DA8FC9CF88 /* FBSnapshotTestCase.m in Sources */, + F0873AA02837D34381D156267B9EB005 /* FBSnapshotTestCasePlatform.m in Sources */, + 57C1DAC24BEE6C12B29AAE68DD3EBEC7 /* FBSnapshotTestController.m in Sources */, + 754197D184C23A19146DB4C9B3B90050 /* SwiftSupport.swift in Sources */, + 47EC7BD047C906B92B85399E097E258E /* UIApplication+StrictKeyWindow.m in Sources */, + 98CF4E57A36540E13153A545546A1D11 /* UIImage+Compare.m in Sources */, + 75DF265A4FEC4E42582B8570194CB583 /* UIImage+Diff.m in Sources */, + E972E6647713D21A0F21BDAD1816AA29 /* UIImage+Snapshot.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4CE391FAE8E4C06F56E9729F6B2A5F99 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5BB3FBA1C308E80B904A714F4F781F69 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A4D708563D06FCC4791D002723CBA985 /* Specta-dummy.m in Sources */, + D490834AA1304BF36991A257F3366648 /* SpectaDSL.m in Sources */, + 6F1C8C2851E8B7476992360408E05B40 /* SpectaUtility.m in Sources */, + 146D2FD2E3B98DA591885219099F2A4A /* SPTCallSite.m in Sources */, + 255345DF9F3F6DDC70B0ABAF2775324B /* SPTCompiledExample.m in Sources */, + B376B4A777F62028AF0965D93658413E /* SPTExample.m in Sources */, + 5386920B6032F8686000D909CFF26041 /* SPTExampleGroup.m in Sources */, + 9695B31D33EA0EC9CFB42B9D8ABC447D /* SPTSharedExampleGroups.m in Sources */, + FCDA06700D1989687F2471414453A57A /* SPTSpec.m in Sources */, + 20A2A483CDC911D6DB2EAD12444D1406 /* SPTTestSuite.m in Sources */, + 7F1209D2DD89FBCDABDA3CDBB0DDB49D /* XCTestCase+Specta.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 652A34283DB1954E97AB00F6779EB6D7 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7095E0F646A7F460E7055C56E2E88814 /* MWCaptionView.m in Sources */, + 03BCDDD680BABCCCE667B28903800200 /* MWGridCell.m in Sources */, + 09D31A3AF830F1625B4B458ADA65CA65 /* MWGridViewController.m in Sources */, + 5F1F0CD90AE6B72349DEB824D4BC8098 /* MWPhoto.m in Sources */, + CB9C80CD067E2CF4A3012455BFF0789F /* MWPhotoBrowser-dummy.m in Sources */, + 3040496F1DF97853D251CB0EFEEA297A /* MWPhotoBrowser.m in Sources */, + 6D52E1AB3593A3D253C5672A5FF29E71 /* MWTapDetectingImageView.m in Sources */, + E6B838C42E52C673B4D10B77414900F7 /* MWTapDetectingView.m in Sources */, + 3051C8B73BD859EECF0E7FD4082633D8 /* MWZoomingScrollView.m in Sources */, + B802BA969C64EBEDB7E98BF1DAAA320B /* UIImage+MWPhotoBrowser.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 8E7523B560DDDFFE8824269EDA5C1EB8 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + B3D72E30DCD432BF9239472581F55479 /* Pods-MWPhotoBrowser_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + AD0E87FEB471BF632EBDA49BEDC6CD8A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A009A5959BDE92B62C551E9E14663C72 /* Pods-MWPhotoBrowser_Tests-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E77C9AEACFFDF679958B3B297B98FBD1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9E4463D68D13C127762B1ACB8249B64C /* EXPBlockDefinedMatcher.m in Sources */, + 01F278A54C85C2C865DDAD4090C559B6 /* EXPDoubleTuple.m in Sources */, + D1768C977F0CD5B420D1A1D2375CDBD4 /* Expecta-dummy.m in Sources */, + 99E6D51A8A4E3FFB7601D182D995A3BA /* ExpectaObject.m in Sources */, + 1D676445A1446539D4B722E6EF0C802A /* ExpectaSupport.m in Sources */, + BFC7D32CFE8200730837306AFF61E5AD /* EXPExpect.m in Sources */, + 5E4F55D319FF771D658CCE335E7CB498 /* EXPFloatTuple.m in Sources */, + 150503B99F77D3D8897EFFC68C09A351 /* EXPMatcherHelpers.m in Sources */, + 9A0ADF06F5B6BC3A70EDE1285BAF9346 /* EXPMatchers+beCloseTo.m in Sources */, + 8220368E5F7EA70947BAD2B6F216C61B /* EXPMatchers+beFalsy.m in Sources */, + A037AD9C808583B3EC9F49B3EEDA588A /* EXPMatchers+beginWith.m in Sources */, + FF394D6FEA84206182301180AE4CB957 /* EXPMatchers+beGreaterThan.m in Sources */, + C14CD98EE4DDC0B7689F058D5B79CC47 /* EXPMatchers+beGreaterThanOrEqualTo.m in Sources */, + CD22121B77F0F8E2B6A58AF6226038C2 /* EXPMatchers+beIdenticalTo.m in Sources */, + 778C9F1A1715E05313578E39AB46726E /* EXPMatchers+beInstanceOf.m in Sources */, + 508B6D0572C0C3B4A3E019B814595D4A /* EXPMatchers+beInTheRangeOf.m in Sources */, + DF883524C3F35145D74166C01BCFCFC3 /* EXPMatchers+beKindOf.m in Sources */, + 47D171E32EAE4FB61A9971B9BC00226D /* EXPMatchers+beLessThan.m in Sources */, + CE7E4C141657D23213C7FAE616D7FA75 /* EXPMatchers+beLessThanOrEqualTo.m in Sources */, + CD66900813CFE317343F5A4053AE73EC /* EXPMatchers+beNil.m in Sources */, + 2916D75F69E777954F5BF46AE63C52C0 /* EXPMatchers+beSubclassOf.m in Sources */, + AC0AB78F3A7629ED1C7F3F82BBB3F471 /* EXPMatchers+beSupersetOf.m in Sources */, + 98571BE17A46245CA1717CF9157A0807 /* EXPMatchers+beTruthy.m in Sources */, + 51FCC9EDD6B60BF63B5EF7CAC94CCF23 /* EXPMatchers+conformTo.m in Sources */, + 9EA076D25036A0F4765FF3FB57CF4A6A /* EXPMatchers+contain.m in Sources */, + 285C6F6BE59E632CB219CD98B4EDC1AA /* EXPMatchers+endWith.m in Sources */, + E6D59CAA2A6E134A4643254406ED11F2 /* EXPMatchers+equal.m in Sources */, + C676818DADAC76EE2FDC5533CBF3648A /* EXPMatchers+haveCountOf.m in Sources */, + BC530A8234C398F9F3AD1A1D41670B65 /* EXPMatchers+match.m in Sources */, + 9F51005FE4BF10FA9906B02DAD609C6E /* EXPMatchers+postNotification.m in Sources */, + 361B58CE2A28E03CA83A73617ED739F2 /* EXPMatchers+raise.m in Sources */, + 870CAAA15357EFF9E1619737DEE56067 /* EXPMatchers+raiseWithReason.m in Sources */, + A0612BA825C81CE45266B214DF3A8BCB /* EXPMatchers+respondTo.m in Sources */, + AE7BBD46BA00A9AC69249ADA56402162 /* EXPUnsupportedObject.m in Sources */, + A6CC81FC886EE8FF27EF4DD48D6F8F56 /* NSValue+Expecta.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E9A902A8DA5CCAAEBC95356EC2F52151 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2CC183AE5C5A4EA8EE0E14768F464BBB /* Expecta+Snapshots-dummy.m in Sources */, + 6C88FB17C3AE49E50ABF4C36176B55BB /* ExpectaObject+FBSnapshotTest.m in Sources */, + 0D3FBF37E9E7829108F70F4D5658918A /* EXPMatchers+FBSnapshotTest.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FE8E0446C3B3B52779E8DE373E495A61 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0968524ED4DE8DF7834055C5B6089D72 /* MBProgressHUD-dummy.m in Sources */, + 897C38C8E3C31950E2E93A4D6937CCC4 /* MBProgressHUD.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 044F58ACAFCA198C7C9173D53F65EF7D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = DACircularProgress; + target = 17CEAD1B3EC4E80098DF5F8AA00BE966 /* DACircularProgress */; + targetProxy = 0966BD41990B2A71AF82C35CCEF7911F /* PBXContainerItemProxy */; + }; + 0AF4159E1E92B14F808555F246BB8FE7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = MBProgressHUD; + target = 41FA54D12162DAD51D02FC58A2CD5034 /* MBProgressHUD */; + targetProxy = 1F6DD810089C72A7179A4B3BDBA6E49C /* PBXContainerItemProxy */; + }; + 11C91CC62C94BED3CC32DF7F85B407C6 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = MWPhotoBrowser; + target = 05569F3C10FD91BB981D7CEE83CBC732 /* MWPhotoBrowser */; + targetProxy = 03EB80621CEB225BEA239E9623849733 /* PBXContainerItemProxy */; + }; + 19915B124D0AA498BB8CBDA2DA80E435 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = MWPhotoBrowser; + target = 05569F3C10FD91BB981D7CEE83CBC732 /* MWPhotoBrowser */; + targetProxy = 3C2283D612FC9F555C705D6059F59F56 /* PBXContainerItemProxy */; + }; + 3D43A4E1E55598050189FEF026562CCB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Expecta; + target = 5D161BA711701D7E41E02A5702FD024E /* Expecta */; + targetProxy = 5C6D7B5A976F2A92FE24BD14BCB09413 /* PBXContainerItemProxy */; + }; + 5915A9761726115C01979D4451551F4D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = DACircularProgress; + target = 17CEAD1B3EC4E80098DF5F8AA00BE966 /* DACircularProgress */; + targetProxy = 5691182EE16CF19CD17AC03BA1ECC78F /* PBXContainerItemProxy */; + }; + 6B3E490A58F37DF76B546A13A2150925 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FBSnapshotTestCase; + target = D3054FB7F84727519F50B6AD1E49531E /* FBSnapshotTestCase */; + targetProxy = 1AFBD1DC253BEA76E504E622132408E4 /* PBXContainerItemProxy */; + }; + 810F7F91194C0A3324D6BA9EFAFB5FD0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "Expecta+Snapshots"; + target = E427C6DCA153E01C52C89563011E9C39 /* Expecta+Snapshots */; + targetProxy = 2A81FB5B047EE166484F1879FD229B2F /* PBXContainerItemProxy */; + }; + 8D216A50DAFACA9FEBCAE8DE3FD904C0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SDWebImage; + target = 7BAAEC1386420288825150BB5315CA52 /* SDWebImage */; + targetProxy = 55F0B33DD3CF11AC83898A8627EA4078 /* PBXContainerItemProxy */; + }; + 8FE6B1925E614B7ECCF9036E8EE1FD6D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Expecta; + target = 5D161BA711701D7E41E02A5702FD024E /* Expecta */; + targetProxy = 075141F448EFB579B366C68246BD1AF1 /* PBXContainerItemProxy */; + }; + 917A3DBF9D95A3F368D2D722E42C9095 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SDWebImage; + target = 7BAAEC1386420288825150BB5315CA52 /* SDWebImage */; + targetProxy = 6498C4415296B48D93DF763C5D7880C4 /* PBXContainerItemProxy */; + }; + 91B5D7B94C40823B6E74DB0090C2581C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Specta; + target = 21B910E0FB008FE15458D3D9B59BED16 /* Specta */; + targetProxy = B7AA50E41A2CADC36D73C7FB3C98A6B2 /* PBXContainerItemProxy */; + }; + A63640CE871302B3D7984E243DFD9259 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = SDWebImage; + target = 7BAAEC1386420288825150BB5315CA52 /* SDWebImage */; + targetProxy = 470FBED368D7B28B1DF448F968586FFD /* PBXContainerItemProxy */; + }; + A76CB2177D1C2DEF694F09B9E93AD23F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = MBProgressHUD; + target = 41FA54D12162DAD51D02FC58A2CD5034 /* MBProgressHUD */; + targetProxy = A398874A851C46B1227DA91D7607B4BD /* PBXContainerItemProxy */; + }; + C3A231CC60666CD2D7000BF0C19C9D5F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "MWPhotoBrowser-MWPhotoBrowser"; + target = A3B3CA69641375F94D39F255650BF877 /* MWPhotoBrowser-MWPhotoBrowser */; + targetProxy = A3DF348633BAB87AFCA05AC79FD4E3E1 /* PBXContainerItemProxy */; + }; + EB669DFB4714DECDFE1F793A4A2ED127 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = MBProgressHUD; + target = 41FA54D12162DAD51D02FC58A2CD5034 /* MBProgressHUD */; + targetProxy = 76A699103153BB8DE333AD621BEC7BCB /* PBXContainerItemProxy */; + }; + F5172C96CE1DBDD27578C97D62BB0882 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = DACircularProgress; + target = 17CEAD1B3EC4E80098DF5F8AA00BE966 /* DACircularProgress */; + targetProxy = 61E2D7E929E7CEBDFD6EB9EC4C564E56 /* PBXContainerItemProxy */; + }; + F5725D79B2909BACC66D7838532A1F20 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = Specta; + target = 21B910E0FB008FE15458D3D9B59BED16 /* Specta */; + targetProxy = 68D86DBD027206337165492BDE3876AA /* PBXContainerItemProxy */; + }; + FD901727B9909D380F0E4985119FFEC1 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = FBSnapshotTestCase; + target = D3054FB7F84727519F50B6AD1E49531E /* FBSnapshotTestCase */; + targetProxy = 4DDF989F04D3E1DCF12BBAA7836E70A9 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 14E0132A51D69A0E43F1B13D612FB202 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 225A9DA8E3B28D3A296CB8B7238D1299 /* MWPhotoBrowser.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/MWPhotoBrowser/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/MWPhotoBrowser/MWPhotoBrowser.modulemap"; + PRODUCT_NAME = MWPhotoBrowser; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 18BF2C2EE18FF9387901C2038B1D504C /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9C335BF44A4FFD8556281669B456880A /* Specta.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Specta/Specta-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Specta/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Specta/Specta.modulemap"; + PRODUCT_NAME = Specta; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 193DBD5B37A3F5519831D7935AB5F389 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F1B87ABBF2348F5E9CDB662D36FE572D /* MBProgressHUD.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/MBProgressHUD/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/MBProgressHUD/MBProgressHUD.modulemap"; + PRODUCT_NAME = MBProgressHUD; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 1B99AB34F0F8B565A09B5CBA10097D0D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 145D16B8AAA1DF328532C5A6C8A46E6B /* Pods-MWPhotoBrowser_Tests.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-MWPhotoBrowser_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_MWPhotoBrowser_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 26C20EC5E8E17AC74C0882FF3B3AAAE7 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 225A9DA8E3B28D3A296CB8B7238D1299 /* MWPhotoBrowser.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/MWPhotoBrowser/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/MWPhotoBrowser/MWPhotoBrowser.modulemap"; + PRODUCT_NAME = MWPhotoBrowser; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 2B35F169D2AF5647326A75DAE9D74081 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DD7FBA42D8165F71A6C4CEFBAE670C9B /* FBSnapshotTestCase.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FBSnapshotTestCase/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.modulemap"; + PRODUCT_NAME = FBSnapshotTestCase; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 34633BD576292BA33B727DC44F8348DE /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 145504C14503A6685E92B9E36CD2F7B8 /* DACircularProgress.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/DACircularProgress/DACircularProgress-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/DACircularProgress/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/DACircularProgress/DACircularProgress.modulemap"; + PRODUCT_NAME = DACircularProgress; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 3ED6A0BCFCE3BEF73896BDD99BD6CD72 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 458E448C16A7213D1471C1E02A6042B9 /* SDWebImage.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SDWebImage/SDWebImage-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SDWebImage/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SDWebImage/SDWebImage.modulemap"; + PRODUCT_NAME = SDWebImage; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 47EDC4759EE89739E70095E676C7549B /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 145504C14503A6685E92B9E36CD2F7B8 /* DACircularProgress.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/DACircularProgress/DACircularProgress-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/DACircularProgress/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/DACircularProgress/DACircularProgress.modulemap"; + PRODUCT_NAME = DACircularProgress; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 480B523C5CA149CB5AE76E8F2ACCBD61 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 458E448C16A7213D1471C1E02A6042B9 /* SDWebImage.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/SDWebImage/SDWebImage-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/SDWebImage/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/SDWebImage/SDWebImage.modulemap"; + PRODUCT_NAME = SDWebImage; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 4B996AFF58BEE13E836DFEEC4955E6FE /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9C335BF44A4FFD8556281669B456880A /* Specta.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Specta/Specta-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Specta/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Specta/Specta.modulemap"; + PRODUCT_NAME = Specta; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 82B3496240DCA857104A71FC50562B5C /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DD7FBA42D8165F71A6C4CEFBAE670C9B /* FBSnapshotTestCase.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/FBSnapshotTestCase/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.modulemap"; + PRODUCT_NAME = FBSnapshotTestCase; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 86B5671933B92D3C24A5540675BA3070 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D33AB238D91F5AE4E645E91CAE1887E0 /* Pods-MWPhotoBrowser_Example.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-MWPhotoBrowser_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_MWPhotoBrowser_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 90C3E9362D4B4D28CE660BBCB24AAE64 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F1B87ABBF2348F5E9CDB662D36FE572D /* MBProgressHUD.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/MBProgressHUD/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/MBProgressHUD/MBProgressHUD.modulemap"; + PRODUCT_NAME = MBProgressHUD; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 9597D36E7CCD2E06730E9DF0B0C81C8A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2F5F8C635654B2734F03436955BA983F /* Expecta+Snapshots.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Expecta+Snapshots/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Expecta+Snapshots/Expecta+Snapshots.modulemap"; + PRODUCT_NAME = Expecta_Snapshots; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + A3AE8134B535780BA0BBC7600FD578ED /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = AB512B085EB3CEE4006E9DFB31CA5654 /* Pods-MWPhotoBrowser_Example.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-MWPhotoBrowser_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_MWPhotoBrowser_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=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 = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + BCF22DF2C1B60B2B92FBC2655E5A1AFD /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 225A9DA8E3B28D3A296CB8B7238D1299 /* MWPhotoBrowser.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/MWPhotoBrowser"; + INFOPLIST_FILE = "Target Support Files/MWPhotoBrowser/ResourceBundle-MWPhotoBrowser-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + PRODUCT_NAME = MWPhotoBrowser; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + WRAPPER_EXTENSION = bundle; + }; + name = Release; + }; + C32A2B860FAB4960C7E591A3A8F31465 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F0A15D85317DEC0696D1995FC9449385 /* Expecta.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Expecta/Expecta-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Expecta/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Expecta/Expecta.modulemap"; + PRODUCT_NAME = Expecta; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + D6FFC974A0E940DC45F87632E2EF0290 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A701B314AB0DF1AE979C8FE8CEC33AD1 /* Pods-MWPhotoBrowser_Tests.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-MWPhotoBrowser_Tests/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_MWPhotoBrowser_Tests; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = 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_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "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 = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + F373548AD28EA290F30F0A89AB547A79 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 225A9DA8E3B28D3A296CB8B7238D1299 /* MWPhotoBrowser.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = "iPhone Developer"; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/MWPhotoBrowser"; + INFOPLIST_FILE = "Target Support Files/MWPhotoBrowser/ResourceBundle-MWPhotoBrowser-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + PRODUCT_NAME = MWPhotoBrowser; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + WRAPPER_EXTENSION = bundle; + }; + name = Debug; + }; + FCAF4B4279A6749B079514FEFAAC9074 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2F5F8C635654B2734F03436955BA983F /* Expecta+Snapshots.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Expecta+Snapshots/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Expecta+Snapshots/Expecta+Snapshots.modulemap"; + PRODUCT_NAME = Expecta_Snapshots; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + FD88F8B1E5A792FF8C0BC3B33047A1D1 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = F0A15D85317DEC0696D1995FC9449385 /* Expecta.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/Expecta/Expecta-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/Expecta/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/Expecta/Expecta.modulemap"; + PRODUCT_NAME = Expecta; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 09381A9A84A0A8E73577B2BF10E583E5 /* Build configuration list for PBXNativeTarget "Expecta" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FD88F8B1E5A792FF8C0BC3B33047A1D1 /* Debug */, + C32A2B860FAB4960C7E591A3A8F31465 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2ABB931174E90374B4EA85A8D195F4D3 /* Build configuration list for PBXNativeTarget "Pods-MWPhotoBrowser_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1B99AB34F0F8B565A09B5CBA10097D0D /* Debug */, + D6FFC974A0E940DC45F87632E2EF0290 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */, + B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3DCD776C4FCAC02D7F3B7B11415A4F04 /* Build configuration list for PBXNativeTarget "MWPhotoBrowser" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 26C20EC5E8E17AC74C0882FF3B3AAAE7 /* Debug */, + 14E0132A51D69A0E43F1B13D612FB202 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 45625B5235A7184365DEDE72FF861BD5 /* Build configuration list for PBXNativeTarget "MWPhotoBrowser-MWPhotoBrowser" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F373548AD28EA290F30F0A89AB547A79 /* Debug */, + BCF22DF2C1B60B2B92FBC2655E5A1AFD /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 48C38E44B4EF5760ADB7DED06F65AD3A /* Build configuration list for PBXNativeTarget "Specta" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 18BF2C2EE18FF9387901C2038B1D504C /* Debug */, + 4B996AFF58BEE13E836DFEEC4955E6FE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 6785A8A6A739CF0A6DD6EB706419AD8D /* Build configuration list for PBXNativeTarget "Expecta+Snapshots" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9597D36E7CCD2E06730E9DF0B0C81C8A /* Debug */, + FCAF4B4279A6749B079514FEFAAC9074 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7532F3D5919BEFE4887DF9894DEC5740 /* Build configuration list for PBXNativeTarget "FBSnapshotTestCase" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 82B3496240DCA857104A71FC50562B5C /* Debug */, + 2B35F169D2AF5647326A75DAE9D74081 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 934CDBA1E9BBC7B9EC5126D03A885FB8 /* Build configuration list for PBXNativeTarget "DACircularProgress" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 47EDC4759EE89739E70095E676C7549B /* Debug */, + 34633BD576292BA33B727DC44F8348DE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 94D7A15645E89B0F9CBCBECFBDC919E7 /* Build configuration list for PBXNativeTarget "SDWebImage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3ED6A0BCFCE3BEF73896BDD99BD6CD72 /* Debug */, + 480B523C5CA149CB5AE76E8F2ACCBD61 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + A009476FDC313FD25B9FCE42C41F528A /* Build configuration list for PBXNativeTarget "Pods-MWPhotoBrowser_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A3AE8134B535780BA0BBC7600FD578ED /* Debug */, + 86B5671933B92D3C24A5540675BA3070 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + CC1874913BA1F82C4953C3C7F551AB22 /* Build configuration list for PBXNativeTarget "MBProgressHUD" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 90C3E9362D4B4D28CE660BBCB24AAE64 /* Debug */, + 193DBD5B37A3F5519831D7935AB5F389 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a62..000000000 --- a/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/MWPhotoBrowser.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/MWPhotoBrowser.xcscheme deleted file mode 100644 index a0b093cf0..000000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/MWPhotoBrowser.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Example-MWPhotoBrowser-MWPhotoBrowser.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Example-MWPhotoBrowser-MWPhotoBrowser.xcscheme deleted file mode 100644 index 7c93849f9..000000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Example-MWPhotoBrowser-MWPhotoBrowser.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Example-MWPhotoBrowser.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Example-MWPhotoBrowser.xcscheme deleted file mode 100644 index 6087f8b6d..000000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Example-MWPhotoBrowser.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Tests-MWPhotoBrowser-MWPhotoBrowser.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Tests-MWPhotoBrowser-MWPhotoBrowser.xcscheme deleted file mode 100644 index 9ab515f1f..000000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Tests-MWPhotoBrowser-MWPhotoBrowser.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Tests-MWPhotoBrowser.xcscheme b/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Tests-MWPhotoBrowser.xcscheme deleted file mode 100644 index 9d0037e4d..000000000 --- a/Example/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-MWPhotoBrowser_Tests-MWPhotoBrowser.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/Pods/SDWebImage/LICENSE b/Example/Pods/SDWebImage/LICENSE index ae783e175..92a252a9f 100644 --- a/Example/Pods/SDWebImage/LICENSE +++ b/Example/Pods/SDWebImage/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2009 Olivier Poitrey +Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Example/Pods/SDWebImage/README.md b/Example/Pods/SDWebImage/README.md index 62628f99c..1922e9e60 100644 --- a/Example/Pods/SDWebImage/README.md +++ b/Example/Pods/SDWebImage/README.md @@ -1,188 +1,100 @@ -Web Image -========= +

+ +

+ + [![Build Status](http://img.shields.io/travis/rs/SDWebImage/master.svg?style=flat)](https://travis-ci.org/rs/SDWebImage) [![Pod Version](http://img.shields.io/cocoapods/v/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/) [![Pod Platform](http://img.shields.io/cocoapods/p/SDWebImage.svg?style=flat)](http://cocoadocs.org/docsets/SDWebImage/) [![Pod License](http://img.shields.io/cocoapods/l/SDWebImage.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html) -[![Dependency Status](https://www.versioneye.com/objective-c/sdwebimage/3.3/badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/3.3) +[![Dependency Status](https://www.versioneye.com/objective-c/sdwebimage/badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage) [![Reference Status](https://www.versioneye.com/objective-c/sdwebimage/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/references) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/rs/SDWebImage) +[![codecov](https://codecov.io/gh/rs/SDWebImage/branch/master/graph/badge.svg)](https://codecov.io/gh/rs/SDWebImage) -This library provides a category for UIImageView with support for remote images coming from the web. - -It provides: - -- An `UIImageView` category adding web image and cache management to the Cocoa Touch framework -- An asynchronous image downloader -- An asynchronous memory + disk image caching with automatic cache expiration handling -- Animated GIF support -- WebP format support -- A background image decompression -- A guarantee that the same URL won't be downloaded several times -- A guarantee that bogus URLs won't be retried again and again -- A guarantee that main thread will never be blocked -- Performances! -- Use GCD and ARC -- Arm64 support - -NOTE: The version 3.0 of SDWebImage isn't fully backward compatible with 2.0 and requires iOS 5.1.1 -minimum deployment version. If you need iOS < 5.0 support, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat). +This library provides an async image downloader with cache support. For convenience, we added categories for UI elements like `UIImageView`, `UIButton`, `MKAnnotationView`. -[How is SDWebImage better than X?](https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F) +## Features -Who Use It ----------- +- [x] Categories for `UIImageView`, `UIButton`, `MKAnnotationView` adding web image and cache management +- [x] An asynchronous image downloader +- [x] An asynchronous memory + disk image caching with automatic cache expiration handling +- [x] A background image decompression +- [x] A guarantee that the same URL won't be downloaded several times +- [x] A guarantee that bogus URLs won't be retried again and again +- [x] A guarantee that main thread will never be blocked +- [x] Performances! +- [x] Use GCD and ARC -Find out [who uses SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Uses-SDWebImage) and add your app to the list. +## Supported Image Formats -How To Use ----------- +- Image formats supported by UIImage (JPEG, PNG, ...), including GIF +- WebP format, including animated WebP (use the `WebP` subspec) -API documentation is available at [CocoaDocs - SDWebImage](http://cocoadocs.org/docsets/SDWebImage/) +## Requirements -### Using UIImageView+WebCache category with UITableView +- iOS 7.0 or later +- tvOS 9.0 or later +- watchOS 2.0 or later +- OS X 10.8 or later +- Xcode 7.3 or later -Just #import the UIImageView+WebCache.h header, and call the sd_setImageWithURL:placeholderImage: -method from the tableView:cellForRowAtIndexPath: UITableViewDataSource method. Everything will be -handled for you, from async downloads to caching management. - -```objective-c -#import - -... - -- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { - static NSString *MyIdentifier = @"MyIdentifier"; - - UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier]; - if (cell == nil) { - cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault - reuseIdentifier:MyIdentifier] autorelease]; - } - - // Here we use the new provided sd_setImageWithURL: method to load the web image - [cell.imageView sd_setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] - placeholderImage:[UIImage imageNamed:@"placeholder.png"]]; - - cell.textLabel.text = @"My Text"; - return cell; -} -``` - -### Using blocks - -With blocks, you can be notified about the image download progress and whenever the image retrieval -has completed with success or not: - -```objective-c -// Here we use the new provided sd_setImageWithURL: method to load the web image -[cell.imageView sd_setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] - placeholderImage:[UIImage imageNamed:@"placeholder.png"] - completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - ... completion code here ... - }]; -``` +#### Backwards compatibility -Note: neither your success nor failure block will be call if your image request is canceled before completion. +- For iOS 5 and 6, use [any 3.x version up to 3.7.6](https://github.com/rs/SDWebImage/tree/3.7.6) +- For iOS < 5.0, please use the last [2.0 version](https://github.com/rs/SDWebImage/tree/2.0-compat). -### Using SDWebImageManager +## Getting Started -The SDWebImageManager is the class behind the UIImageView+WebCache category. It ties the -asynchronous downloader with the image cache store. You can use this class directly to benefit -from web image downloading with caching in another context than a UIView (ie: with Cocoa). +- Read this Readme doc +- Read the [How to use section](https://github.com/rs/SDWebImage#how-to-use) +- Read the [documentation @ CocoaDocs](http://cocoadocs.org/docsets/SDWebImage/) +- Read [How is SDWebImage better than X?](https://github.com/rs/SDWebImage/wiki/How-is-SDWebImage-better-than-X%3F) +- Try the example by downloading the project from Github or even easier using CocoaPods try `pod try SDWebImage` +- Get to the [installation steps](https://github.com/rs/SDWebImage#installation) +- Read the [SDWebImage 4.0 Migration Guide](Docs/SDWebImage-4.0-Migration-guide.md) to get an idea of the changes from 3.x to 4.x -Here is a simple example of how to use SDWebImageManager: +## Who Uses It +- Find out [who uses SDWebImage](https://github.com/rs/SDWebImage/wiki/Who-Uses-SDWebImage) and add your app to the list. -```objective-c -SDWebImageManager *manager = [SDWebImageManager sharedManager]; -[manager downloadImageWithURL:imageURL - options:0 - progress:^(NSInteger receivedSize, NSInteger expectedSize) { - // progression tracking code - } - completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - if (image) { - // do something with image - } - }]; -``` +## Communication -### Using Asynchronous Image Downloader Independently +- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/sdwebimage). (Tag 'sdwebimage') +- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/sdwebimage). +- If you **found a bug**, open an issue. +- If you **have a feature request**, open an issue. +- If you **want to contribute**, submit a pull request. -It's also possible to use the async image downloader independently: +## How To Use ```objective-c -SDWebImageDownloader *downloader = [SDWebImageDownloader sharedDownloader]; -[downloader downloadImageWithURL:imageURL - options:0 - progress:^(NSInteger receivedSize, NSInteger expectedSize) { - // progression tracking code - } - completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) { - if (image && finished) { - // do something with image - } - }]; -``` - -### Using Asynchronous Image Caching Independently +Objective-C: -It is also possible to use the async based image cache store independently. SDImageCache -maintains a memory cache and an optional disk cache. Disk cache write operations are performed -asynchronous so it doesn't add unnecessary latency to the UI. - -The SDImageCache class provides a singleton instance for convenience but you can create your own -instance if you want to create separated cache namespace. - -To lookup the cache, you use the `queryDiskCacheForKey:done:` method. If the method returns nil, it means the cache -doesn't currently own the image. You are thus responsible for generating and caching it. The cache -key is an application unique identifier for the image to cache. It is generally the absolute URL of -the image. - -```objective-c -SDImageCache *imageCache = [[SDImageCache alloc] initWithNamespace:@"myNamespace"]; -[imageCache queryDiskCacheForKey:myCacheKey done:^(UIImage *image) { - // image is not nil if image was found -}]; +#import +... +[imageView sd_setImageWithURL:[NSURL URLWithString:@"http://www.domain.com/path/to/image.jpg"] + placeholderImage:[UIImage imageNamed:@"placeholder.png"]]; ``` -By default SDImageCache will lookup the disk cache if an image can't be found in the memory cache. -You can prevent this from happening by calling the alternative method `imageFromMemoryCacheForKey:`. +```swift +Swift: -To store an image into the cache, you use the storeImage:forKey: method: +import SDWebImage -```objective-c -[[SDImageCache sharedImageCache] storeImage:myImage forKey:myCacheKey]; +imageView.sd_setImage(with: URL(string: "http://www.domain.com/path/to/image.jpg"), placeholderImage: UIImage(named: "placeholder.png")) ``` -By default, the image will be stored in memory cache as well as on disk cache (asynchronously). If -you want only the memory cache, use the alternative method storeImage:forKey:toDisk: with a negative -third argument. +- For details about how to use the library and clear examples, see [The detailed How to use](Docs/HowToUse.md) -### Using cache key filter +## Animated Images (GIF) support -Sometime, you may not want to use the image URL as cache key because part of the URL is dynamic -(i.e.: for access control purpose). SDWebImageManager provides a way to set a cache key filter that -takes the NSURL as input, and output a cache key NSString. +- Starting with the 4.0 version, we rely on [FLAnimatedImage](https://github.com/Flipboard/FLAnimatedImage) to take care of our animated images. +- If you use cocoapods, add `pod 'SDWebImage/GIF'` to your podfile. +- To use it, simply make sure you use `FLAnimatedImageView` instead of `UIImageView`. +- **Note**: there is a backwards compatible feature, so if you are still trying to load a GIF into a `UIImageView`, it will only show the 1st frame as a static image. +- **Important**: FLAnimatedImage only works on the iOS platform. For OS X, use `NSImageView` with `animates` set to `YES` to show the entire animated images and `NO` to only show the 1st frame. For all the other platforms (tvOS, watchOS) we will fallback to the backwards compatibility feature described above -The following example sets a filter in the application delegate that will remove any query-string from -the URL before to use it as a cache key: - -```objective-c -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - SDWebImageManager.sharedManager.cacheKeyFilter = ^(NSURL *url) { - url = [[NSURL alloc] initWithScheme:url.scheme host:url.host path:url.path]; - return [url absoluteString]; - }; - - // Your app init code... - return YES; -} -``` - - -Common Problems ---------------- +## Common Problems ### Using dynamic image size with UITableViewCell @@ -201,21 +113,30 @@ If you don't control the image server you're using, you may not be able to chang ``` objective-c [imageView sd_setImageWithURL:[NSURL URLWithString:@"https://graph.facebook.com/olivier.poitrey/picture"] - placeholderImage:[UIImage imageNamed:@"avatar-placeholder.png"] - options:SDWebImageRefreshCached]; + placeholderImage:[UIImage imageNamed:@"avatar-placeholder.png"] + options:SDWebImageRefreshCached]; ``` ### Add a progress indicator -See this category: https://github.com/JJSaccolo/UIActivityIndicator-for-SDWebImage +Add these before you call ```sd_setImageWithURL``` -Installation ------------- +``` objective-c +[imageView sd_setShowActivityIndicatorView:YES]; +[imageView sd_setIndicatorStyle:UIActivityIndicatorViewStyleGray]; +``` + +``` swift +imageView.sd_setShowActivityIndicatorView(true) +imageView.sd_setIndicatorStyle(.Gray) +``` + +## Installation There are three ways to use SDWebImage in your project: -- using Cocoapods -- copying all the files into your project -- importing the project as a static library +- using CocoaPods +- using Carthage +- by cloning the project into your repository ### Installation with CocoaPods @@ -223,8 +144,8 @@ There are three ways to use SDWebImage in your project: #### Podfile ``` -platform :ios, '6.1' -pod 'SDWebImage', '~>3.7' +platform :ios, '7.0' +pod 'SDWebImage', '~> 4.0' ``` If you are using Swift, be sure to add `use_frameworks!` and set your target to iOS 8+: @@ -235,7 +156,7 @@ use_frameworks! #### Subspecs -There are 3 subspecs available now: `Core`, `MapKit` and `WebP` (this means you can install only some of the SDWebImage modules. By default, you get just `Core`, so if you need `WebP`, you need to specify it). +There are 4 subspecs available now: `Core`, `MapKit`, `GIF` and `WebP` (this means you can install only some of the SDWebImage modules. By default, you get just `Core`, so if you need `WebP`, you need to specify it). Podfile example: ``` @@ -253,63 +174,8 @@ To install with carthage, follow the instruction on [Carthage](https://github.co github "rs/SDWebImage" ``` -#### Usage -Swift - -If you installed using CocoaPods: -``` -import SDWebImage -``` - -If you installed manually: -``` -import WebImage -``` - -Objective-C - -``` -@import WebImage; -``` - ### Installation by cloning the repository - -In order to gain access to all the files from the repository, you should clone it. -``` -git clone --recursive https://github.com/rs/SDWebImage.git -``` - -### Add the SDWebImage project to your project - -- Download and unzip the last version of the framework from the [download page](https://github.com/rs/SDWebImage/releases) -- Right-click on the project navigator and select "Add Files to "Your Project": -- In the dialog, select SDWebImage.framework: -- Check the "Copy items into destination group's folder (if needed)" checkbox - -### Add dependencies - -- In you application project app’s target settings, find the "Build Phases" section and open the "Link Binary With Libraries" block: -- Click the "+" button again and select the "ImageIO.framework", this is needed by the progressive download feature: - -### Add Linker Flag - -Open the "Build Settings" tab, in the "Linking" section, locate the "Other Linker Flags" setting and add the "-ObjC" flag: - -![Other Linker Flags](http://dl.dropbox.com/u/123346/SDWebImage/10_other_linker_flags.jpg) - -Alternatively, if this causes compilation problems with frameworks that extend optional libraries, such as Parse, RestKit or opencv2, instead of the -ObjC flag use: -``` --force_load SDWebImage.framework/Versions/Current/SDWebImage -``` - -If you're using Cocoa Pods and have any frameworks that extend optional libraries, such as Parsen RestKit or opencv2, instead of the -ObjC flag use: -``` --force_load $(TARGET_BUILD_DIR)/libPods.a -``` -and this: -``` -$(inherited) -``` +- see [Manual install](Docs/ManualInstallation.md) ### Import headers in your source files @@ -324,11 +190,25 @@ In the source files where you need to use the library, import the header file: At this point your workspace should build without error. If you are having problem, post to the Issue and the community can help you solve it. -Future Enhancements -------------------- +## Author +- [Olivier Poitrey](https://github.com/rs) -- LRU memory cache cleanup instead of reset on memory warning +## Collaborators +- [Konstantinos K.](https://github.com/mythodeia) +- [Bogdan Poplauschi](https://github.com/bpoplauschi) +- [Chester Liu](https://github.com/skyline75489) +- [DreamPiggy](https://github.com/dreampiggy) ## Licenses All source code is licensed under the [MIT License](https://raw.github.com/rs/SDWebImage/master/LICENSE). + +## Architecture + +

+ +

+ +

+ +

diff --git a/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h b/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h index 69c76dc77..0ca226d8a 100644 --- a/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h +++ b/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.h @@ -1,26 +1,42 @@ -// -// Created by Fabrice Aneche on 06/01/14. -// Copyright (c) 2014 Dailymotion. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * (c) Fabrice Aneche + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ #import +#import "SDWebImageCompat.h" + +typedef NS_ENUM(NSInteger, SDImageFormat) { + SDImageFormatUndefined = -1, + SDImageFormatJPEG = 0, + SDImageFormatPNG, + SDImageFormatGIF, + SDImageFormatTIFF, + SDImageFormatWebP, + SDImageFormatHEIC +}; @interface NSData (ImageContentType) /** - * Compute the content type for an image data + * Return image format * - * @param data the input data + * @param data the input image data * - * @return the content type as string (i.e. image/jpeg, image/gif) + * @return the image format as `SDImageFormat` (enum) */ -+ (NSString *)sd_contentTypeForImageData:(NSData *)data; - -@end ++ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data; +/** + Convert SDImageFormat to UTType -@interface NSData (ImageContentTypeDeprecated) - -+ (NSString *)contentTypeForImageData:(NSData *)data __deprecated_msg("Use `sd_contentTypeForImageData:`"); + @param format Format as SDImageFormat + @return The UTType as CFStringRef + */ ++ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format; @end diff --git a/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m b/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m index 0941cfaa0..6a590611d 100644 --- a/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m +++ b/Example/Pods/SDWebImage/SDWebImage/NSData+ImageContentType.m @@ -1,49 +1,98 @@ -// -// Created by Fabrice Aneche on 06/01/14. -// Copyright (c) 2014 Dailymotion. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * (c) Fabrice Aneche + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ #import "NSData+ImageContentType.h" +#if SD_MAC +#import +#else +#import +#endif +// Currently Image/IO does not support WebP +#define kSDUTTypeWebP ((__bridge CFStringRef)@"public.webp") +// AVFileTypeHEIC is defined in AVFoundation via iOS 11, we use this without import AVFoundation +#define kSDUTTypeHEIC ((__bridge CFStringRef)@"public.heic") @implementation NSData (ImageContentType) -+ (NSString *)sd_contentTypeForImageData:(NSData *)data { ++ (SDImageFormat)sd_imageFormatForImageData:(nullable NSData *)data { + if (!data) { + return SDImageFormatUndefined; + } + + // File signatures table: http://www.garykessler.net/library/file_sigs.html uint8_t c; [data getBytes:&c length:1]; switch (c) { case 0xFF: - return @"image/jpeg"; + return SDImageFormatJPEG; case 0x89: - return @"image/png"; + return SDImageFormatPNG; case 0x47: - return @"image/gif"; + return SDImageFormatGIF; case 0x49: case 0x4D: - return @"image/tiff"; - case 0x52: - // R as RIFF for WEBP - if ([data length] < 12) { - return nil; + return SDImageFormatTIFF; + case 0x52: { + if (data.length >= 12) { + //RIFF....WEBP + NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding]; + if ([testString hasPrefix:@"RIFF"] && [testString hasSuffix:@"WEBP"]) { + return SDImageFormatWebP; + } } - - NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(0, 12)] encoding:NSASCIIStringEncoding]; - if ([testString hasPrefix:@"RIFF"] && [testString hasSuffix:@"WEBP"]) { - return @"image/webp"; + break; + } + case 0x00: { + if (data.length >= 12) { + //....ftypheic ....ftypheix ....ftyphevc ....ftyphevx + NSString *testString = [[NSString alloc] initWithData:[data subdataWithRange:NSMakeRange(4, 8)] encoding:NSASCIIStringEncoding]; + if ([testString isEqualToString:@"ftypheic"] + || [testString isEqualToString:@"ftypheix"] + || [testString isEqualToString:@"ftyphevc"] + || [testString isEqualToString:@"ftyphevx"]) { + return SDImageFormatHEIC; + } } - - return nil; + break; + } } - return nil; + return SDImageFormatUndefined; } -@end - - -@implementation NSData (ImageContentTypeDeprecated) - -+ (NSString *)contentTypeForImageData:(NSData *)data { - return [self sd_contentTypeForImageData:data]; ++ (nonnull CFStringRef)sd_UTTypeFromSDImageFormat:(SDImageFormat)format { + CFStringRef UTType; + switch (format) { + case SDImageFormatJPEG: + UTType = kUTTypeJPEG; + break; + case SDImageFormatPNG: + UTType = kUTTypePNG; + break; + case SDImageFormatGIF: + UTType = kUTTypeGIF; + break; + case SDImageFormatTIFF: + UTType = kUTTypeTIFF; + break; + case SDImageFormatWebP: + UTType = kSDUTTypeWebP; + break; + case SDImageFormatHEIC: + UTType = kSDUTTypeHEIC; + break; + default: + // default is kUTTypePNG + UTType = kUTTypePNG; + break; + } + return UTType; } @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDImageCache.h b/Example/Pods/SDWebImage/SDWebImage/SDImageCache.h index 957772671..70ee6cea4 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDImageCache.h +++ b/Example/Pods/SDWebImage/SDWebImage/SDImageCache.h @@ -8,6 +8,7 @@ #import #import "SDWebImageCompat.h" +#import "SDImageCacheConfig.h" typedef NS_ENUM(NSInteger, SDImageCacheType) { /** @@ -24,33 +25,25 @@ typedef NS_ENUM(NSInteger, SDImageCacheType) { SDImageCacheTypeMemory }; -typedef void(^SDWebImageQueryCompletedBlock)(UIImage *image, SDImageCacheType cacheType); +typedef void(^SDCacheQueryCompletedBlock)(UIImage * _Nullable image, NSData * _Nullable data, SDImageCacheType cacheType); typedef void(^SDWebImageCheckCacheCompletionBlock)(BOOL isInCache); typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger totalSize); + /** * SDImageCache maintains a memory cache and an optional disk cache. Disk cache write operations are performed * asynchronous so it doesn’t add unnecessary latency to the UI. */ @interface SDImageCache : NSObject -/** - * Decompressing images that are downloaded and cached can improve performance but can consume lot of memory. - * Defaults to YES. Set this to NO if you are experiencing a crash due to excessive memory consumption. - */ -@property (assign, nonatomic) BOOL shouldDecompressImages; - -/** - * disable iCloud backup [defaults to YES] - */ -@property (assign, nonatomic) BOOL shouldDisableiCloud; +#pragma mark - Properties /** - * use memory cache [defaults to YES] + * Cache Config object - storing all kind of settings */ -@property (assign, nonatomic) BOOL shouldCacheImagesInMemory; +@property (nonatomic, nonnull, readonly) SDImageCacheConfig *config; /** * The maximum "total cost" of the in-memory image cache. The cost function is the number of pixels held in memory. @@ -62,29 +55,21 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot */ @property (assign, nonatomic) NSUInteger maxMemoryCountLimit; -/** - * The maximum length of time to keep an image in the cache, in seconds - */ -@property (assign, nonatomic) NSInteger maxCacheAge; - -/** - * The maximum size of the cache, in bytes. - */ -@property (assign, nonatomic) NSUInteger maxCacheSize; +#pragma mark - Singleton and initialization /** * Returns global shared cache instance * * @return SDImageCache global instance */ -+ (SDImageCache *)sharedImageCache; ++ (nonnull instancetype)sharedImageCache; /** * Init a new cache store with a specific namespace * * @param ns The namespace to use for this cache store */ -- (id)initWithNamespace:(NSString *)ns; +- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns; /** * Init a new cache store with a specific namespace and directory @@ -92,9 +77,12 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot * @param ns The namespace to use for this cache store * @param directory Directory to cache disk images in */ -- (id)initWithNamespace:(NSString *)ns diskCacheDirectory:(NSString *)directory; +- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns + diskCacheDirectory:(nonnull NSString *)directory NS_DESIGNATED_INITIALIZER; + +#pragma mark - Cache paths --(NSString *)makeDiskCachePath:(NSString*)fullNamespace; +- (nullable NSString *)makeDiskCachePath:(nonnull NSString*)fullNamespace; /** * Add a read-only cache path to search for images pre-cached by SDImageCache @@ -102,91 +90,123 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot * * @param path The path to use for this read-only cache path */ -- (void)addReadOnlyCachePath:(NSString *)path; +- (void)addReadOnlyCachePath:(nonnull NSString *)path; + +#pragma mark - Store Ops /** - * Store an image into memory and disk cache at the given key. + * Asynchronously store an image into memory and disk cache at the given key. * - * @param image The image to store - * @param key The unique image cache key, usually it's image absolute URL + * @param image The image to store + * @param key The unique image cache key, usually it's image absolute URL + * @param completionBlock A block executed after the operation is finished */ -- (void)storeImage:(UIImage *)image forKey:(NSString *)key; +- (void)storeImage:(nullable UIImage *)image + forKey:(nullable NSString *)key + completion:(nullable SDWebImageNoParamsBlock)completionBlock; /** - * Store an image into memory and optionally disk cache at the given key. + * Asynchronously store an image into memory and disk cache at the given key. * - * @param image The image to store - * @param key The unique image cache key, usually it's image absolute URL - * @param toDisk Store the image to disk cache if YES + * @param image The image to store + * @param key The unique image cache key, usually it's image absolute URL + * @param toDisk Store the image to disk cache if YES + * @param completionBlock A block executed after the operation is finished */ -- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk; +- (void)storeImage:(nullable UIImage *)image + forKey:(nullable NSString *)key + toDisk:(BOOL)toDisk + completion:(nullable SDWebImageNoParamsBlock)completionBlock; /** - * Store an image into memory and optionally disk cache at the given key. + * Asynchronously store an image into memory and disk cache at the given key. + * + * @param image The image to store + * @param imageData The image data as returned by the server, this representation will be used for disk storage + * instead of converting the given image object into a storable/compressed image format in order + * to save quality and CPU + * @param key The unique image cache key, usually it's image absolute URL + * @param toDisk Store the image to disk cache if YES + * @param completionBlock A block executed after the operation is finished + */ +- (void)storeImage:(nullable UIImage *)image + imageData:(nullable NSData *)imageData + forKey:(nullable NSString *)key + toDisk:(BOOL)toDisk + completion:(nullable SDWebImageNoParamsBlock)completionBlock; + +/** + * Synchronously store image NSData into disk cache at the given key. + * + * @warning This method is synchronous, make sure to call it from the ioQueue * - * @param image The image to store - * @param recalculate BOOL indicates if imageData can be used or a new data should be constructed from the UIImage - * @param imageData The image data as returned by the server, this representation will be used for disk storage - * instead of converting the given image object into a storable/compressed image format in order - * to save quality and CPU - * @param key The unique image cache key, usually it's image absolute URL - * @param toDisk Store the image to disk cache if YES + * @param imageData The image data to store + * @param key The unique image cache key, usually it's image absolute URL */ -- (void)storeImage:(UIImage *)image recalculateFromImage:(BOOL)recalculate imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk; +- (void)storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key; + +#pragma mark - Query and Retrieve Ops /** - * Query the disk cache asynchronously. + * Async check if image exists in disk cache already (does not load the image) * - * @param key The unique key used to store the wanted image + * @param key the key describing the url + * @param completionBlock the block to be executed when the check is done. + * @note the completion block will be always executed on the main queue */ -- (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(SDWebImageQueryCompletedBlock)doneBlock; +- (void)diskImageExistsWithKey:(nullable NSString *)key completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock; /** - * Query the memory cache synchronously. + * Operation that queries the cache asynchronously and call the completion when done. * - * @param key The unique key used to store the wanted image + * @param key The unique key used to store the wanted image + * @param doneBlock The completion block. Will not get called if the operation is cancelled + * + * @return a NSOperation instance containing the cache op */ -- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key; +- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDCacheQueryCompletedBlock)doneBlock; /** - * Query the disk cache synchronously after checking the memory cache. + * Query the memory cache synchronously. * - * @param key The unique key used to store the wanted image + * @param key The unique key used to store the image */ -- (UIImage *)imageFromDiskCacheForKey:(NSString *)key; +- (nullable UIImage *)imageFromMemoryCacheForKey:(nullable NSString *)key; /** - * Remove the image from memory and disk cache synchronously + * Query the disk cache synchronously. * - * @param key The unique image cache key + * @param key The unique key used to store the image */ -- (void)removeImageForKey:(NSString *)key; - +- (nullable UIImage *)imageFromDiskCacheForKey:(nullable NSString *)key; /** - * Remove the image from memory and disk cache asynchronously + * Query the cache (memory and or disk) synchronously after checking the memory cache. * - * @param key The unique image cache key - * @param completion An block that should be executed after the image has been removed (optional) + * @param key The unique key used to store the image */ -- (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion; +- (nullable UIImage *)imageFromCacheForKey:(nullable NSString *)key; + +#pragma mark - Remove Ops /** - * Remove the image from memory and optionally disk cache asynchronously + * Remove the image from memory and disk cache asynchronously * - * @param key The unique image cache key - * @param fromDisk Also remove cache entry from disk if YES + * @param key The unique image cache key + * @param completion A block that should be executed after the image has been removed (optional) */ -- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk; +- (void)removeImageForKey:(nullable NSString *)key withCompletion:(nullable SDWebImageNoParamsBlock)completion; /** * Remove the image from memory and optionally disk cache asynchronously * * @param key The unique image cache key * @param fromDisk Also remove cache entry from disk if YES - * @param completion An block that should be executed after the image has been removed (optional) + * @param completion A block that should be executed after the image has been removed (optional) */ -- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion; +- (void)removeImageForKey:(nullable NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(nullable SDWebImageNoParamsBlock)completion; + +#pragma mark - Cache clean Ops /** * Clear all memory cached images @@ -194,28 +214,18 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot - (void)clearMemory; /** - * Clear all disk cached images. Non-blocking method - returns immediately. - * @param completion An block that should be executed after cache expiration completes (optional) - */ -- (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion; - -/** - * Clear all disk cached images - * @see clearDiskOnCompletion: + * Async clear all disk cached images. Non-blocking method - returns immediately. + * @param completion A block that should be executed after cache expiration completes (optional) */ -- (void)clearDisk; +- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion; /** - * Remove all expired cached image from disk. Non-blocking method - returns immediately. - * @param completionBlock An block that should be executed after cache expiration completes (optional) + * Async remove all expired cached image from disk. Non-blocking method - returns immediately. + * @param completionBlock A block that should be executed after cache expiration completes (optional) */ -- (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock; +- (void)deleteOldFilesWithCompletionBlock:(nullable SDWebImageNoParamsBlock)completionBlock; -/** - * Remove all expired cached image from disk - * @see cleanDiskWithCompletionBlock: - */ -- (void)cleanDisk; +#pragma mark - Cache Info /** * Get the size used by the disk cache @@ -230,25 +240,9 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot /** * Asynchronously calculate the disk cache's size. */ -- (void)calculateSizeWithCompletionBlock:(SDWebImageCalculateSizeBlock)completionBlock; +- (void)calculateSizeWithCompletionBlock:(nullable SDWebImageCalculateSizeBlock)completionBlock; -/** - * Async check if image exists in disk cache already (does not load the image) - * - * @param key the key describing the url - * @param completionBlock the block to be executed when the check is done. - * @note the completion block will be always executed on the main queue - */ -- (void)diskImageExistsWithKey:(NSString *)key completion:(SDWebImageCheckCacheCompletionBlock)completionBlock; - -/** - * Check if image exists in disk cache already (does not load the image) - * - * @param key the key describing the url - * - * @return YES if an image exists for the given key - */ -- (BOOL)diskImageExistsWithKey:(NSString *)key; +#pragma mark - Cache Paths /** * Get the cache path for a certain key (needs the cache path root folder) @@ -258,7 +252,7 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot * * @return the cache path */ -- (NSString *)cachePathForKey:(NSString *)key inPath:(NSString *)path; +- (nullable NSString *)cachePathForKey:(nullable NSString *)key inPath:(nonnull NSString *)path; /** * Get the default cache path for a certain key @@ -267,6 +261,6 @@ typedef void(^SDWebImageCalculateSizeBlock)(NSUInteger fileCount, NSUInteger tot * * @return the default cache path */ -- (NSString *)defaultCachePathForKey:(NSString *)key; +- (nullable NSString *)defaultCachePathForKey:(nullable NSString *)key; @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDImageCache.m b/Example/Pods/SDWebImage/SDWebImage/SDImageCache.m index aa0ff6c90..15d27d17c 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDImageCache.m +++ b/Example/Pods/SDWebImage/SDWebImage/SDImageCache.m @@ -7,9 +7,9 @@ */ #import "SDImageCache.h" -#import "SDWebImageDecoder.h" -#import "UIImage+MultiFormat.h" #import +#import "NSImage+WebCache.h" +#import "SDWebImageCodersManager.h" // See https://github.com/rs/SDWebImage/pull/1141 for discussion @interface AutoPurgeCache : NSCache @@ -17,51 +17,40 @@ @interface AutoPurgeCache : NSCache @implementation AutoPurgeCache -- (id)init -{ +- (nonnull instancetype)init { self = [super init]; if (self) { +#if SD_UIKIT [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(removeAllObjects) name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; +#endif } return self; } -- (void)dealloc -{ +- (void)dealloc { +#if SD_UIKIT [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; - +#endif } @end -static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week -// PNG signature bytes and data (below) -static unsigned char kPNGSignatureBytes[8] = {0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A}; -static NSData *kPNGSignatureData = nil; - -BOOL ImageDataHasPNGPreffix(NSData *data); - -BOOL ImageDataHasPNGPreffix(NSData *data) { - NSUInteger pngSignatureLength = [kPNGSignatureData length]; - if ([data length] >= pngSignatureLength) { - if ([[data subdataWithRange:NSMakeRange(0, pngSignatureLength)] isEqualToData:kPNGSignatureData]) { - return YES; - } - } - - return NO; -} FOUNDATION_STATIC_INLINE NSUInteger SDCacheCostForImage(UIImage *image) { +#if SD_MAC + return image.size.height * image.size.width; +#elif SD_UIKIT || SD_WATCH return image.size.height * image.size.width * image.scale * image.scale; +#endif } @interface SDImageCache () -@property (strong, nonatomic) NSCache *memCache; -@property (strong, nonatomic) NSString *diskCachePath; -@property (strong, nonatomic) NSMutableArray *customPaths; -@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t ioQueue; +#pragma mark - Properties +@property (strong, nonatomic, nonnull) NSCache *memCache; +@property (strong, nonatomic, nonnull) NSString *diskCachePath; +@property (strong, nonatomic, nullable) NSMutableArray *customPaths; +@property (SDDispatchQueueSetterSementics, nonatomic, nullable) dispatch_queue_t ioQueue; @end @@ -70,7 +59,9 @@ @implementation SDImageCache { NSFileManager *_fileManager; } -+ (SDImageCache *)sharedImageCache { +#pragma mark - Singleton, init, dealloc + ++ (nonnull instancetype)sharedImageCache { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ @@ -79,28 +70,25 @@ + (SDImageCache *)sharedImageCache { return instance; } -- (id)init { +- (instancetype)init { return [self initWithNamespace:@"default"]; } -- (id)initWithNamespace:(NSString *)ns { +- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns { NSString *path = [self makeDiskCachePath:ns]; return [self initWithNamespace:ns diskCacheDirectory:path]; } -- (id)initWithNamespace:(NSString *)ns diskCacheDirectory:(NSString *)directory { +- (nonnull instancetype)initWithNamespace:(nonnull NSString *)ns + diskCacheDirectory:(nonnull NSString *)directory { if ((self = [super init])) { NSString *fullNamespace = [@"com.hackemist.SDWebImageCache." stringByAppendingString:ns]; - - // initialise PNG signature data - kPNGSignatureData = [NSData dataWithBytes:kPNGSignatureBytes length:8]; - + // Create IO serial queue _ioQueue = dispatch_queue_create("com.hackemist.SDWebImageCache", DISPATCH_QUEUE_SERIAL); - - // Init default values - _maxCacheAge = kDefaultCacheMaxCacheAge; - + + _config = [[SDImageCacheConfig alloc] init]; + // Init the memory cache _memCache = [[AutoPurgeCache alloc] init]; _memCache.name = fullNamespace; @@ -113,20 +101,11 @@ - (id)initWithNamespace:(NSString *)ns diskCacheDirectory:(NSString *)directory _diskCachePath = path; } - // Set decompression to YES - _shouldDecompressImages = YES; - - // memory cache enabled - _shouldCacheImagesInMemory = YES; - - // Disable iCloud - _shouldDisableiCloud = YES; - dispatch_sync(_ioQueue, ^{ _fileManager = [NSFileManager new]; }); -#if TARGET_OS_IPHONE +#if SD_UIKIT // Subscribe to app events [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(clearMemory) @@ -134,12 +113,12 @@ - (id)initWithNamespace:(NSString *)ns diskCacheDirectory:(NSString *)directory object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(cleanDisk) + selector:@selector(deleteOldFiles) name:UIApplicationWillTerminateNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(backgroundCleanDisk) + selector:@selector(backgroundDeleteOldFiles) name:UIApplicationDidEnterBackgroundNotification object:nil]; #endif @@ -153,7 +132,17 @@ - (void)dealloc { SDDispatchQueueRelease(_ioQueue); } -- (void)addReadOnlyCachePath:(NSString *)path { +- (void)checkIfQueueIsIOQueue { + const char *currentQueueLabel = dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL); + const char *ioQueueLabel = dispatch_queue_get_label(self.ioQueue); + if (strcmp(currentQueueLabel, ioQueueLabel) != 0) { + NSLog(@"This method should be called from the ioQueue"); + } +} + +#pragma mark - Cache paths + +- (void)addReadOnlyCachePath:(nonnull NSString *)path { if (!self.customPaths) { self.customPaths = [NSMutableArray new]; } @@ -163,137 +152,125 @@ - (void)addReadOnlyCachePath:(NSString *)path { } } -- (NSString *)cachePathForKey:(NSString *)key inPath:(NSString *)path { +- (nullable NSString *)cachePathForKey:(nullable NSString *)key inPath:(nonnull NSString *)path { NSString *filename = [self cachedFileNameForKey:key]; return [path stringByAppendingPathComponent:filename]; } -- (NSString *)defaultCachePathForKey:(NSString *)key { +- (nullable NSString *)defaultCachePathForKey:(nullable NSString *)key { return [self cachePathForKey:key inPath:self.diskCachePath]; } -#pragma mark SDImageCache (private) - -- (NSString *)cachedFileNameForKey:(NSString *)key { - const char *str = [key UTF8String]; +- (nullable NSString *)cachedFileNameForKey:(nullable NSString *)key { + const char *str = key.UTF8String; if (str == NULL) { str = ""; } unsigned char r[CC_MD5_DIGEST_LENGTH]; CC_MD5(str, (CC_LONG)strlen(str), r); + NSURL *keyURL = [NSURL URLWithString:key]; + NSString *ext = keyURL ? keyURL.pathExtension : key.pathExtension; NSString *filename = [NSString stringWithFormat:@"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%@", r[0], r[1], r[2], r[3], r[4], r[5], r[6], r[7], r[8], r[9], r[10], - r[11], r[12], r[13], r[14], r[15], [[key pathExtension] isEqualToString:@""] ? @"" : [NSString stringWithFormat:@".%@", [key pathExtension]]]; - + r[11], r[12], r[13], r[14], r[15], ext.length == 0 ? @"" : [NSString stringWithFormat:@".%@", ext]]; return filename; } -#pragma mark ImageCache - -// Init the disk cache --(NSString *)makeDiskCachePath:(NSString*)fullNamespace{ - NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); +- (nullable NSString *)makeDiskCachePath:(nonnull NSString*)fullNamespace { + NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES); return [paths[0] stringByAppendingPathComponent:fullNamespace]; } -- (void)storeImage:(UIImage *)image recalculateFromImage:(BOOL)recalculate imageData:(NSData *)imageData forKey:(NSString *)key toDisk:(BOOL)toDisk { +#pragma mark - Store Ops + +- (void)storeImage:(nullable UIImage *)image + forKey:(nullable NSString *)key + completion:(nullable SDWebImageNoParamsBlock)completionBlock { + [self storeImage:image imageData:nil forKey:key toDisk:YES completion:completionBlock]; +} + +- (void)storeImage:(nullable UIImage *)image + forKey:(nullable NSString *)key + toDisk:(BOOL)toDisk + completion:(nullable SDWebImageNoParamsBlock)completionBlock { + [self storeImage:image imageData:nil forKey:key toDisk:toDisk completion:completionBlock]; +} + +- (void)storeImage:(nullable UIImage *)image + imageData:(nullable NSData *)imageData + forKey:(nullable NSString *)key + toDisk:(BOOL)toDisk + completion:(nullable SDWebImageNoParamsBlock)completionBlock { if (!image || !key) { + if (completionBlock) { + completionBlock(); + } return; } // if memory cache is enabled - if (self.shouldCacheImagesInMemory) { + if (self.config.shouldCacheImagesInMemory) { NSUInteger cost = SDCacheCostForImage(image); [self.memCache setObject:image forKey:key cost:cost]; } - + if (toDisk) { dispatch_async(self.ioQueue, ^{ - NSData *data = imageData; - - if (image && (recalculate || !data)) { -#if TARGET_OS_IPHONE - // We need to determine if the image is a PNG or a JPEG - // PNGs are easier to detect because they have a unique signature (http://www.w3.org/TR/PNG-Structure.html) - // The first eight bytes of a PNG file always contain the following (decimal) values: - // 137 80 78 71 13 10 26 10 - - // If the imageData is nil (i.e. if trying to save a UIImage directly or the image was transformed on download) - // and the image has an alpha channel, we will consider it PNG to avoid losing the transparency - int alphaInfo = CGImageGetAlphaInfo(image.CGImage); - BOOL hasAlpha = !(alphaInfo == kCGImageAlphaNone || - alphaInfo == kCGImageAlphaNoneSkipFirst || - alphaInfo == kCGImageAlphaNoneSkipLast); - BOOL imageIsPng = hasAlpha; - - // But if we have an image data, we will look at the preffix - if ([imageData length] >= [kPNGSignatureData length]) { - imageIsPng = ImageDataHasPNGPreffix(imageData); - } - - if (imageIsPng) { - data = UIImagePNGRepresentation(image); + @autoreleasepool { + NSData *data = imageData; + if (!data && image) { + // If we do not have any data to detect image format, use PNG format + data = [[SDWebImageCodersManager sharedInstance] encodedDataWithImage:image format:SDImageFormatPNG]; } - else { - data = UIImageJPEGRepresentation(image, (CGFloat)1.0); - } -#else - data = [NSBitmapImageRep representationOfImageRepsInArray:image.representations usingType: NSJPEGFileType properties:nil]; -#endif + [self storeImageDataToDisk:data forKey:key]; } - - if (data) { - if (![_fileManager fileExistsAtPath:_diskCachePath]) { - [_fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL]; - } - - // get cache Path for image key - NSString *cachePathForKey = [self defaultCachePathForKey:key]; - // transform to NSUrl - NSURL *fileURL = [NSURL fileURLWithPath:cachePathForKey]; - - [_fileManager createFileAtPath:cachePathForKey contents:data attributes:nil]; - - // disable iCloud backup - if (self.shouldDisableiCloud) { - [fileURL setResourceValue:[NSNumber numberWithBool:YES] forKey:NSURLIsExcludedFromBackupKey error:nil]; - } + + if (completionBlock) { + dispatch_async(dispatch_get_main_queue(), ^{ + completionBlock(); + }); } }); + } else { + if (completionBlock) { + completionBlock(); + } } } -- (void)storeImage:(UIImage *)image forKey:(NSString *)key { - [self storeImage:image recalculateFromImage:YES imageData:nil forKey:key toDisk:YES]; -} - -- (void)storeImage:(UIImage *)image forKey:(NSString *)key toDisk:(BOOL)toDisk { - [self storeImage:image recalculateFromImage:YES imageData:nil forKey:key toDisk:toDisk]; -} - -- (BOOL)diskImageExistsWithKey:(NSString *)key { - BOOL exists = NO; +- (void)storeImageDataToDisk:(nullable NSData *)imageData forKey:(nullable NSString *)key { + if (!imageData || !key) { + return; + } - // this is an exception to access the filemanager on another queue than ioQueue, but we are using the shared instance - // from apple docs on NSFileManager: The methods of the shared NSFileManager object can be called from multiple threads safely. - exists = [[NSFileManager defaultManager] fileExistsAtPath:[self defaultCachePathForKey:key]]; - - // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name - // checking the key with and without the extension - if (!exists) { - exists = [[NSFileManager defaultManager] fileExistsAtPath:[[self defaultCachePathForKey:key] stringByDeletingPathExtension]]; + [self checkIfQueueIsIOQueue]; + + if (![_fileManager fileExistsAtPath:_diskCachePath]) { + [_fileManager createDirectoryAtPath:_diskCachePath withIntermediateDirectories:YES attributes:nil error:NULL]; } - return exists; + // get cache Path for image key + NSString *cachePathForKey = [self defaultCachePathForKey:key]; + // transform to NSUrl + NSURL *fileURL = [NSURL fileURLWithPath:cachePathForKey]; + + [_fileManager createFileAtPath:cachePathForKey contents:imageData attributes:nil]; + + // disable iCloud backup + if (self.config.shouldDisableiCloud) { + [fileURL setResourceValue:@YES forKey:NSURLIsExcludedFromBackupKey error:nil]; + } } -- (void)diskImageExistsWithKey:(NSString *)key completion:(SDWebImageCheckCacheCompletionBlock)completionBlock { +#pragma mark - Query and Retrieve Ops + +- (void)diskImageExistsWithKey:(nullable NSString *)key completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock { dispatch_async(_ioQueue, ^{ BOOL exists = [_fileManager fileExistsAtPath:[self defaultCachePathForKey:key]]; // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name // checking the key with and without the extension if (!exists) { - exists = [_fileManager fileExistsAtPath:[[self defaultCachePathForKey:key] stringByDeletingPathExtension]]; + exists = [_fileManager fileExistsAtPath:[self defaultCachePathForKey:key].stringByDeletingPathExtension]; } if (completionBlock) { @@ -304,53 +281,57 @@ - (void)diskImageExistsWithKey:(NSString *)key completion:(SDWebImageCheckCacheC }); } -- (UIImage *)imageFromMemoryCacheForKey:(NSString *)key { +- (nullable UIImage *)imageFromMemoryCacheForKey:(nullable NSString *)key { return [self.memCache objectForKey:key]; } -- (UIImage *)imageFromDiskCacheForKey:(NSString *)key { +- (nullable UIImage *)imageFromDiskCacheForKey:(nullable NSString *)key { + UIImage *diskImage = [self diskImageForKey:key]; + if (diskImage && self.config.shouldCacheImagesInMemory) { + NSUInteger cost = SDCacheCostForImage(diskImage); + [self.memCache setObject:diskImage forKey:key cost:cost]; + } + return diskImage; +} + +- (nullable UIImage *)imageFromCacheForKey:(nullable NSString *)key { // First check the in-memory cache... UIImage *image = [self imageFromMemoryCacheForKey:key]; if (image) { return image; } - + // Second check the disk cache... - UIImage *diskImage = [self diskImageForKey:key]; - if (diskImage && self.shouldCacheImagesInMemory) { - NSUInteger cost = SDCacheCostForImage(diskImage); - [self.memCache setObject:diskImage forKey:key cost:cost]; - } - - return diskImage; + image = [self imageFromDiskCacheForKey:key]; + return image; } -- (NSData *)diskImageDataBySearchingAllPathsForKey:(NSString *)key { +- (nullable NSData *)diskImageDataBySearchingAllPathsForKey:(nullable NSString *)key { NSString *defaultPath = [self defaultCachePathForKey:key]; - NSData *data = [NSData dataWithContentsOfFile:defaultPath]; + NSData *data = [NSData dataWithContentsOfFile:defaultPath options:self.config.diskCacheReadingOptions error:nil]; if (data) { return data; } // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name // checking the key with and without the extension - data = [NSData dataWithContentsOfFile:[defaultPath stringByDeletingPathExtension]]; + data = [NSData dataWithContentsOfFile:defaultPath.stringByDeletingPathExtension options:self.config.diskCacheReadingOptions error:nil]; if (data) { return data; } - NSArray *customPaths = [self.customPaths copy]; + NSArray *customPaths = [self.customPaths copy]; for (NSString *path in customPaths) { NSString *filePath = [self cachePathForKey:key inPath:path]; - NSData *imageData = [NSData dataWithContentsOfFile:filePath]; + NSData *imageData = [NSData dataWithContentsOfFile:filePath options:self.config.diskCacheReadingOptions error:nil]; if (imageData) { return imageData; } // fallback because of https://github.com/rs/SDWebImage/pull/976 that added the extension to the disk file name // checking the key with and without the extension - imageData = [NSData dataWithContentsOfFile:[filePath stringByDeletingPathExtension]]; + imageData = [NSData dataWithContentsOfFile:filePath.stringByDeletingPathExtension options:self.config.diskCacheReadingOptions error:nil]; if (imageData) { return imageData; } @@ -359,83 +340,83 @@ - (NSData *)diskImageDataBySearchingAllPathsForKey:(NSString *)key { return nil; } -- (UIImage *)diskImageForKey:(NSString *)key { +- (nullable UIImage *)diskImageForKey:(nullable NSString *)key { NSData *data = [self diskImageDataBySearchingAllPathsForKey:key]; if (data) { - UIImage *image = [UIImage sd_imageWithData:data]; + UIImage *image = [[SDWebImageCodersManager sharedInstance] decodedImageWithData:data]; image = [self scaledImageForKey:key image:image]; - if (self.shouldDecompressImages) { - image = [UIImage decodedImageWithImage:image]; + if (self.config.shouldDecompressImages) { + image = [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&data options:@{SDWebImageCoderScaleDownLargeImagesKey: @(NO)}]; } return image; - } - else { + } else { return nil; } } -- (UIImage *)scaledImageForKey:(NSString *)key image:(UIImage *)image { +- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image { return SDScaledImageForKey(key, image); } -- (NSOperation *)queryDiskCacheForKey:(NSString *)key done:(SDWebImageQueryCompletedBlock)doneBlock { - if (!doneBlock) { - return nil; - } - +- (nullable NSOperation *)queryCacheOperationForKey:(nullable NSString *)key done:(nullable SDCacheQueryCompletedBlock)doneBlock { if (!key) { - doneBlock(nil, SDImageCacheTypeNone); + if (doneBlock) { + doneBlock(nil, nil, SDImageCacheTypeNone); + } return nil; } // First check the in-memory cache... UIImage *image = [self imageFromMemoryCacheForKey:key]; if (image) { - doneBlock(image, SDImageCacheTypeMemory); + NSData *diskData = nil; + if (image.images) { + diskData = [self diskImageDataBySearchingAllPathsForKey:key]; + } + if (doneBlock) { + doneBlock(image, diskData, SDImageCacheTypeMemory); + } return nil; } NSOperation *operation = [NSOperation new]; dispatch_async(self.ioQueue, ^{ if (operation.isCancelled) { + // do not call the completion if cancelled return; } @autoreleasepool { + NSData *diskData = [self diskImageDataBySearchingAllPathsForKey:key]; UIImage *diskImage = [self diskImageForKey:key]; - if (diskImage && self.shouldCacheImagesInMemory) { + if (diskImage && self.config.shouldCacheImagesInMemory) { NSUInteger cost = SDCacheCostForImage(diskImage); [self.memCache setObject:diskImage forKey:key cost:cost]; } - dispatch_async(dispatch_get_main_queue(), ^{ - doneBlock(diskImage, SDImageCacheTypeDisk); - }); + if (doneBlock) { + dispatch_async(dispatch_get_main_queue(), ^{ + doneBlock(diskImage, diskData, SDImageCacheTypeDisk); + }); + } } }); return operation; } -- (void)removeImageForKey:(NSString *)key { - [self removeImageForKey:key withCompletion:nil]; -} +#pragma mark - Remove Ops -- (void)removeImageForKey:(NSString *)key withCompletion:(SDWebImageNoParamsBlock)completion { +- (void)removeImageForKey:(nullable NSString *)key withCompletion:(nullable SDWebImageNoParamsBlock)completion { [self removeImageForKey:key fromDisk:YES withCompletion:completion]; } -- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk { - [self removeImageForKey:key fromDisk:fromDisk withCompletion:nil]; -} - -- (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(SDWebImageNoParamsBlock)completion { - +- (void)removeImageForKey:(nullable NSString *)key fromDisk:(BOOL)fromDisk withCompletion:(nullable SDWebImageNoParamsBlock)completion { if (key == nil) { return; } - if (self.shouldCacheImagesInMemory) { + if (self.config.shouldCacheImagesInMemory) { [self.memCache removeObjectForKey:key]; } @@ -455,6 +436,8 @@ - (void)removeImageForKey:(NSString *)key fromDisk:(BOOL)fromDisk withCompletion } +# pragma mark - Mem Cache settings + - (void)setMaxMemoryCost:(NSUInteger)maxMemoryCost { self.memCache.totalCostLimit = maxMemoryCost; } @@ -471,16 +454,13 @@ - (void)setMaxMemoryCountLimit:(NSUInteger)maxCountLimit { self.memCache.countLimit = maxCountLimit; } +#pragma mark - Cache clean Ops + - (void)clearMemory { [self.memCache removeAllObjects]; } -- (void)clearDisk { - [self clearDiskOnCompletion:nil]; -} - -- (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion -{ +- (void)clearDiskOnCompletion:(nullable SDWebImageNoParamsBlock)completion { dispatch_async(self.ioQueue, ^{ [_fileManager removeItemAtPath:self.diskCachePath error:nil]; [_fileManager createDirectoryAtPath:self.diskCachePath @@ -496,14 +476,14 @@ - (void)clearDiskOnCompletion:(SDWebImageNoParamsBlock)completion }); } -- (void)cleanDisk { - [self cleanDiskWithCompletionBlock:nil]; +- (void)deleteOldFiles { + [self deleteOldFilesWithCompletionBlock:nil]; } -- (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock { +- (void)deleteOldFilesWithCompletionBlock:(nullable SDWebImageNoParamsBlock)completionBlock { dispatch_async(self.ioQueue, ^{ NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES]; - NSArray *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentModificationDateKey, NSURLTotalFileAllocatedSizeKey]; + NSArray *resourceKeys = @[NSURLIsDirectoryKey, NSURLContentModificationDateKey, NSURLTotalFileAllocatedSizeKey]; // This enumerator prefetches useful properties for our cache files. NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtURL:diskCacheURL @@ -511,20 +491,21 @@ - (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock { options:NSDirectoryEnumerationSkipsHiddenFiles errorHandler:NULL]; - NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.maxCacheAge]; - NSMutableDictionary *cacheFiles = [NSMutableDictionary dictionary]; + NSDate *expirationDate = [NSDate dateWithTimeIntervalSinceNow:-self.config.maxCacheAge]; + NSMutableDictionary *> *cacheFiles = [NSMutableDictionary dictionary]; NSUInteger currentCacheSize = 0; // Enumerate all of the files in the cache directory. This loop has two purposes: // // 1. Removing files that are older than the expiration date. // 2. Storing file attributes for the size-based cleanup pass. - NSMutableArray *urlsToDelete = [[NSMutableArray alloc] init]; + NSMutableArray *urlsToDelete = [[NSMutableArray alloc] init]; for (NSURL *fileURL in fileEnumerator) { - NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:NULL]; + NSError *error; + NSDictionary *resourceValues = [fileURL resourceValuesForKeys:resourceKeys error:&error]; - // Skip directories. - if ([resourceValues[NSURLIsDirectoryKey] boolValue]) { + // Skip directories and errors. + if (error || !resourceValues || [resourceValues[NSURLIsDirectoryKey] boolValue]) { continue; } @@ -537,8 +518,8 @@ - (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock { // Store a reference to this file and account for its total size. NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey]; - currentCacheSize += [totalAllocatedSize unsignedIntegerValue]; - [cacheFiles setObject:resourceValues forKey:fileURL]; + currentCacheSize += totalAllocatedSize.unsignedIntegerValue; + cacheFiles[fileURL] = resourceValues; } for (NSURL *fileURL in urlsToDelete) { @@ -547,22 +528,22 @@ - (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock { // If our remaining disk cache exceeds a configured maximum size, perform a second // size-based cleanup pass. We delete the oldest files first. - if (self.maxCacheSize > 0 && currentCacheSize > self.maxCacheSize) { + if (self.config.maxCacheSize > 0 && currentCacheSize > self.config.maxCacheSize) { // Target half of our maximum cache size for this cleanup pass. - const NSUInteger desiredCacheSize = self.maxCacheSize / 2; + const NSUInteger desiredCacheSize = self.config.maxCacheSize / 2; // Sort the remaining cache files by their last modification time (oldest first). - NSArray *sortedFiles = [cacheFiles keysSortedByValueWithOptions:NSSortConcurrent - usingComparator:^NSComparisonResult(id obj1, id obj2) { - return [obj1[NSURLContentModificationDateKey] compare:obj2[NSURLContentModificationDateKey]]; - }]; + NSArray *sortedFiles = [cacheFiles keysSortedByValueWithOptions:NSSortConcurrent + usingComparator:^NSComparisonResult(id obj1, id obj2) { + return [obj1[NSURLContentModificationDateKey] compare:obj2[NSURLContentModificationDateKey]]; + }]; // Delete files until we fall below our desired cache size. for (NSURL *fileURL in sortedFiles) { if ([_fileManager removeItemAtURL:fileURL error:nil]) { - NSDictionary *resourceValues = cacheFiles[fileURL]; + NSDictionary *resourceValues = cacheFiles[fileURL]; NSNumber *totalAllocatedSize = resourceValues[NSURLTotalFileAllocatedSizeKey]; - currentCacheSize -= [totalAllocatedSize unsignedIntegerValue]; + currentCacheSize -= totalAllocatedSize.unsignedIntegerValue; if (currentCacheSize < desiredCacheSize) { break; @@ -578,7 +559,8 @@ - (void)cleanDiskWithCompletionBlock:(SDWebImageNoParamsBlock)completionBlock { }); } -- (void)backgroundCleanDisk { +#if SD_UIKIT +- (void)backgroundDeleteOldFiles { Class UIApplicationClass = NSClassFromString(@"UIApplication"); if(!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) { return; @@ -592,11 +574,14 @@ - (void)backgroundCleanDisk { }]; // Start the long-running task and return immediately. - [self cleanDiskWithCompletionBlock:^{ + [self deleteOldFilesWithCompletionBlock:^{ [application endBackgroundTask:bgTask]; bgTask = UIBackgroundTaskInvalid; }]; } +#endif + +#pragma mark - Cache Info - (NSUInteger)getSize { __block NSUInteger size = 0; @@ -604,7 +589,7 @@ - (NSUInteger)getSize { NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath]; for (NSString *fileName in fileEnumerator) { NSString *filePath = [self.diskCachePath stringByAppendingPathComponent:fileName]; - NSDictionary *attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil]; + NSDictionary *attrs = [[NSFileManager defaultManager] attributesOfItemAtPath:filePath error:nil]; size += [attrs fileSize]; } }); @@ -615,12 +600,12 @@ - (NSUInteger)getDiskCount { __block NSUInteger count = 0; dispatch_sync(self.ioQueue, ^{ NSDirectoryEnumerator *fileEnumerator = [_fileManager enumeratorAtPath:self.diskCachePath]; - count = [[fileEnumerator allObjects] count]; + count = fileEnumerator.allObjects.count; }); return count; } -- (void)calculateSizeWithCompletionBlock:(SDWebImageCalculateSizeBlock)completionBlock { +- (void)calculateSizeWithCompletionBlock:(nullable SDWebImageCalculateSizeBlock)completionBlock { NSURL *diskCacheURL = [NSURL fileURLWithPath:self.diskCachePath isDirectory:YES]; dispatch_async(self.ioQueue, ^{ @@ -635,7 +620,7 @@ - (void)calculateSizeWithCompletionBlock:(SDWebImageCalculateSizeBlock)completio for (NSURL *fileURL in fileEnumerator) { NSNumber *fileSize; [fileURL getResourceValue:&fileSize forKey:NSURLFileSizeKey error:NULL]; - totalSize += [fileSize unsignedIntegerValue]; + totalSize += fileSize.unsignedIntegerValue; fileCount += 1; } @@ -648,3 +633,4 @@ - (void)calculateSizeWithCompletionBlock:(SDWebImageCalculateSizeBlock)completio } @end + diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h b/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h index 3c21b4137..2a6caa389 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.h @@ -10,25 +10,67 @@ #import #ifdef __OBJC_GC__ -#error SDWebImage does not support Objective-C Garbage Collection + #error SDWebImage does not support Objective-C Garbage Collection #endif -#if __IPHONE_OS_VERSION_MIN_REQUIRED != 20000 && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0 -#error SDWebImage doesn't support Deployment Target version < 5.0 +// Apple's defines from TargetConditionals.h are a bit weird. +// Seems like TARGET_OS_MAC is always defined (on all platforms). +// To determine if we are running on OSX, we can only rely on TARGET_OS_IPHONE=0 and all the other platforms +#if !TARGET_OS_IPHONE && !TARGET_OS_IOS && !TARGET_OS_TV && !TARGET_OS_WATCH + #define SD_MAC 1 +#else + #define SD_MAC 0 #endif -#if !TARGET_OS_IPHONE -#import -#ifndef UIImage -#define UIImage NSImage +// iOS and tvOS are very similar, UIKit exists on both platforms +// Note: watchOS also has UIKit, but it's very limited +#if TARGET_OS_IOS || TARGET_OS_TV + #define SD_UIKIT 1 +#else + #define SD_UIKIT 0 #endif -#ifndef UIImageView -#define UIImageView NSImageView + +#if TARGET_OS_IOS + #define SD_IOS 1 +#else + #define SD_IOS 0 #endif + +#if TARGET_OS_TV + #define SD_TV 1 #else + #define SD_TV 0 +#endif + +#if TARGET_OS_WATCH + #define SD_WATCH 1 +#else + #define SD_WATCH 0 +#endif -#import +#if SD_MAC + #import + #ifndef UIImage + #define UIImage NSImage + #endif + #ifndef UIImageView + #define UIImageView NSImageView + #endif + #ifndef UIView + #define UIView NSView + #endif +#else + #if __IPHONE_OS_VERSION_MIN_REQUIRED != 20000 && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0 + #error SDWebImage doesn't support Deployment Target version < 5.0 + #endif + + #if SD_UIKIT + #import + #endif + #if SD_WATCH + #import + #endif #endif #ifndef NS_ENUM @@ -45,28 +87,27 @@ #define SDDispatchQueueRelease(q) #define SDDispatchQueueSetterSementics strong #else -#undef SDDispatchQueueRelease -#undef SDDispatchQueueSetterSementics -#define SDDispatchQueueRelease(q) (dispatch_release(q)) -#define SDDispatchQueueSetterSementics assign + #undef SDDispatchQueueRelease + #undef SDDispatchQueueSetterSementics + #define SDDispatchQueueRelease(q) (dispatch_release(q)) + #define SDDispatchQueueSetterSementics assign #endif -extern UIImage *SDScaledImageForKey(NSString *key, UIImage *image); +FOUNDATION_EXPORT UIImage *SDScaledImageForKey(NSString *key, UIImage *image); -typedef void(^SDWebImageNoParamsBlock)(); +typedef void(^SDWebImageNoParamsBlock)(void); -extern NSString *const SDWebImageErrorDomain; +FOUNDATION_EXPORT NSString *const SDWebImageErrorDomain; -#define dispatch_main_sync_safe(block)\ - if ([NSThread isMainThread]) {\ +#ifndef dispatch_queue_async_safe +#define dispatch_queue_async_safe(queue, block)\ + if (strcmp(dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL), dispatch_queue_get_label(queue)) == 0) {\ block();\ } else {\ - dispatch_sync(dispatch_get_main_queue(), block);\ + dispatch_async(queue, block);\ } +#endif -#define dispatch_main_async_safe(block)\ - if ([NSThread isMainThread]) {\ - block();\ - } else {\ - dispatch_async(dispatch_get_main_queue(), block);\ - } +#ifndef dispatch_main_async_safe +#define dispatch_main_async_safe(block) dispatch_queue_async_safe(dispatch_get_main_queue(), block) +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m b/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m index 9a011bc02..d49334d28 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageCompat.m @@ -1,34 +1,45 @@ -// -// SDWebImageCompat.m -// SDWebImage -// -// Created by Olivier Poitrey on 11/12/12. -// Copyright (c) 2012 Dailymotion. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ #import "SDWebImageCompat.h" +#import "UIImage+MultiFormat.h" #if !__has_feature(objc_arc) #error SDWebImage is ARC only. Either turn on ARC for the project or use -fobjc-arc flag #endif -inline UIImage *SDScaledImageForKey(NSString *key, UIImage *image) { +inline UIImage *SDScaledImageForKey(NSString * _Nullable key, UIImage * _Nullable image) { if (!image) { return nil; } - if ([image.images count] > 0) { - NSMutableArray *scaledImages = [NSMutableArray array]; +#if SD_MAC + return image; +#elif SD_UIKIT || SD_WATCH + if ((image.images).count > 0) { + NSMutableArray *scaledImages = [NSMutableArray array]; for (UIImage *tempImage in image.images) { [scaledImages addObject:SDScaledImageForKey(key, tempImage)]; } - - return [UIImage animatedImageWithImages:scaledImages duration:image.duration]; - } - else { + + UIImage *animatedImage = [UIImage animatedImageWithImages:scaledImages duration:image.duration]; + if (animatedImage) { + animatedImage.sd_imageLoopCount = image.sd_imageLoopCount; + } + return animatedImage; + } else { +#if SD_WATCH + if ([[WKInterfaceDevice currentDevice] respondsToSelector:@selector(screenScale)]) { +#elif SD_UIKIT if ([[UIScreen mainScreen] respondsToSelector:@selector(scale)]) { - CGFloat scale = [UIScreen mainScreen].scale; +#endif + CGFloat scale = 1; if (key.length >= 8) { NSRange range = [key rangeOfString:@"@2x."]; if (range.location != NSNotFound) { @@ -46,6 +57,7 @@ } return image; } +#endif } NSString *const SDWebImageErrorDomain = @"SDWebImageErrorDomain"; diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h deleted file mode 100644 index 0176a7bae..000000000 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * Created by james on 9/28/11. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import -#import "SDWebImageCompat.h" - -@interface UIImage (ForceDecode) - -+ (UIImage *)decodedImageWithImage:(UIImage *)image; - -@end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m deleted file mode 100644 index a7c02468b..000000000 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDecoder.m +++ /dev/null @@ -1,69 +0,0 @@ -/* - * This file is part of the SDWebImage package. - * (c) Olivier Poitrey - * - * Created by james on 9/28/11. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -#import "SDWebImageDecoder.h" - -@implementation UIImage (ForceDecode) - -+ (UIImage *)decodedImageWithImage:(UIImage *)image { - // while downloading huge amount of images - // autorelease the bitmap context - // and all vars to help system to free memory - // when there are memory warning. - // on iOS7, do not forget to call - // [[SDImageCache sharedImageCache] clearMemory]; - @autoreleasepool{ - // do not decode animated images - if (image.images) { return image; } - - CGImageRef imageRef = image.CGImage; - - CGImageAlphaInfo alpha = CGImageGetAlphaInfo(imageRef); - BOOL anyAlpha = (alpha == kCGImageAlphaFirst || - alpha == kCGImageAlphaLast || - alpha == kCGImageAlphaPremultipliedFirst || - alpha == kCGImageAlphaPremultipliedLast); - - if (anyAlpha) { return image; } - - size_t width = CGImageGetWidth(imageRef); - size_t height = CGImageGetHeight(imageRef); - - // current - CGColorSpaceModel imageColorSpaceModel = CGColorSpaceGetModel(CGImageGetColorSpace(imageRef)); - CGColorSpaceRef colorspaceRef = CGImageGetColorSpace(imageRef); - - bool unsupportedColorSpace = (imageColorSpaceModel == 0 || imageColorSpaceModel == -1 || imageColorSpaceModel == kCGColorSpaceModelCMYK || imageColorSpaceModel == kCGColorSpaceModelIndexed); - if (unsupportedColorSpace) - colorspaceRef = CGColorSpaceCreateDeviceRGB(); - - CGContextRef context = CGBitmapContextCreate(NULL, width, - height, - CGImageGetBitsPerComponent(imageRef), - 0, - colorspaceRef, - kCGBitmapByteOrderDefault | kCGImageAlphaPremultipliedFirst); - - // Draw the image into the context and retrieve the new image, which will now have an alpha layer - CGContextDrawImage(context, CGRectMake(0, 0, width, height), imageRef); - CGImageRef imageRefWithAlpha = CGBitmapContextCreateImage(context); - UIImage *imageWithAlpha = [UIImage imageWithCGImage:imageRefWithAlpha scale:image.scale orientation:image.imageOrientation]; - - if (unsupportedColorSpace) - CGColorSpaceRelease(colorspaceRef); - - CGContextRelease(context); - CGImageRelease(imageRefWithAlpha); - - return imageWithAlpha; - } -} - -@end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h index b64fb1300..808b0bc1e 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.h @@ -15,7 +15,7 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) { SDWebImageDownloaderProgressiveDownload = 1 << 1, /** - * By default, request prevent the of NSURLCache. With this flag, NSURLCache + * By default, request prevent the use of NSURLCache. With this flag, NSURLCache * is used with default policies. */ SDWebImageDownloaderUseNSURLCache = 1 << 2, @@ -24,13 +24,12 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) { * Call completion block with nil image/imageData if the image was read from NSURLCache * (to be combined with `SDWebImageDownloaderUseNSURLCache`). */ - SDWebImageDownloaderIgnoreCachedResponse = 1 << 3, + /** * In iOS 4+, continue the download of the image if the app goes to background. This is achieved by asking the system for * extra time in background to let the request finish. If the background task expires the operation will be cancelled. */ - SDWebImageDownloaderContinueInBackground = 1 << 4, /** @@ -49,6 +48,11 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageDownloaderOptions) { * Put the image in the high priority queue. */ SDWebImageDownloaderHighPriority = 1 << 7, + + /** + * Scale down the image + */ + SDWebImageDownloaderScaleDownLargeImages = 1 << 8, }; typedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) { @@ -63,14 +67,28 @@ typedef NS_ENUM(NSInteger, SDWebImageDownloaderExecutionOrder) { SDWebImageDownloaderLIFOExecutionOrder }; -extern NSString *const SDWebImageDownloadStartNotification; -extern NSString *const SDWebImageDownloadStopNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification; + +typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize, NSURL * _Nullable targetURL); -typedef void(^SDWebImageDownloaderProgressBlock)(NSInteger receivedSize, NSInteger expectedSize); +typedef void(^SDWebImageDownloaderCompletedBlock)(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, BOOL finished); -typedef void(^SDWebImageDownloaderCompletedBlock)(UIImage *image, NSData *data, NSError *error, BOOL finished); +typedef NSDictionary SDHTTPHeadersDictionary; +typedef NSMutableDictionary SDHTTPHeadersMutableDictionary; + +typedef SDHTTPHeadersDictionary * _Nullable (^SDWebImageDownloaderHeadersFilterBlock)(NSURL * _Nullable url, SDHTTPHeadersDictionary * _Nullable headers); + +/** + * A token associated with each download. Can be used to cancel a download + */ +@interface SDWebImageDownloadToken : NSObject + +@property (nonatomic, strong, nullable) NSURL *url; +@property (nonatomic, strong, nullable) id downloadOperationCancelToken; + +@end -typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDictionary *headers); /** * Asynchronous downloader dedicated and optimized for image loading. @@ -83,6 +101,9 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi */ @property (assign, nonatomic) BOOL shouldDecompressImages; +/** + * The maximum number of concurrent downloads + */ @property (assign, nonatomic) NSInteger maxConcurrentDownloads; /** @@ -90,12 +111,19 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi */ @property (readonly, nonatomic) NSUInteger currentDownloadCount; - /** * The timeout value (in seconds) for the download operation. Default: 15.0. */ @property (assign, nonatomic) NSTimeInterval downloadTimeout; +/** + * The configuration in use by the internal NSURLSession. + * Mutating this object directly has no effect. + * + * @see createNewSessionWithConfiguration: + */ +@property (readonly, nonatomic, nonnull) NSURLSessionConfiguration *sessionConfiguration; + /** * Changes download operations execution order. Default value is `SDWebImageDownloaderFIFOExecutionOrder`. @@ -107,22 +135,22 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi * * @return global shared instance of downloader class */ -+ (SDWebImageDownloader *)sharedDownloader; ++ (nonnull instancetype)sharedDownloader; /** * Set the default URL credential to be set for request operations. */ -@property (strong, nonatomic) NSURLCredential *urlCredential; +@property (strong, nonatomic, nullable) NSURLCredential *urlCredential; /** * Set username */ -@property (strong, nonatomic) NSString *username; +@property (strong, nonatomic, nullable) NSString *username; /** * Set password */ -@property (strong, nonatomic) NSString *password; +@property (strong, nonatomic, nullable) NSString *password; /** * Set filter to pick headers for downloading image HTTP request. @@ -130,7 +158,14 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi * This block will be invoked for each downloading image request, returned * NSDictionary will be used as headers in corresponding HTTP request. */ -@property (nonatomic, copy) SDWebImageDownloaderHeadersFilterBlock headersFilter; +@property (nonatomic, copy, nullable) SDWebImageDownloaderHeadersFilterBlock headersFilter; + +/** + * Creates an instance of a downloader with specified session configuration. + * *Note*: `timeoutIntervalForRequest` is going to be overwritten. + * @return new instance of downloader class + */ +- (nonnull instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)sessionConfiguration NS_DESIGNATED_INITIALIZER; /** * Set a value for a HTTP header to be appended to each download HTTP request. @@ -138,14 +173,14 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi * @param value The value for the header field. Use `nil` value to remove the header. * @param field The name of the header field to set. */ -- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field; +- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(nullable NSString *)field; /** * Returns the value of the specified HTTP header field. * * @return The value associated with the header field field, or `nil` if there is no corresponding header field. */ -- (NSString *)valueForHTTPHeaderField:(NSString *)field; +- (nullable NSString *)valueForHTTPHeaderField:(nullable NSString *)field; /** * Sets a subclass of `SDWebImageDownloaderOperation` as the default @@ -155,7 +190,7 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi * @param operationClass The subclass of `SDWebImageDownloaderOperation` to set * as default. Passing `nil` will revert to `SDWebImageDownloaderOperation`. */ -- (void)setOperationClass:(Class)operationClass; +- (void)setOperationClass:(nullable Class)operationClass; /** * Creates a SDWebImageDownloader async downloader instance with a given URL @@ -167,6 +202,7 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi * @param url The URL to the image to download * @param options The options to be used for this download * @param progressBlock A block called repeatedly while the image is downloading + * @note the progress block is executed on a background queue * @param completedBlock A block called once the download is completed. * If the download succeeded, the image parameter is set, in case of error, * error parameter is set with the error. The last parameter is always YES @@ -176,16 +212,38 @@ typedef NSDictionary *(^SDWebImageDownloaderHeadersFilterBlock)(NSURL *url, NSDi * before to be called a last time with the full image and finished argument * set to YES. In case of error, the finished argument is always YES. * - * @return A cancellable SDWebImageOperation + * @return A token (SDWebImageDownloadToken) that can be passed to -cancel: to cancel this operation + */ +- (nullable SDWebImageDownloadToken *)downloadImageWithURL:(nullable NSURL *)url + options:(SDWebImageDownloaderOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock; + +/** + * Cancels a download that was previously queued using -downloadImageWithURL:options:progress:completed: + * + * @param token The token received from -downloadImageWithURL:options:progress:completed: that should be canceled. */ -- (id )downloadImageWithURL:(NSURL *)url - options:(SDWebImageDownloaderOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageDownloaderCompletedBlock)completedBlock; +- (void)cancel:(nullable SDWebImageDownloadToken *)token; /** * Sets the download queue suspension state */ - (void)setSuspended:(BOOL)suspended; +/** + * Cancels all download operations in the queue + */ +- (void)cancelAllDownloads; + +/** + * Forces SDWebImageDownloader to create and use a new NSURLSession that is + * initialized with the given configuration. + * *Note*: All existing download operations in the queue will be cancelled. + * *Note*: `timeoutIntervalForRequest` is going to be overwritten. + * + * @param sessionConfiguration The configuration to use for the new NSURLSession + */ +- (void)createNewSessionWithConfiguration:(nonnull NSURLSessionConfiguration *)sessionConfiguration; + @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m index 1fdcfc92f..24e5e0d6b 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloader.m @@ -8,20 +8,23 @@ #import "SDWebImageDownloader.h" #import "SDWebImageDownloaderOperation.h" -#import -static NSString *const kProgressCallbackKey = @"progress"; -static NSString *const kCompletedCallbackKey = @"completed"; +@implementation SDWebImageDownloadToken +@end + -@interface SDWebImageDownloader () +@interface SDWebImageDownloader () -@property (strong, nonatomic) NSOperationQueue *downloadQueue; -@property (weak, nonatomic) NSOperation *lastAddedOperation; -@property (assign, nonatomic) Class operationClass; -@property (strong, nonatomic) NSMutableDictionary *URLCallbacks; -@property (strong, nonatomic) NSMutableDictionary *HTTPHeaders; +@property (strong, nonatomic, nonnull) NSOperationQueue *downloadQueue; +@property (weak, nonatomic, nullable) NSOperation *lastAddedOperation; +@property (assign, nonatomic, nullable) Class operationClass; +@property (strong, nonatomic, nonnull) NSMutableDictionary *URLOperations; +@property (strong, nonatomic, nullable) SDHTTPHeadersMutableDictionary *HTTPHeaders; // This queue is used to serialize the handling of the network responses of all the download operation in a single queue -@property (SDDispatchQueueSetterSementics, nonatomic) dispatch_queue_t barrierQueue; +@property (SDDispatchQueueSetterSementics, nonatomic, nullable) dispatch_queue_t barrierQueue; + +// The session in which data tasks will run +@property (strong, nonatomic) NSURLSession *session; @end @@ -50,7 +53,7 @@ + (void)initialize { } } -+ (SDWebImageDownloader *)sharedDownloader { ++ (nonnull instancetype)sharedDownloader { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ @@ -59,14 +62,19 @@ + (SDWebImageDownloader *)sharedDownloader { return instance; } -- (id)init { +- (nonnull instancetype)init { + return [self initWithSessionConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]]; +} + +- (nonnull instancetype)initWithSessionConfiguration:(nullable NSURLSessionConfiguration *)sessionConfiguration { if ((self = [super init])) { _operationClass = [SDWebImageDownloaderOperation class]; _shouldDecompressImages = YES; _executionOrder = SDWebImageDownloaderFIFOExecutionOrder; _downloadQueue = [NSOperationQueue new]; _downloadQueue.maxConcurrentOperationCount = 6; - _URLCallbacks = [NSMutableDictionary new]; + _downloadQueue.name = @"com.hackemist.SDWebImageDownloader"; + _URLOperations = [NSMutableDictionary new]; #ifdef SD_WEBP _HTTPHeaders = [@{@"Accept": @"image/webp,image/*;q=0.8"} mutableCopy]; #else @@ -74,25 +82,48 @@ - (id)init { #endif _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderBarrierQueue", DISPATCH_QUEUE_CONCURRENT); _downloadTimeout = 15.0; + + [self createNewSessionWithConfiguration:sessionConfiguration]; } return self; } +- (void)createNewSessionWithConfiguration:(NSURLSessionConfiguration *)sessionConfiguration { + [self cancelAllDownloads]; + + if (self.session) { + [self.session invalidateAndCancel]; + } + + sessionConfiguration.timeoutIntervalForRequest = self.downloadTimeout; + + /** + * Create the session for this task + * We send nil as delegate queue so that the session creates a serial operation queue for performing all delegate + * method calls and completion handler calls. + */ + self.session = [NSURLSession sessionWithConfiguration:sessionConfiguration + delegate:self + delegateQueue:nil]; +} + - (void)dealloc { + [self.session invalidateAndCancel]; + self.session = nil; + [self.downloadQueue cancelAllOperations]; SDDispatchQueueRelease(_barrierQueue); } -- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field { +- (void)setValue:(nullable NSString *)value forHTTPHeaderField:(nullable NSString *)field { if (value) { self.HTTPHeaders[field] = value; - } - else { + } else { [self.HTTPHeaders removeObjectForKey:field]; } } -- (NSString *)valueForHTTPHeaderField:(NSString *)field { +- (nullable NSString *)valueForHTTPHeaderField:(nullable NSString *)field { return self.HTTPHeaders[field]; } @@ -108,74 +139,52 @@ - (NSInteger)maxConcurrentDownloads { return _downloadQueue.maxConcurrentOperationCount; } -- (void)setOperationClass:(Class)operationClass { - _operationClass = operationClass ?: [SDWebImageDownloaderOperation class]; +- (NSURLSessionConfiguration *)sessionConfiguration { + return self.session.configuration; +} + +- (void)setOperationClass:(nullable Class)operationClass { + if (operationClass && [operationClass isSubclassOfClass:[NSOperation class]] && [operationClass conformsToProtocol:@protocol(SDWebImageDownloaderOperationInterface)]) { + _operationClass = operationClass; + } else { + _operationClass = [SDWebImageDownloaderOperation class]; + } } -- (id )downloadImageWithURL:(NSURL *)url options:(SDWebImageDownloaderOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageDownloaderCompletedBlock)completedBlock { - __block SDWebImageDownloaderOperation *operation; - __weak __typeof(self)wself = self; +- (nullable SDWebImageDownloadToken *)downloadImageWithURL:(nullable NSURL *)url + options:(SDWebImageDownloaderOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock { + __weak SDWebImageDownloader *wself = self; - [self addProgressCallback:progressBlock completedBlock:completedBlock forURL:url createCallback:^{ - NSTimeInterval timeoutInterval = wself.downloadTimeout; + return [self addProgressCallback:progressBlock completedBlock:completedBlock forURL:url createCallback:^SDWebImageDownloaderOperation *{ + __strong __typeof (wself) sself = wself; + NSTimeInterval timeoutInterval = sself.downloadTimeout; if (timeoutInterval == 0.0) { timeoutInterval = 15.0; } // In order to prevent from potential duplicate caching (NSURLCache + SDImageCache) we disable the cache for image requests if told otherwise - NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url cachePolicy:(options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData) timeoutInterval:timeoutInterval]; + NSURLRequestCachePolicy cachePolicy = options & SDWebImageDownloaderUseNSURLCache ? NSURLRequestUseProtocolCachePolicy : NSURLRequestReloadIgnoringLocalCacheData; + NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url + cachePolicy:cachePolicy + timeoutInterval:timeoutInterval]; + request.HTTPShouldHandleCookies = (options & SDWebImageDownloaderHandleCookies); request.HTTPShouldUsePipelining = YES; - if (wself.headersFilter) { - request.allHTTPHeaderFields = wself.headersFilter(url, [wself.HTTPHeaders copy]); + if (sself.headersFilter) { + request.allHTTPHeaderFields = sself.headersFilter(url, [sself.HTTPHeaders copy]); } else { - request.allHTTPHeaderFields = wself.HTTPHeaders; + request.allHTTPHeaderFields = sself.HTTPHeaders; } - operation = [[wself.operationClass alloc] initWithRequest:request - options:options - progress:^(NSInteger receivedSize, NSInteger expectedSize) { - SDWebImageDownloader *sself = wself; - if (!sself) return; - __block NSArray *callbacksForURL; - dispatch_sync(sself.barrierQueue, ^{ - callbacksForURL = [sself.URLCallbacks[url] copy]; - }); - for (NSDictionary *callbacks in callbacksForURL) { - dispatch_async(dispatch_get_main_queue(), ^{ - SDWebImageDownloaderProgressBlock callback = callbacks[kProgressCallbackKey]; - if (callback) callback(receivedSize, expectedSize); - }); - } - } - completed:^(UIImage *image, NSData *data, NSError *error, BOOL finished) { - SDWebImageDownloader *sself = wself; - if (!sself) return; - __block NSArray *callbacksForURL; - dispatch_barrier_sync(sself.barrierQueue, ^{ - callbacksForURL = [sself.URLCallbacks[url] copy]; - if (finished) { - [sself.URLCallbacks removeObjectForKey:url]; - } - }); - for (NSDictionary *callbacks in callbacksForURL) { - SDWebImageDownloaderCompletedBlock callback = callbacks[kCompletedCallbackKey]; - if (callback) callback(image, data, error, finished); - } - } - cancelled:^{ - SDWebImageDownloader *sself = wself; - if (!sself) return; - dispatch_barrier_async(sself.barrierQueue, ^{ - [sself.URLCallbacks removeObjectForKey:url]; - }); - }]; - operation.shouldDecompressImages = wself.shouldDecompressImages; + SDWebImageDownloaderOperation *operation = [[sself.operationClass alloc] initWithRequest:request inSession:sself.session options:options]; + operation.shouldDecompressImages = sself.shouldDecompressImages; - if (wself.urlCredential) { - operation.credential = wself.urlCredential; - } else if (wself.username && wself.password) { - operation.credential = [NSURLCredential credentialWithUser:wself.username password:wself.password persistence:NSURLCredentialPersistenceForSession]; + if (sself.urlCredential) { + operation.credential = sself.urlCredential; + } else if (sself.username && sself.password) { + operation.credential = [NSURLCredential credentialWithUser:sself.username password:sself.password persistence:NSURLCredentialPersistenceForSession]; } if (options & SDWebImageDownloaderHighPriority) { @@ -184,49 +193,141 @@ - (void)setOperationClass:(Class)operationClass { operation.queuePriority = NSOperationQueuePriorityLow; } - [wself.downloadQueue addOperation:operation]; - if (wself.executionOrder == SDWebImageDownloaderLIFOExecutionOrder) { + [sself.downloadQueue addOperation:operation]; + if (sself.executionOrder == SDWebImageDownloaderLIFOExecutionOrder) { // Emulate LIFO execution order by systematically adding new operations as last operation's dependency - [wself.lastAddedOperation addDependency:operation]; - wself.lastAddedOperation = operation; + [sself.lastAddedOperation addDependency:operation]; + sself.lastAddedOperation = operation; } + + return operation; }]; +} - return operation; +- (void)cancel:(nullable SDWebImageDownloadToken *)token { + dispatch_barrier_async(self.barrierQueue, ^{ + SDWebImageDownloaderOperation *operation = self.URLOperations[token.url]; + BOOL canceled = [operation cancel:token.downloadOperationCancelToken]; + if (canceled) { + [self.URLOperations removeObjectForKey:token.url]; + } + }); } -- (void)addProgressCallback:(SDWebImageDownloaderProgressBlock)progressBlock completedBlock:(SDWebImageDownloaderCompletedBlock)completedBlock forURL:(NSURL *)url createCallback:(SDWebImageNoParamsBlock)createCallback { +- (nullable SDWebImageDownloadToken *)addProgressCallback:(SDWebImageDownloaderProgressBlock)progressBlock + completedBlock:(SDWebImageDownloaderCompletedBlock)completedBlock + forURL:(nullable NSURL *)url + createCallback:(SDWebImageDownloaderOperation *(^)(void))createCallback { // The URL will be used as the key to the callbacks dictionary so it cannot be nil. If it is nil immediately call the completed block with no image or data. if (url == nil) { if (completedBlock != nil) { completedBlock(nil, nil, nil, NO); } - return; + return nil; } - dispatch_barrier_sync(self.barrierQueue, ^{ - BOOL first = NO; - if (!self.URLCallbacks[url]) { - self.URLCallbacks[url] = [NSMutableArray new]; - first = YES; - } + __block SDWebImageDownloadToken *token = nil; - // Handle single download of simultaneous download request for the same URL - NSMutableArray *callbacksForURL = self.URLCallbacks[url]; - NSMutableDictionary *callbacks = [NSMutableDictionary new]; - if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy]; - if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy]; - [callbacksForURL addObject:callbacks]; - self.URLCallbacks[url] = callbacksForURL; + dispatch_barrier_sync(self.barrierQueue, ^{ + SDWebImageDownloaderOperation *operation = self.URLOperations[url]; + if (!operation) { + operation = createCallback(); + self.URLOperations[url] = operation; - if (first) { - createCallback(); + __weak SDWebImageDownloaderOperation *woperation = operation; + operation.completionBlock = ^{ + dispatch_barrier_sync(self.barrierQueue, ^{ + SDWebImageDownloaderOperation *soperation = woperation; + if (!soperation) return; + if (self.URLOperations[url] == soperation) { + [self.URLOperations removeObjectForKey:url]; + }; + }); + }; } + id downloadOperationCancelToken = [operation addHandlersForProgress:progressBlock completed:completedBlock]; + + token = [SDWebImageDownloadToken new]; + token.url = url; + token.downloadOperationCancelToken = downloadOperationCancelToken; }); + + return token; } - (void)setSuspended:(BOOL)suspended { - [self.downloadQueue setSuspended:suspended]; + self.downloadQueue.suspended = suspended; +} + +- (void)cancelAllDownloads { + [self.downloadQueue cancelAllOperations]; +} + +#pragma mark Helper methods + +- (SDWebImageDownloaderOperation *)operationWithTask:(NSURLSessionTask *)task { + SDWebImageDownloaderOperation *returnOperation = nil; + for (SDWebImageDownloaderOperation *operation in self.downloadQueue.operations) { + if (operation.dataTask.taskIdentifier == task.taskIdentifier) { + returnOperation = operation; + break; + } + } + return returnOperation; +} + +#pragma mark NSURLSessionDataDelegate + +- (void)URLSession:(NSURLSession *)session + dataTask:(NSURLSessionDataTask *)dataTask +didReceiveResponse:(NSURLResponse *)response + completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler { + + // Identify the operation that runs this task and pass it the delegate method + SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask]; + + [dataOperation URLSession:session dataTask:dataTask didReceiveResponse:response completionHandler:completionHandler]; +} + +- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data { + + // Identify the operation that runs this task and pass it the delegate method + SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask]; + + [dataOperation URLSession:session dataTask:dataTask didReceiveData:data]; +} + +- (void)URLSession:(NSURLSession *)session + dataTask:(NSURLSessionDataTask *)dataTask + willCacheResponse:(NSCachedURLResponse *)proposedResponse + completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler { + + // Identify the operation that runs this task and pass it the delegate method + SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:dataTask]; + + [dataOperation URLSession:session dataTask:dataTask willCacheResponse:proposedResponse completionHandler:completionHandler]; +} + +#pragma mark NSURLSessionTaskDelegate + +- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error { + // Identify the operation that runs this task and pass it the delegate method + SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task]; + + [dataOperation URLSession:session task:task didCompleteWithError:error]; +} + +- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willPerformHTTPRedirection:(NSHTTPURLResponse *)response newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest * _Nullable))completionHandler { + + completionHandler(request); +} + +- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler { + + // Identify the operation that runs this task and pass it the delegate method + SDWebImageDownloaderOperation *dataOperation = [self operationWithTask:task]; + + [dataOperation URLSession:session task:task didReceiveChallenge:challenge completionHandler:completionHandler]; } @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h index dd48b2286..40721b240 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.h @@ -10,34 +10,61 @@ #import "SDWebImageDownloader.h" #import "SDWebImageOperation.h" -extern NSString *const SDWebImageDownloadStartNotification; -extern NSString *const SDWebImageDownloadReceiveResponseNotification; -extern NSString *const SDWebImageDownloadStopNotification; -extern NSString *const SDWebImageDownloadFinishNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStartNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadReceiveResponseNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadStopNotification; +FOUNDATION_EXPORT NSString * _Nonnull const SDWebImageDownloadFinishNotification; -@interface SDWebImageDownloaderOperation : NSOperation + + +/** + Describes a downloader operation. If one wants to use a custom downloader op, it needs to inherit from `NSOperation` and conform to this protocol + */ +@protocol SDWebImageDownloaderOperationInterface + +- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request + inSession:(nullable NSURLSession *)session + options:(SDWebImageDownloaderOptions)options; + +- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock; + +- (BOOL)shouldDecompressImages; +- (void)setShouldDecompressImages:(BOOL)value; + +- (nullable NSURLCredential *)credential; +- (void)setCredential:(nullable NSURLCredential *)value; + +@end + + +@interface SDWebImageDownloaderOperation : NSOperation + +/** + * The request used by the operation's task. + */ +@property (strong, nonatomic, readonly, nullable) NSURLRequest *request; /** - * The request used by the operation's connection. + * The operation's task */ -@property (strong, nonatomic, readonly) NSURLRequest *request; +@property (strong, nonatomic, readonly, nullable) NSURLSessionTask *dataTask; @property (assign, nonatomic) BOOL shouldDecompressImages; /** - * Whether the URL connection should consult the credential storage for authenticating the connection. `YES` by default. - * - * This is the value that is returned in the `NSURLConnectionDelegate` method `-connectionShouldUseCredentialStorage:`. + * Was used to determine whether the URL connection should consult the credential storage for authenticating the connection. + * @deprecated Not used for a couple of versions */ -@property (nonatomic, assign) BOOL shouldUseCredentialStorage; +@property (nonatomic, assign) BOOL shouldUseCredentialStorage __deprecated_msg("Property deprecated. Does nothing. Kept only for backwards compatibility"); /** * The credential used for authentication challenges in `-connection:didReceiveAuthenticationChallenge:`. * * This will be overridden by any shared credentials that exist for the username or password of the request URL, if present. */ -@property (nonatomic, strong) NSURLCredential *credential; +@property (nonatomic, strong, nullable) NSURLCredential *credential; /** * The SDWebImageDownloaderOptions for the receiver. @@ -52,7 +79,7 @@ extern NSString *const SDWebImageDownloadFinishNotification; /** * The response returned by the operation's connection. */ -@property (strong, nonatomic) NSURLResponse *response; +@property (strong, nonatomic, nullable) NSURLResponse *response; /** * Initializes a `SDWebImageDownloaderOperation` object @@ -60,19 +87,36 @@ extern NSString *const SDWebImageDownloadFinishNotification; * @see SDWebImageDownloaderOperation * * @param request the URL request + * @param session the URL session in which this operation will run * @param options downloader options - * @param progressBlock the block executed when a new chunk of data arrives. + * + * @return the initialized instance + */ +- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request + inSession:(nullable NSURLSession *)session + options:(SDWebImageDownloaderOptions)options NS_DESIGNATED_INITIALIZER; + +/** + * Adds handlers for progress and completion. Returns a tokent that can be passed to -cancel: to cancel this set of + * callbacks. + * + * @param progressBlock the block executed when a new chunk of data arrives. * @note the progress block is executed on a background queue - * @param completedBlock the block executed when the download is done. + * @param completedBlock the block executed when the download is done. * @note the completed block is executed on the main queue for success. If errors are found, there is a chance the block will be executed on a background queue - * @param cancelBlock the block executed if the download (operation) is cancelled * - * @return the initialized instance + * @return the token to use to cancel this set of handlers + */ +- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock; + +/** + * Cancels a set of callbacks. Once all callbacks are canceled, the operation is cancelled. + * + * @param token the token representing a set of callbacks to cancel + * + * @return YES if the operation was stopped because this was the last token to be canceled. NO otherwise. */ -- (id)initWithRequest:(NSURLRequest *)request - options:(SDWebImageDownloaderOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageDownloaderCompletedBlock)completedBlock - cancelled:(SDWebImageNoParamsBlock)cancelBlock; +- (BOOL)cancel:(nullable id)token; @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m index 5a8bd11fc..479c6b0a7 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageDownloaderOperation.m @@ -7,64 +7,112 @@ */ #import "SDWebImageDownloaderOperation.h" -#import "SDWebImageDecoder.h" -#import "UIImage+MultiFormat.h" -#import #import "SDWebImageManager.h" +#import "NSImage+WebCache.h" +#import "SDWebImageCodersManager.h" NSString *const SDWebImageDownloadStartNotification = @"SDWebImageDownloadStartNotification"; NSString *const SDWebImageDownloadReceiveResponseNotification = @"SDWebImageDownloadReceiveResponseNotification"; NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNotification"; NSString *const SDWebImageDownloadFinishNotification = @"SDWebImageDownloadFinishNotification"; -@interface SDWebImageDownloaderOperation () +static NSString *const kProgressCallbackKey = @"progress"; +static NSString *const kCompletedCallbackKey = @"completed"; -@property (copy, nonatomic) SDWebImageDownloaderProgressBlock progressBlock; -@property (copy, nonatomic) SDWebImageDownloaderCompletedBlock completedBlock; -@property (copy, nonatomic) SDWebImageNoParamsBlock cancelBlock; +typedef NSMutableDictionary SDCallbacksDictionary; + +@interface SDWebImageDownloaderOperation () + +@property (strong, nonatomic, nonnull) NSMutableArray *callbackBlocks; @property (assign, nonatomic, getter = isExecuting) BOOL executing; @property (assign, nonatomic, getter = isFinished) BOOL finished; -@property (strong, nonatomic) NSMutableData *imageData; -@property (strong, nonatomic) NSURLConnection *connection; -@property (strong, atomic) NSThread *thread; +@property (strong, nonatomic, nullable) NSMutableData *imageData; +@property (copy, nonatomic, nullable) NSData *cachedData; + +// This is weak because it is injected by whoever manages this session. If this gets nil-ed out, we won't be able to run +// the task associated with this operation +@property (weak, nonatomic, nullable) NSURLSession *unownedSession; +// This is set if we're using not using an injected NSURLSession. We're responsible of invalidating this one +@property (strong, nonatomic, nullable) NSURLSession *ownedSession; + +@property (strong, nonatomic, readwrite, nullable) NSURLSessionTask *dataTask; -#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 +@property (SDDispatchQueueSetterSementics, nonatomic, nullable) dispatch_queue_t barrierQueue; + +#if SD_UIKIT @property (assign, nonatomic) UIBackgroundTaskIdentifier backgroundTaskId; #endif +@property (strong, nonatomic, nullable) id progressiveCoder; + @end -@implementation SDWebImageDownloaderOperation { - size_t width, height; - UIImageOrientation orientation; - BOOL responseFromCached; -} +@implementation SDWebImageDownloaderOperation @synthesize executing = _executing; @synthesize finished = _finished; -- (id)initWithRequest:(NSURLRequest *)request - options:(SDWebImageDownloaderOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageDownloaderCompletedBlock)completedBlock - cancelled:(SDWebImageNoParamsBlock)cancelBlock { +- (nonnull instancetype)init { + return [self initWithRequest:nil inSession:nil options:0]; +} + +- (nonnull instancetype)initWithRequest:(nullable NSURLRequest *)request + inSession:(nullable NSURLSession *)session + options:(SDWebImageDownloaderOptions)options { if ((self = [super init])) { - _request = request; + _request = [request copy]; _shouldDecompressImages = YES; - _shouldUseCredentialStorage = YES; _options = options; - _progressBlock = [progressBlock copy]; - _completedBlock = [completedBlock copy]; - _cancelBlock = [cancelBlock copy]; + _callbackBlocks = [NSMutableArray new]; _executing = NO; _finished = NO; _expectedSize = 0; - responseFromCached = YES; // Initially wrong until `connection:willCacheResponse:` is called or not called + _unownedSession = session; + _barrierQueue = dispatch_queue_create("com.hackemist.SDWebImageDownloaderOperationBarrierQueue", DISPATCH_QUEUE_CONCURRENT); } return self; } +- (void)dealloc { + SDDispatchQueueRelease(_barrierQueue); +} + +- (nullable id)addHandlersForProgress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDWebImageDownloaderCompletedBlock)completedBlock { + SDCallbacksDictionary *callbacks = [NSMutableDictionary new]; + if (progressBlock) callbacks[kProgressCallbackKey] = [progressBlock copy]; + if (completedBlock) callbacks[kCompletedCallbackKey] = [completedBlock copy]; + dispatch_barrier_async(self.barrierQueue, ^{ + [self.callbackBlocks addObject:callbacks]; + }); + return callbacks; +} + +- (nullable NSArray *)callbacksForKey:(NSString *)key { + __block NSMutableArray *callbacks = nil; + dispatch_sync(self.barrierQueue, ^{ + // We need to remove [NSNull null] because there might not always be a progress block for each callback + callbacks = [[self.callbackBlocks valueForKey:key] mutableCopy]; + [callbacks removeObjectIdenticalTo:[NSNull null]]; + }); + return [callbacks copy]; // strip mutability here +} + +- (BOOL)cancel:(nullable id)token { + __block BOOL shouldCancel = NO; + dispatch_barrier_sync(self.barrierQueue, ^{ + [self.callbackBlocks removeObjectIdenticalTo:token]; + if (self.callbackBlocks.count == 0) { + shouldCancel = YES; + } + }); + if (shouldCancel) { + [self cancel]; + } + return shouldCancel; +} + - (void)start { @synchronized (self) { if (self.isCancelled) { @@ -73,7 +121,7 @@ - (void)start { return; } -#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 +#if SD_UIKIT Class UIApplicationClass = NSClassFromString(@"UIApplication"); BOOL hasApplication = UIApplicationClass && [UIApplicationClass respondsToSelector:@selector(sharedApplication)]; if (hasApplication && [self shouldContinueWhenAppEntersBackground]) { @@ -91,44 +139,49 @@ - (void)start { }]; } #endif - + if (self.options & SDWebImageDownloaderIgnoreCachedResponse) { + // Grab the cached data for later check + NSCachedURLResponse *cachedResponse = [[NSURLCache sharedURLCache] cachedResponseForRequest:self.request]; + if (cachedResponse) { + self.cachedData = cachedResponse.data; + } + } + + NSURLSession *session = self.unownedSession; + if (!self.unownedSession) { + NSURLSessionConfiguration *sessionConfig = [NSURLSessionConfiguration defaultSessionConfiguration]; + sessionConfig.timeoutIntervalForRequest = 15; + + /** + * Create the session for this task + * We send nil as delegate queue so that the session creates a serial operation queue for performing all delegate + * method calls and completion handler calls. + */ + self.ownedSession = [NSURLSession sessionWithConfiguration:sessionConfig + delegate:self + delegateQueue:nil]; + session = self.ownedSession; + } + + self.dataTask = [session dataTaskWithRequest:self.request]; self.executing = YES; - self.connection = [[NSURLConnection alloc] initWithRequest:self.request delegate:self startImmediately:NO]; - self.thread = [NSThread currentThread]; } + + [self.dataTask resume]; - [self.connection start]; - - if (self.connection) { - if (self.progressBlock) { - self.progressBlock(0, NSURLResponseUnknownLength); + if (self.dataTask) { + for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) { + progressBlock(0, NSURLResponseUnknownLength, self.request.URL); } + __weak typeof(self) weakSelf = self; dispatch_async(dispatch_get_main_queue(), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStartNotification object:weakSelf]; }); - - if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_5_1) { - // Make sure to run the runloop in our background thread so it can process downloaded data - // Note: we use a timeout to work around an issue with NSURLConnection cancel under iOS 5 - // not waking up the runloop, leading to dead threads (see https://github.com/rs/SDWebImage/issues/466) - CFRunLoopRunInMode(kCFRunLoopDefaultMode, 10, false); - } - else { - CFRunLoopRun(); - } - - if (!self.isFinished) { - [self.connection cancel]; - [self connection:self.connection didFailWithError:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorTimedOut userInfo:@{NSURLErrorFailingURLErrorKey : self.request.URL}]]; - } - } - else { - if (self.completedBlock) { - self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Connection can't be initialized"}], YES); - } + } else { + [self callCompletionBlocksWithError:[NSError errorWithDomain:NSURLErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Connection can't be initialized"}]]; } -#if TARGET_OS_IPHONE && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_4_0 +#if SD_UIKIT Class UIApplicationClass = NSClassFromString(@"UIApplication"); if(!UIApplicationClass || ![UIApplicationClass respondsToSelector:@selector(sharedApplication)]) { return; @@ -143,30 +196,19 @@ - (void)start { - (void)cancel { @synchronized (self) { - if (self.thread) { - [self performSelector:@selector(cancelInternalAndStop) onThread:self.thread withObject:nil waitUntilDone:NO]; - } - else { - [self cancelInternal]; - } + [self cancelInternal]; } } -- (void)cancelInternalAndStop { - if (self.isFinished) return; - [self cancelInternal]; - CFRunLoopStop(CFRunLoopGetCurrent()); -} - - (void)cancelInternal { if (self.isFinished) return; [super cancel]; - if (self.cancelBlock) self.cancelBlock(); - if (self.connection) { - [self.connection cancel]; + if (self.dataTask) { + [self.dataTask cancel]; + __weak typeof(self) weakSelf = self; dispatch_async(dispatch_get_main_queue(), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:weakSelf]; }); // As we cancelled the connection, its callback won't be called and thus won't @@ -185,12 +227,29 @@ - (void)done { } - (void)reset { - self.cancelBlock = nil; - self.completedBlock = nil; - self.progressBlock = nil; - self.connection = nil; - self.imageData = nil; - self.thread = nil; + __weak typeof(self) weakSelf = self; + dispatch_barrier_async(self.barrierQueue, ^{ + [weakSelf.callbackBlocks removeAllObjects]; + }); + self.dataTask = nil; + + NSOperationQueue *delegateQueue; + if (self.unownedSession) { + delegateQueue = self.unownedSession.delegateQueue; + } else { + delegateQueue = self.ownedSession.delegateQueue; + } + if (delegateQueue) { + NSAssert(delegateQueue.maxConcurrentOperationCount == 1, @"NSURLSession delegate queue should be a serial queue"); + [delegateQueue addOperationWithBlock:^{ + weakSelf.imageData = nil; + }]; + } + + if (self.ownedSession) { + [self.ownedSession invalidateAndCancel]; + self.ownedSession = nil; + } } - (void)setFinished:(BOOL)finished { @@ -209,258 +268,228 @@ - (BOOL)isConcurrent { return YES; } -#pragma mark NSURLConnection (delegate) +#pragma mark NSURLSessionDataDelegate -- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response { +- (void)URLSession:(NSURLSession *)session + dataTask:(NSURLSessionDataTask *)dataTask +didReceiveResponse:(NSURLResponse *)response + completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler { //'304 Not Modified' is an exceptional one - if (![response respondsToSelector:@selector(statusCode)] || ([((NSHTTPURLResponse *)response) statusCode] < 400 && [((NSHTTPURLResponse *)response) statusCode] != 304)) { - NSInteger expected = response.expectedContentLength > 0 ? (NSInteger)response.expectedContentLength : 0; + if (![response respondsToSelector:@selector(statusCode)] || (((NSHTTPURLResponse *)response).statusCode < 400 && ((NSHTTPURLResponse *)response).statusCode != 304)) { + NSInteger expected = (NSInteger)response.expectedContentLength; + expected = expected > 0 ? expected : 0; self.expectedSize = expected; - if (self.progressBlock) { - self.progressBlock(0, expected); + for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) { + progressBlock(0, expected, self.request.URL); } - + self.imageData = [[NSMutableData alloc] initWithCapacity:expected]; self.response = response; + __weak typeof(self) weakSelf = self; dispatch_async(dispatch_get_main_queue(), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadReceiveResponseNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadReceiveResponseNotification object:weakSelf]; }); - } - else { - NSUInteger code = [((NSHTTPURLResponse *)response) statusCode]; + } else { + NSUInteger code = ((NSHTTPURLResponse *)response).statusCode; //This is the case when server returns '304 Not Modified'. It means that remote image is not changed. //In case of 304 we need just cancel the operation and return cached image from the cache. if (code == 304) { [self cancelInternal]; } else { - [self.connection cancel]; + [self.dataTask cancel]; } + __weak typeof(self) weakSelf = self; dispatch_async(dispatch_get_main_queue(), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:weakSelf]; }); + + [self callCompletionBlocksWithError:[NSError errorWithDomain:NSURLErrorDomain code:((NSHTTPURLResponse *)response).statusCode userInfo:nil]]; - if (self.completedBlock) { - self.completedBlock(nil, nil, [NSError errorWithDomain:NSURLErrorDomain code:[((NSHTTPURLResponse *)response) statusCode] userInfo:nil], YES); - } - CFRunLoopStop(CFRunLoopGetCurrent()); [self done]; } + + if (completionHandler) { + completionHandler(NSURLSessionResponseAllow); + } } -- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data { +- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data { [self.imageData appendData:data]; - if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0 && self.completedBlock) { - // The following code is from http://www.cocoaintheshell.com/2011/05/progressive-images-download-imageio/ - // Thanks to the author @Nyx0uf - + if ((self.options & SDWebImageDownloaderProgressiveDownload) && self.expectedSize > 0) { + // Get the image data + NSData *imageData = [self.imageData copy]; // Get the total bytes downloaded - const NSInteger totalSize = self.imageData.length; - - // Update the data source, we must pass ALL the data, not just the new bytes - CGImageSourceRef imageSource = CGImageSourceCreateWithData((__bridge CFDataRef)self.imageData, NULL); - - if (width + height == 0) { - CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL); - if (properties) { - NSInteger orientationValue = -1; - CFTypeRef val = CFDictionaryGetValue(properties, kCGImagePropertyPixelHeight); - if (val) CFNumberGetValue(val, kCFNumberLongType, &height); - val = CFDictionaryGetValue(properties, kCGImagePropertyPixelWidth); - if (val) CFNumberGetValue(val, kCFNumberLongType, &width); - val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation); - if (val) CFNumberGetValue(val, kCFNumberNSIntegerType, &orientationValue); - CFRelease(properties); - - // When we draw to Core Graphics, we lose orientation information, - // which means the image below born of initWithCGIImage will be - // oriented incorrectly sometimes. (Unlike the image born of initWithData - // in connectionDidFinishLoading.) So save it here and pass it on later. - orientation = [[self class] orientationFromPropertyValue:(orientationValue == -1 ? 1 : orientationValue)]; - } - - } - - if (width + height > 0 && totalSize < self.expectedSize) { - // Create the image - CGImageRef partialImageRef = CGImageSourceCreateImageAtIndex(imageSource, 0, NULL); - -#ifdef TARGET_OS_IPHONE - // Workaround for iOS anamorphic image - if (partialImageRef) { - const size_t partialHeight = CGImageGetHeight(partialImageRef); - CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB(); - CGContextRef bmContext = CGBitmapContextCreate(NULL, width, height, 8, width * 4, colorSpace, kCGBitmapByteOrderDefault | kCGImageAlphaPremultipliedFirst); - CGColorSpaceRelease(colorSpace); - if (bmContext) { - CGContextDrawImage(bmContext, (CGRect){.origin.x = 0.0f, .origin.y = 0.0f, .size.width = width, .size.height = partialHeight}, partialImageRef); - CGImageRelease(partialImageRef); - partialImageRef = CGBitmapContextCreateImage(bmContext); - CGContextRelease(bmContext); - } - else { - CGImageRelease(partialImageRef); - partialImageRef = nil; + const NSInteger totalSize = imageData.length; + // Get the finish status + BOOL finished = (totalSize >= self.expectedSize); + + if (!self.progressiveCoder) { + // We need to create a new instance for progressive decoding to avoid conflicts + for (idcoder in [SDWebImageCodersManager sharedInstance].coders) { + if ([coder conformsToProtocol:@protocol(SDWebImageProgressiveCoder)] && + [((id)coder) canIncrementallyDecodeFromData:imageData]) { + self.progressiveCoder = [[[coder class] alloc] init]; + break; } } -#endif - - if (partialImageRef) { - UIImage *image = [UIImage imageWithCGImage:partialImageRef scale:1 orientation:orientation]; - NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL]; - UIImage *scaledImage = [self scaledImageForKey:key image:image]; - if (self.shouldDecompressImages) { - image = [UIImage decodedImageWithImage:scaledImage]; - } - else { - image = scaledImage; - } - CGImageRelease(partialImageRef); - dispatch_main_sync_safe(^{ - if (self.completedBlock) { - self.completedBlock(image, nil, nil, NO); - } - }); + } + + UIImage *image = [self.progressiveCoder incrementallyDecodedImageWithData:imageData finished:finished]; + if (image) { + NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL]; + image = [self scaledImageForKey:key image:image]; + if (self.shouldDecompressImages) { + image = [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&data options:@{SDWebImageCoderScaleDownLargeImagesKey: @(NO)}]; } + + [self callCompletionBlocksWithImage:image imageData:nil error:nil finished:NO]; } - - CFRelease(imageSource); } - if (self.progressBlock) { - self.progressBlock(self.imageData.length, self.expectedSize); + for (SDWebImageDownloaderProgressBlock progressBlock in [self callbacksForKey:kProgressCallbackKey]) { + progressBlock(self.imageData.length, self.expectedSize, self.request.URL); } } -+ (UIImageOrientation)orientationFromPropertyValue:(NSInteger)value { - switch (value) { - case 1: - return UIImageOrientationUp; - case 3: - return UIImageOrientationDown; - case 8: - return UIImageOrientationLeft; - case 6: - return UIImageOrientationRight; - case 2: - return UIImageOrientationUpMirrored; - case 4: - return UIImageOrientationDownMirrored; - case 5: - return UIImageOrientationLeftMirrored; - case 7: - return UIImageOrientationRightMirrored; - default: - return UIImageOrientationUp; +- (void)URLSession:(NSURLSession *)session + dataTask:(NSURLSessionDataTask *)dataTask + willCacheResponse:(NSCachedURLResponse *)proposedResponse + completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler { + + NSCachedURLResponse *cachedResponse = proposedResponse; + + if (self.request.cachePolicy == NSURLRequestReloadIgnoringLocalCacheData) { + // Prevents caching of responses + cachedResponse = nil; + } + if (completionHandler) { + completionHandler(cachedResponse); } } -- (UIImage *)scaledImageForKey:(NSString *)key image:(UIImage *)image { - return SDScaledImageForKey(key, image); -} +#pragma mark NSURLSessionTaskDelegate -- (void)connectionDidFinishLoading:(NSURLConnection *)aConnection { - SDWebImageDownloaderCompletedBlock completionBlock = self.completedBlock; +- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error { @synchronized(self) { - CFRunLoopStop(CFRunLoopGetCurrent()); - self.thread = nil; - self.connection = nil; + self.dataTask = nil; + __weak typeof(self) weakSelf = self; dispatch_async(dispatch_get_main_queue(), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadFinishNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:weakSelf]; + if (!error) { + [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadFinishNotification object:weakSelf]; + } }); } - if (![[NSURLCache sharedURLCache] cachedResponseForRequest:_request]) { - responseFromCached = NO; - } - - if (completionBlock) { - if (self.options & SDWebImageDownloaderIgnoreCachedResponse && responseFromCached) { - completionBlock(nil, nil, nil, YES); - } else if (self.imageData) { - UIImage *image = [UIImage sd_imageWithData:self.imageData]; - NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL]; - image = [self scaledImageForKey:key image:image]; - - // Do not force decoding animated GIFs - if (!image.images) { - if (self.shouldDecompressImages) { - image = [UIImage decodedImageWithImage:image]; + if (error) { + [self callCompletionBlocksWithError:error]; + } else { + if ([self callbacksForKey:kCompletedCallbackKey].count > 0) { + /** + * If you specified to use `NSURLCache`, then the response you get here is what you need. + */ + NSData *imageData = [self.imageData copy]; + if (imageData) { + /** if you specified to only use cached data via `SDWebImageDownloaderIgnoreCachedResponse`, + * then we should check if the cached data is equal to image data + */ + if (self.options & SDWebImageDownloaderIgnoreCachedResponse && [self.cachedData isEqualToData:imageData]) { + // call completion block with nil + [self callCompletionBlocksWithImage:nil imageData:nil error:nil finished:YES]; + } else { + UIImage *image = [[SDWebImageCodersManager sharedInstance] decodedImageWithData:imageData]; + NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:self.request.URL]; + image = [self scaledImageForKey:key image:image]; + + BOOL shouldDecode = YES; + // Do not force decoding animated GIFs and WebPs + if (image.images) { + shouldDecode = NO; + } else { +#ifdef SD_WEBP + SDImageFormat imageFormat = [NSData sd_imageFormatForImageData:imageData]; + if (imageFormat == SDImageFormatWebP) { + shouldDecode = NO; + } +#endif + } + + if (shouldDecode) { + if (self.shouldDecompressImages) { + BOOL shouldScaleDown = self.options & SDWebImageDownloaderScaleDownLargeImages; + image = [[SDWebImageCodersManager sharedInstance] decompressedImageWithImage:image data:&imageData options:@{SDWebImageCoderScaleDownLargeImagesKey: @(shouldScaleDown)}]; + } + } + if (CGSizeEqualToSize(image.size, CGSizeZero)) { + [self callCompletionBlocksWithError:[NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Downloaded image has 0 pixels"}]]; + } else { + [self callCompletionBlocksWithImage:image imageData:imageData error:nil finished:YES]; + } } + } else { + [self callCompletionBlocksWithError:[NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Image data is nil"}]]; } - if (CGSizeEqualToSize(image.size, CGSizeZero)) { - completionBlock(nil, nil, [NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Downloaded image has 0 pixels"}], YES); - } - else { - completionBlock(image, self.imageData, nil, YES); - } - } else { - completionBlock(nil, nil, [NSError errorWithDomain:SDWebImageErrorDomain code:0 userInfo:@{NSLocalizedDescriptionKey : @"Image data is nil"}], YES); } } - self.completionBlock = nil; [self done]; } -- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error { - @synchronized(self) { - CFRunLoopStop(CFRunLoopGetCurrent()); - self.thread = nil; - self.connection = nil; - dispatch_async(dispatch_get_main_queue(), ^{ - [[NSNotificationCenter defaultCenter] postNotificationName:SDWebImageDownloadStopNotification object:self]; - }); +- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler { + + NSURLSessionAuthChallengeDisposition disposition = NSURLSessionAuthChallengePerformDefaultHandling; + __block NSURLCredential *credential = nil; + + if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) { + if (!(self.options & SDWebImageDownloaderAllowInvalidSSLCertificates)) { + disposition = NSURLSessionAuthChallengePerformDefaultHandling; + } else { + credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust]; + disposition = NSURLSessionAuthChallengeUseCredential; + } + } else { + if (challenge.previousFailureCount == 0) { + if (self.credential) { + credential = self.credential; + disposition = NSURLSessionAuthChallengeUseCredential; + } else { + disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge; + } + } else { + disposition = NSURLSessionAuthChallengeCancelAuthenticationChallenge; + } } - - if (self.completedBlock) { - self.completedBlock(nil, nil, error, YES); + + if (completionHandler) { + completionHandler(disposition, credential); } - self.completionBlock = nil; - [self done]; } -- (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse { - responseFromCached = NO; // If this method is called, it means the response wasn't read from cache - if (self.request.cachePolicy == NSURLRequestReloadIgnoringLocalCacheData) { - // Prevents caching of responses - return nil; - } - else { - return cachedResponse; - } +#pragma mark Helper methods +- (nullable UIImage *)scaledImageForKey:(nullable NSString *)key image:(nullable UIImage *)image { + return SDScaledImageForKey(key, image); } - (BOOL)shouldContinueWhenAppEntersBackground { return self.options & SDWebImageDownloaderContinueInBackground; } -- (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection __unused *)connection { - return self.shouldUseCredentialStorage; +- (void)callCompletionBlocksWithError:(nullable NSError *)error { + [self callCompletionBlocksWithImage:nil imageData:nil error:error finished:YES]; } -- (void)connection:(NSURLConnection *)connection willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge{ - if ([challenge.protectionSpace.authenticationMethod isEqualToString:NSURLAuthenticationMethodServerTrust]) { - if (!(self.options & SDWebImageDownloaderAllowInvalidSSLCertificates) && - [challenge.sender respondsToSelector:@selector(performDefaultHandlingForAuthenticationChallenge:)]) { - [challenge.sender performDefaultHandlingForAuthenticationChallenge:challenge]; - } else { - NSURLCredential *credential = [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust]; - [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge]; +- (void)callCompletionBlocksWithImage:(nullable UIImage *)image + imageData:(nullable NSData *)imageData + error:(nullable NSError *)error + finished:(BOOL)finished { + NSArray *completionBlocks = [self callbacksForKey:kCompletedCallbackKey]; + dispatch_main_async_safe(^{ + for (SDWebImageDownloaderCompletedBlock completedBlock in completionBlocks) { + completedBlock(image, imageData, error, finished); } - } else { - if ([challenge previousFailureCount] == 0) { - if (self.credential) { - [[challenge sender] useCredential:self.credential forAuthenticationChallenge:challenge]; - } else { - [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge]; - } - } else { - [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge]; - } - } + }); } @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.h b/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.h index 18e578a3a..ba8b75556 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.h +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.h @@ -64,9 +64,8 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageOptions) { SDWebImageAllowInvalidSSLCertificates = 1 << 7, /** - * By default, image are loaded in the order they were queued. This flag move them to - * the front of the queue and is loaded immediately instead of waiting for the current queue to be loaded (which - * could take a while). + * By default, images are loaded in the order in which they were queued. This flag moves them to + * the front of the queue. */ SDWebImageHighPriority = 1 << 8, @@ -88,14 +87,21 @@ typedef NS_OPTIONS(NSUInteger, SDWebImageOptions) { * have the hand before setting the image (apply a filter or add it with cross-fade animation for instance) * Use this flag if you want to manually set the image in the completion when success */ - SDWebImageAvoidAutoSetImage = 1 << 11 + SDWebImageAvoidAutoSetImage = 1 << 11, + + /** + * By default, images are decoded respecting their original size. On iOS, this flag will scale down the + * images to a size compatible with the constrained memory of devices. + * If `SDWebImageProgressiveDownload` flag is set the scale down is deactivated. + */ + SDWebImageScaleDownLargeImages = 1 << 12 }; -typedef void(^SDWebImageCompletionBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL); +typedef void(^SDExternalCompletionBlock)(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL); -typedef void(^SDWebImageCompletionWithFinishedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL); +typedef void(^SDInternalCompletionBlock)(UIImage * _Nullable image, NSData * _Nullable data, NSError * _Nullable error, SDImageCacheType cacheType, BOOL finished, NSURL * _Nullable imageURL); -typedef NSString *(^SDWebImageCacheKeyFilterBlock)(NSURL *url); +typedef NSString * _Nullable (^SDWebImageCacheKeyFilterBlock)(NSURL * _Nullable url); @class SDWebImageManager; @@ -112,7 +118,7 @@ typedef NSString *(^SDWebImageCacheKeyFilterBlock)(NSURL *url); * * @return Return NO to prevent the downloading of the image on cache misses. If not implemented, YES is implied. */ -- (BOOL)imageManager:(SDWebImageManager *)imageManager shouldDownloadImageForURL:(NSURL *)imageURL; +- (BOOL)imageManager:(nonnull SDWebImageManager *)imageManager shouldDownloadImageForURL:(nullable NSURL *)imageURL; /** * Allows to transform the image immediately after it has been downloaded and just before to cache it on disk and memory. @@ -124,7 +130,7 @@ typedef NSString *(^SDWebImageCacheKeyFilterBlock)(NSURL *url); * * @return The transformed image object. */ -- (UIImage *)imageManager:(SDWebImageManager *)imageManager transformDownloadedImage:(UIImage *)image withURL:(NSURL *)imageURL; +- (nullable UIImage *)imageManager:(nonnull SDWebImageManager *)imageManager transformDownloadedImage:(nullable UIImage *)image withURL:(nullable NSURL *)imageURL; @end @@ -139,23 +145,23 @@ typedef NSString *(^SDWebImageCacheKeyFilterBlock)(NSURL *url); * @code SDWebImageManager *manager = [SDWebImageManager sharedManager]; -[manager downloadImageWithURL:imageURL - options:0 - progress:nil - completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - if (image) { - // do something with image - } - }]; +[manager loadImageWithURL:imageURL + options:0 + progress:nil + completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { + if (image) { + // do something with image + } + }]; * @endcode */ @interface SDWebImageManager : NSObject -@property (weak, nonatomic) id delegate; +@property (weak, nonatomic, nullable) id delegate; -@property (strong, nonatomic, readonly) SDImageCache *imageCache; -@property (strong, nonatomic, readonly) SDWebImageDownloader *imageDownloader; +@property (strong, nonatomic, readonly, nullable) SDImageCache *imageCache; +@property (strong, nonatomic, readonly, nullable) SDWebImageDownloader *imageDownloader; /** * The cache filter is a block used each time SDWebImageManager need to convert an URL into a cache key. This can @@ -173,14 +179,20 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; * @endcode */ -@property (nonatomic, copy) SDWebImageCacheKeyFilterBlock cacheKeyFilter; +@property (nonatomic, copy, nullable) SDWebImageCacheKeyFilterBlock cacheKeyFilter; /** * Returns global SDWebImageManager instance. * * @return SDWebImageManager shared instance */ -+ (SDWebImageManager *)sharedManager; ++ (nonnull instancetype)sharedManager; + +/** + * Allows to specify instance of cache and image downloader used with image manager. + * @return new instance of `SDWebImageManager` with specified cache and downloader. + */ +- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader NS_DESIGNATED_INITIALIZER; /** * Downloads the image at the given URL if not present in cache or return the cached version otherwise. @@ -188,26 +200,29 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; * @param url The URL to the image * @param options A mask to specify options to use for this request * @param progressBlock A block called while image is downloading + * @note the progress block is executed on a background queue * @param completedBlock A block called when operation has been completed. * * This parameter is required. * - * This block has no return value and takes the requested UIImage as first parameter. - * In case of error the image parameter is nil and the second parameter may contain an NSError. + * This block has no return value and takes the requested UIImage as first parameter and the NSData representation as second parameter. + * In case of error the image parameter is nil and the third parameter may contain an NSError. * - * The third parameter is an `SDImageCacheType` enum indicating if the image was retrieved from the local cache + * The forth parameter is an `SDImageCacheType` enum indicating if the image was retrieved from the local cache * or from the memory cache or from the network. * - * The last parameter is set to NO when the SDWebImageProgressiveDownload option is used and the image is + * The fith parameter is set to NO when the SDWebImageProgressiveDownload option is used and the image is * downloading. This block is thus called repeatedly with a partial image. When image is fully downloaded, the * block is called a last time with the full image and the last parameter set to YES. * + * The last parameter is the original image URL + * * @return Returns an NSObject conforming to SDWebImageOperation. Should be an instance of SDWebImageDownloaderOperation */ -- (id )downloadImageWithURL:(NSURL *)url - options:(SDWebImageOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageCompletionWithFinishedBlock)completedBlock; +- (nullable id )loadImageWithURL:(nullable NSURL *)url + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDInternalCompletionBlock)completedBlock; /** * Saves image to cache for given URL @@ -217,7 +232,7 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; * */ -- (void)saveImageToCache:(UIImage *)image forURL:(NSURL *)url; +- (void)saveImageToCache:(nullable UIImage *)image forURL:(nullable NSURL *)url; /** * Cancel all current operations @@ -229,24 +244,6 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; */ - (BOOL)isRunning; -/** - * Check if image has already been cached - * - * @param url image url - * - * @return if the image was already cached - */ -- (BOOL)cachedImageExistsForURL:(NSURL *)url; - -/** - * Check if image has already been cached on disk only - * - * @param url image url - * - * @return if the image was already cached (disk only) - */ -- (BOOL)diskImageExistsForURL:(NSURL *)url; - /** * Async check if image has already been cached * @@ -255,8 +252,8 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; * * @note the completion block is always executed on the main queue */ -- (void)cachedImageExistsForURL:(NSURL *)url - completion:(SDWebImageCheckCacheCompletionBlock)completionBlock; +- (void)cachedImageExistsForURL:(nullable NSURL *)url + completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock; /** * Async check if image has already been cached on disk only @@ -266,34 +263,13 @@ SDWebImageManager *manager = [SDWebImageManager sharedManager]; * * @note the completion block is always executed on the main queue */ -- (void)diskImageExistsForURL:(NSURL *)url - completion:(SDWebImageCheckCacheCompletionBlock)completionBlock; +- (void)diskImageExistsForURL:(nullable NSURL *)url + completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock; /** *Return the cache key for a given URL */ -- (NSString *)cacheKeyForURL:(NSURL *)url; - -@end - - -#pragma mark - Deprecated - -typedef void(^SDWebImageCompletedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType) __deprecated_msg("Block type deprecated. Use `SDWebImageCompletionBlock`"); -typedef void(^SDWebImageCompletedWithFinishedBlock)(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished) __deprecated_msg("Block type deprecated. Use `SDWebImageCompletionWithFinishedBlock`"); - - -@interface SDWebImageManager (Deprecated) - -/** - * Downloads the image at the given URL if not present in cache or return the cached version otherwise. - * - * @deprecated This method has been deprecated. Use `downloadImageWithURL:options:progress:completed:` - */ -- (id )downloadWithURL:(NSURL *)url - options:(SDWebImageOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageCompletedWithFinishedBlock)completedBlock __deprecated_msg("Method deprecated. Use `downloadImageWithURL:options:progress:completed:`"); +- (nullable NSString *)cacheKeyForURL:(nullable NSURL *)url; @end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.m b/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.m index c804ee9af..df9b84116 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.m +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImageManager.m @@ -7,28 +7,29 @@ */ #import "SDWebImageManager.h" +#import "NSImage+WebCache.h" #import @interface SDWebImageCombinedOperation : NSObject @property (assign, nonatomic, getter = isCancelled) BOOL cancelled; -@property (copy, nonatomic) SDWebImageNoParamsBlock cancelBlock; -@property (strong, nonatomic) NSOperation *cacheOperation; +@property (copy, nonatomic, nullable) SDWebImageNoParamsBlock cancelBlock; +@property (strong, nonatomic, nullable) NSOperation *cacheOperation; @end @interface SDWebImageManager () -@property (strong, nonatomic, readwrite) SDImageCache *imageCache; -@property (strong, nonatomic, readwrite) SDWebImageDownloader *imageDownloader; -@property (strong, nonatomic) NSMutableSet *failedURLs; -@property (strong, nonatomic) NSMutableArray *runningOperations; +@property (strong, nonatomic, readwrite, nonnull) SDImageCache *imageCache; +@property (strong, nonatomic, readwrite, nonnull) SDWebImageDownloader *imageDownloader; +@property (strong, nonatomic, nonnull) NSMutableSet *failedURLs; +@property (strong, nonatomic, nonnull) NSMutableArray *runningOperations; @end @implementation SDWebImageManager -+ (id)sharedManager { ++ (nonnull instancetype)sharedManager { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ @@ -37,42 +38,36 @@ + (id)sharedManager { return instance; } -- (id)init { +- (nonnull instancetype)init { + SDImageCache *cache = [SDImageCache sharedImageCache]; + SDWebImageDownloader *downloader = [SDWebImageDownloader sharedDownloader]; + return [self initWithCache:cache downloader:downloader]; +} + +- (nonnull instancetype)initWithCache:(nonnull SDImageCache *)cache downloader:(nonnull SDWebImageDownloader *)downloader { if ((self = [super init])) { - _imageCache = [self createCache]; - _imageDownloader = [SDWebImageDownloader sharedDownloader]; + _imageCache = cache; + _imageDownloader = downloader; _failedURLs = [NSMutableSet new]; _runningOperations = [NSMutableArray new]; } return self; } -- (SDImageCache *)createCache { - return [SDImageCache sharedImageCache]; -} +- (nullable NSString *)cacheKeyForURL:(nullable NSURL *)url { + if (!url) { + return @""; + } -- (NSString *)cacheKeyForURL:(NSURL *)url { if (self.cacheKeyFilter) { return self.cacheKeyFilter(url); + } else { + return url.absoluteString; } - else { - return [url absoluteString]; - } -} - -- (BOOL)cachedImageExistsForURL:(NSURL *)url { - NSString *key = [self cacheKeyForURL:url]; - if ([self.imageCache imageFromMemoryCacheForKey:key] != nil) return YES; - return [self.imageCache diskImageExistsWithKey:key]; } -- (BOOL)diskImageExistsForURL:(NSURL *)url { - NSString *key = [self cacheKeyForURL:url]; - return [self.imageCache diskImageExistsWithKey:key]; -} - -- (void)cachedImageExistsForURL:(NSURL *)url - completion:(SDWebImageCheckCacheCompletionBlock)completionBlock { +- (void)cachedImageExistsForURL:(nullable NSURL *)url + completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock { NSString *key = [self cacheKeyForURL:url]; BOOL isInMemoryCache = ([self.imageCache imageFromMemoryCacheForKey:key] != nil); @@ -95,8 +90,8 @@ - (void)cachedImageExistsForURL:(NSURL *)url }]; } -- (void)diskImageExistsForURL:(NSURL *)url - completion:(SDWebImageCheckCacheCompletionBlock)completionBlock { +- (void)diskImageExistsForURL:(nullable NSURL *)url + completion:(nullable SDWebImageCheckCacheCompletionBlock)completionBlock { NSString *key = [self cacheKeyForURL:url]; [self.imageCache diskImageExistsWithKey:key completion:^(BOOL isInDiskCache) { @@ -107,14 +102,14 @@ - (void)diskImageExistsForURL:(NSURL *)url }]; } -- (id )downloadImageWithURL:(NSURL *)url - options:(SDWebImageOptions)options - progress:(SDWebImageDownloaderProgressBlock)progressBlock - completed:(SDWebImageCompletionWithFinishedBlock)completedBlock { +- (id )loadImageWithURL:(nullable NSURL *)url + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDInternalCompletionBlock)completedBlock { // Invoking this method without a completedBlock is pointless NSAssert(completedBlock != nil, @"If you mean to prefetch the image, use -[SDWebImagePrefetcher prefetchURLs] instead"); - // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, XCode won't + // Very common mistake is to send the URL using NSString object instead of NSURL. For some strange reason, Xcode won't // throw any warning for this type mismatch. Here we failsafe this error by allowing URLs to be passed as NSString. if ([url isKindOfClass:NSString.class]) { url = [NSURL URLWithString:(NSString *)url]; @@ -129,15 +124,14 @@ - (void)diskImageExistsForURL:(NSURL *)url __weak SDWebImageCombinedOperation *weakOperation = operation; BOOL isFailedUrl = NO; - @synchronized (self.failedURLs) { - isFailedUrl = [self.failedURLs containsObject:url]; + if (url) { + @synchronized (self.failedURLs) { + isFailedUrl = [self.failedURLs containsObject:url]; + } } if (url.absoluteString.length == 0 || (!(options & SDWebImageRetryFailed) && isFailedUrl)) { - dispatch_main_sync_safe(^{ - NSError *error = [NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorFileDoesNotExist userInfo:nil]; - completedBlock(nil, error, SDImageCacheTypeNone, YES, url); - }); + [self callCompletionBlockForOperation:operation completion:completedBlock error:[NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorFileDoesNotExist userInfo:nil] url:url]; return operation; } @@ -146,22 +140,17 @@ - (void)diskImageExistsForURL:(NSURL *)url } NSString *key = [self cacheKeyForURL:url]; - operation.cacheOperation = [self.imageCache queryDiskCacheForKey:key done:^(UIImage *image, SDImageCacheType cacheType) { + operation.cacheOperation = [self.imageCache queryCacheOperationForKey:key done:^(UIImage *cachedImage, NSData *cachedData, SDImageCacheType cacheType) { if (operation.isCancelled) { - @synchronized (self.runningOperations) { - [self.runningOperations removeObject:operation]; - } - + [self safelyRemoveOperationFromRunning:operation]; return; } - if ((!image || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) { - if (image && options & SDWebImageRefreshCached) { - dispatch_main_sync_safe(^{ - // If image was found in the cache but SDWebImageRefreshCached is provided, notify about the cached image - // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server. - completedBlock(image, nil, cacheType, YES, url); - }); + if ((!cachedImage || options & SDWebImageRefreshCached) && (![self.delegate respondsToSelector:@selector(imageManager:shouldDownloadImageForURL:)] || [self.delegate imageManager:self shouldDownloadImageForURL:url])) { + if (cachedImage && options & SDWebImageRefreshCached) { + // If image was found in the cache but SDWebImageRefreshCached is provided, notify about the cached image + // AND try to re-download it in order to let a chance to NSURLCache to refresh it from server. + [self callCompletionBlockForOperation:weakOperation completion:completedBlock image:cachedImage data:cachedData error:nil cacheType:cacheType finished:YES url:url]; } // download if no image or requested to refresh anyway, and download allowed by delegate @@ -173,25 +162,23 @@ - (void)diskImageExistsForURL:(NSURL *)url if (options & SDWebImageHandleCookies) downloaderOptions |= SDWebImageDownloaderHandleCookies; if (options & SDWebImageAllowInvalidSSLCertificates) downloaderOptions |= SDWebImageDownloaderAllowInvalidSSLCertificates; if (options & SDWebImageHighPriority) downloaderOptions |= SDWebImageDownloaderHighPriority; - if (image && options & SDWebImageRefreshCached) { + if (options & SDWebImageScaleDownLargeImages) downloaderOptions |= SDWebImageDownloaderScaleDownLargeImages; + + if (cachedImage && options & SDWebImageRefreshCached) { // force progressive off if image already cached but forced refreshing downloaderOptions &= ~SDWebImageDownloaderProgressiveDownload; // ignore image read from NSURLCache if image if cached but force refreshing downloaderOptions |= SDWebImageDownloaderIgnoreCachedResponse; } - id subOperation = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *data, NSError *error, BOOL finished) { + + SDWebImageDownloadToken *subOperationToken = [self.imageDownloader downloadImageWithURL:url options:downloaderOptions progress:progressBlock completed:^(UIImage *downloadedImage, NSData *downloadedData, NSError *error, BOOL finished) { __strong __typeof(weakOperation) strongOperation = weakOperation; if (!strongOperation || strongOperation.isCancelled) { // Do nothing if the operation was cancelled // See #699 for more details // if we would call the completedBlock, there could be a race condition between this block and another completedBlock for the same object, so if this one is called second, we will overwrite the new data - } - else if (error) { - dispatch_main_sync_safe(^{ - if (strongOperation && !strongOperation.isCancelled) { - completedBlock(nil, error, SDImageCacheTypeNone, finished, url); - } - }); + } else if (error) { + [self callCompletionBlockForOperation:strongOperation completion:completedBlock error:error url:url]; if ( error.code != NSURLErrorNotConnectedToInternet && error.code != NSURLErrorCancelled @@ -199,7 +186,8 @@ - (void)diskImageExistsForURL:(NSURL *)url && error.code != NSURLErrorInternationalRoamingOff && error.code != NSURLErrorDataNotAllowed && error.code != NSURLErrorCannotFindHost - && error.code != NSURLErrorCannotConnectToHost) { + && error.code != NSURLErrorCannotConnectToHost + && error.code != NSURLErrorNetworkConnectionLost) { @synchronized (self.failedURLs) { [self.failedURLs addObject:url]; } @@ -214,95 +202,65 @@ - (void)diskImageExistsForURL:(NSURL *)url BOOL cacheOnDisk = !(options & SDWebImageCacheMemoryOnly); - if (options & SDWebImageRefreshCached && image && !downloadedImage) { + if (options & SDWebImageRefreshCached && cachedImage && !downloadedImage) { // Image refresh hit the NSURLCache cache, do not call the completion block - } - else if (downloadedImage && (!downloadedImage.images || (options & SDWebImageTransformAnimatedImage)) && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) { + } else if (downloadedImage && (!downloadedImage.images || (options & SDWebImageTransformAnimatedImage)) && [self.delegate respondsToSelector:@selector(imageManager:transformDownloadedImage:withURL:)]) { dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ UIImage *transformedImage = [self.delegate imageManager:self transformDownloadedImage:downloadedImage withURL:url]; if (transformedImage && finished) { BOOL imageWasTransformed = ![transformedImage isEqual:downloadedImage]; - [self.imageCache storeImage:transformedImage recalculateFromImage:imageWasTransformed imageData:(imageWasTransformed ? nil : data) forKey:key toDisk:cacheOnDisk]; + // pass nil if the image was transformed, so we can recalculate the data from the image + [self.imageCache storeImage:transformedImage imageData:(imageWasTransformed ? nil : downloadedData) forKey:key toDisk:cacheOnDisk completion:nil]; } - - dispatch_main_sync_safe(^{ - if (strongOperation && !strongOperation.isCancelled) { - completedBlock(transformedImage, nil, SDImageCacheTypeNone, finished, url); - } - }); + + [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:transformedImage data:downloadedData error:nil cacheType:SDImageCacheTypeNone finished:finished url:url]; }); - } - else { + } else { if (downloadedImage && finished) { - [self.imageCache storeImage:downloadedImage recalculateFromImage:NO imageData:data forKey:key toDisk:cacheOnDisk]; + [self.imageCache storeImage:downloadedImage imageData:downloadedData forKey:key toDisk:cacheOnDisk completion:nil]; } - - dispatch_main_sync_safe(^{ - if (strongOperation && !strongOperation.isCancelled) { - completedBlock(downloadedImage, nil, SDImageCacheTypeNone, finished, url); - } - }); + [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:downloadedImage data:downloadedData error:nil cacheType:SDImageCacheTypeNone finished:finished url:url]; } } if (finished) { - @synchronized (self.runningOperations) { - if (strongOperation) { - [self.runningOperations removeObject:strongOperation]; - } - } + [self safelyRemoveOperationFromRunning:strongOperation]; } }]; - operation.cancelBlock = ^{ - [subOperation cancel]; - - @synchronized (self.runningOperations) { + @synchronized(operation) { + // Need same lock to ensure cancelBlock called because cancel method can be called in different queue + operation.cancelBlock = ^{ + [self.imageDownloader cancel:subOperationToken]; __strong __typeof(weakOperation) strongOperation = weakOperation; - if (strongOperation) { - [self.runningOperations removeObject:strongOperation]; - } - } - }; - } - else if (image) { - dispatch_main_sync_safe(^{ - __strong __typeof(weakOperation) strongOperation = weakOperation; - if (strongOperation && !strongOperation.isCancelled) { - completedBlock(image, nil, cacheType, YES, url); - } - }); - @synchronized (self.runningOperations) { - [self.runningOperations removeObject:operation]; + [self safelyRemoveOperationFromRunning:strongOperation]; + }; } - } - else { + } else if (cachedImage) { + __strong __typeof(weakOperation) strongOperation = weakOperation; + [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:cachedImage data:cachedData error:nil cacheType:cacheType finished:YES url:url]; + [self safelyRemoveOperationFromRunning:operation]; + } else { // Image not in cache and download disallowed by delegate - dispatch_main_sync_safe(^{ - __strong __typeof(weakOperation) strongOperation = weakOperation; - if (strongOperation && !weakOperation.isCancelled) { - completedBlock(nil, nil, SDImageCacheTypeNone, YES, url); - } - }); - @synchronized (self.runningOperations) { - [self.runningOperations removeObject:operation]; - } + __strong __typeof(weakOperation) strongOperation = weakOperation; + [self callCompletionBlockForOperation:strongOperation completion:completedBlock image:nil data:nil error:nil cacheType:SDImageCacheTypeNone finished:YES url:url]; + [self safelyRemoveOperationFromRunning:operation]; } }]; return operation; } -- (void)saveImageToCache:(UIImage *)image forURL:(NSURL *)url { +- (void)saveImageToCache:(nullable UIImage *)image forURL:(nullable NSURL *)url { if (image && url) { NSString *key = [self cacheKeyForURL:url]; - [self.imageCache storeImage:image forKey:key toDisk:YES]; + [self.imageCache storeImage:image forKey:key toDisk:YES completion:nil]; } } - (void)cancelAll { @synchronized (self.runningOperations) { - NSArray *copiedOperations = [self.runningOperations copy]; + NSArray *copiedOperations = [self.runningOperations copy]; [copiedOperations makeObjectsPerformSelector:@selector(cancel)]; [self.runningOperations removeObjectsInArray:copiedOperations]; } @@ -310,18 +268,48 @@ - (void)cancelAll { - (BOOL)isRunning { BOOL isRunning = NO; - @synchronized(self.runningOperations) { + @synchronized (self.runningOperations) { isRunning = (self.runningOperations.count > 0); } return isRunning; } +- (void)safelyRemoveOperationFromRunning:(nullable SDWebImageCombinedOperation*)operation { + @synchronized (self.runningOperations) { + if (operation) { + [self.runningOperations removeObject:operation]; + } + } +} + +- (void)callCompletionBlockForOperation:(nullable SDWebImageCombinedOperation*)operation + completion:(nullable SDInternalCompletionBlock)completionBlock + error:(nullable NSError *)error + url:(nullable NSURL *)url { + [self callCompletionBlockForOperation:operation completion:completionBlock image:nil data:nil error:error cacheType:SDImageCacheTypeNone finished:YES url:url]; +} + +- (void)callCompletionBlockForOperation:(nullable SDWebImageCombinedOperation*)operation + completion:(nullable SDInternalCompletionBlock)completionBlock + image:(nullable UIImage *)image + data:(nullable NSData *)data + error:(nullable NSError *)error + cacheType:(SDImageCacheType)cacheType + finished:(BOOL)finished + url:(nullable NSURL *)url { + dispatch_main_async_safe(^{ + if (operation && !operation.isCancelled && completionBlock) { + completionBlock(image, data, error, cacheType, finished, url); + } + }); +} + @end @implementation SDWebImageCombinedOperation -- (void)setCancelBlock:(SDWebImageNoParamsBlock)cancelBlock { +- (void)setCancelBlock:(nullable SDWebImageNoParamsBlock)cancelBlock { // check if the operation is already cancelled, then we just call the cancelBlock if (self.isCancelled) { if (cancelBlock) { @@ -334,37 +322,17 @@ - (void)setCancelBlock:(SDWebImageNoParamsBlock)cancelBlock { } - (void)cancel { - self.cancelled = YES; - if (self.cacheOperation) { - [self.cacheOperation cancel]; - self.cacheOperation = nil; - } - if (self.cancelBlock) { - self.cancelBlock(); - - // TODO: this is a temporary fix to #809. - // Until we can figure the exact cause of the crash, going with the ivar instead of the setter -// self.cancelBlock = nil; - _cancelBlock = nil; + @synchronized(self) { + self.cancelled = YES; + if (self.cacheOperation) { + [self.cacheOperation cancel]; + self.cacheOperation = nil; + } + if (self.cancelBlock) { + self.cancelBlock(); + self.cancelBlock = nil; + } } } @end - - -@implementation SDWebImageManager (Deprecated) - -// deprecated method, uses the non deprecated method -// adapter for the completion block -- (id )downloadWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedWithFinishedBlock)completedBlock { - return [self downloadImageWithURL:url - options:options - progress:progressBlock - completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType, finished); - } - }]; -} - -@end diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h b/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h index 6c31b15ff..c299de17c 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.h @@ -23,7 +23,7 @@ * @param finishedCount The total number of images that were prefetched (successful or not) * @param totalCount The total number of images that were to be prefetched */ -- (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount; +- (void)imagePrefetcher:(nonnull SDWebImagePrefetcher *)imagePrefetcher didPrefetchURL:(nullable NSURL *)imageURL finishedCount:(NSUInteger)finishedCount totalCount:(NSUInteger)totalCount; /** * Called when all images are prefetched. @@ -31,7 +31,7 @@ * @param totalCount The total number of images that were prefetched (whether successful or not) * @param skippedCount The total number of images that were skipped */ -- (void)imagePrefetcher:(SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount; +- (void)imagePrefetcher:(nonnull SDWebImagePrefetcher *)imagePrefetcher didFinishWithTotalCount:(NSUInteger)totalCount skippedCount:(NSUInteger)skippedCount; @end @@ -46,7 +46,7 @@ typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, /** * The web image manager */ -@property (strong, nonatomic, readonly) SDWebImageManager *manager; +@property (strong, nonatomic, readonly, nonnull) SDWebImageManager *manager; /** * Maximum number of URLs to prefetch at the same time. Defaults to 3. @@ -61,33 +61,35 @@ typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, /** * Queue options for Prefetcher. Defaults to Main Queue. */ -@property (nonatomic, assign) dispatch_queue_t prefetcherQueue; +@property (SDDispatchQueueSetterSementics, nonatomic, nonnull) dispatch_queue_t prefetcherQueue; -@property (weak, nonatomic) id delegate; +@property (weak, nonatomic, nullable) id delegate; /** * Return the global image prefetcher instance. */ -+ (SDWebImagePrefetcher *)sharedImagePrefetcher; ++ (nonnull instancetype)sharedImagePrefetcher; /** * Allows you to instantiate a prefetcher with any arbitrary image manager. */ -- (id)initWithImageManager:(SDWebImageManager *)manager; +- (nonnull instancetype)initWithImageManager:(nonnull SDWebImageManager *)manager NS_DESIGNATED_INITIALIZER; /** * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, * currently one image is downloaded at a time, - * and skips images for failed downloads and proceed to the next image in the list + * and skips images for failed downloads and proceed to the next image in the list. + * Any previously-running prefetch operations are canceled. * * @param urls list of URLs to prefetch */ -- (void)prefetchURLs:(NSArray *)urls; +- (void)prefetchURLs:(nullable NSArray *)urls; /** * Assign list of URLs to let SDWebImagePrefetcher to queue the prefetching, * currently one image is downloaded at a time, - * and skips images for failed downloads and proceed to the next image in the list + * and skips images for failed downloads and proceed to the next image in the list. + * Any previously-running prefetch operations are canceled. * * @param urls list of URLs to prefetch * @param progressBlock block to be called when progress updates; @@ -97,7 +99,9 @@ typedef void(^SDWebImagePrefetcherCompletionBlock)(NSUInteger noOfFinishedUrls, * first param is the number of completed (successful or not) requests, * second parameter is the number of skipped requests */ -- (void)prefetchURLs:(NSArray *)urls progress:(SDWebImagePrefetcherProgressBlock)progressBlock completed:(SDWebImagePrefetcherCompletionBlock)completionBlock; +- (void)prefetchURLs:(nullable NSArray *)urls + progress:(nullable SDWebImagePrefetcherProgressBlock)progressBlock + completed:(nullable SDWebImagePrefetcherCompletionBlock)completionBlock; /** * Remove and cancel queued list diff --git a/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m b/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m index f518d4413..b66357f1d 100644 --- a/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m +++ b/Example/Pods/SDWebImage/SDWebImage/SDWebImagePrefetcher.m @@ -10,20 +10,20 @@ @interface SDWebImagePrefetcher () -@property (strong, nonatomic) SDWebImageManager *manager; -@property (strong, nonatomic) NSArray *prefetchURLs; +@property (strong, nonatomic, nonnull) SDWebImageManager *manager; +@property (strong, nonatomic, nullable) NSArray *prefetchURLs; @property (assign, nonatomic) NSUInteger requestedCount; @property (assign, nonatomic) NSUInteger skippedCount; @property (assign, nonatomic) NSUInteger finishedCount; @property (assign, nonatomic) NSTimeInterval startedTime; -@property (copy, nonatomic) SDWebImagePrefetcherCompletionBlock completionBlock; -@property (copy, nonatomic) SDWebImagePrefetcherProgressBlock progressBlock; +@property (copy, nonatomic, nullable) SDWebImagePrefetcherCompletionBlock completionBlock; +@property (copy, nonatomic, nullable) SDWebImagePrefetcherProgressBlock progressBlock; @end @implementation SDWebImagePrefetcher -+ (SDWebImagePrefetcher *)sharedImagePrefetcher { ++ (nonnull instancetype)sharedImagePrefetcher { static dispatch_once_t once; static id instance; dispatch_once(&once, ^{ @@ -32,11 +32,11 @@ + (SDWebImagePrefetcher *)sharedImagePrefetcher { return instance; } -- (id)init { +- (nonnull instancetype)init { return [self initWithImageManager:[SDWebImageManager new]]; } -- (id)initWithImageManager:(SDWebImageManager *)manager { +- (nonnull instancetype)initWithImageManager:(SDWebImageManager *)manager { if ((self = [super init])) { _manager = manager; _options = SDWebImageLowPriority; @@ -57,18 +57,18 @@ - (NSUInteger)maxConcurrentDownloads { - (void)startPrefetchingAtIndex:(NSUInteger)index { if (index >= self.prefetchURLs.count) return; self.requestedCount++; - [self.manager downloadImageWithURL:self.prefetchURLs[index] options:self.options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { + [self.manager loadImageWithURL:self.prefetchURLs[index] options:self.options progress:nil completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { if (!finished) return; self.finishedCount++; if (image) { if (self.progressBlock) { - self.progressBlock(self.finishedCount,[self.prefetchURLs count]); + self.progressBlock(self.finishedCount,(self.prefetchURLs).count); } } else { if (self.progressBlock) { - self.progressBlock(self.finishedCount,[self.prefetchURLs count]); + self.progressBlock(self.finishedCount,(self.prefetchURLs).count); } // Add last failed self.skippedCount++; @@ -96,7 +96,7 @@ - (void)startPrefetchingAtIndex:(NSUInteger)index { } - (void)reportStatus { - NSUInteger total = [self.prefetchURLs count]; + NSUInteger total = (self.prefetchURLs).count; if ([self.delegate respondsToSelector:@selector(imagePrefetcher:didFinishWithTotalCount:skippedCount:)]) { [self.delegate imagePrefetcher:self didFinishWithTotalCount:(total - self.skippedCount) @@ -105,11 +105,13 @@ - (void)reportStatus { } } -- (void)prefetchURLs:(NSArray *)urls { +- (void)prefetchURLs:(nullable NSArray *)urls { [self prefetchURLs:urls progress:nil completed:nil]; } -- (void)prefetchURLs:(NSArray *)urls progress:(SDWebImagePrefetcherProgressBlock)progressBlock completed:(SDWebImagePrefetcherCompletionBlock)completionBlock { +- (void)prefetchURLs:(nullable NSArray *)urls + progress:(nullable SDWebImagePrefetcherProgressBlock)progressBlock + completed:(nullable SDWebImagePrefetcherCompletionBlock)completionBlock { [self cancelPrefetching]; // Prevent duplicate prefetch request self.startedTime = CFAbsoluteTimeGetCurrent(); self.prefetchURLs = urls; diff --git a/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h b/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h index ecf5ced38..b6c4a2a28 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h +++ b/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.h @@ -7,6 +7,9 @@ */ #import "SDWebImageCompat.h" + +#if SD_UIKIT + #import "SDWebImageManager.h" /** @@ -14,17 +17,19 @@ */ @interface UIButton (WebCache) +#pragma mark - Image + /** * Get the current image URL. */ -- (NSURL *)sd_currentImageURL; +- (nullable NSURL *)sd_currentImageURL; /** * Get the image URL for a control state. * * @param state Which state you want to know the URL for. The values are described in UIControlState. */ -- (NSURL *)sd_imageURLForState:(UIControlState)state; +- (nullable NSURL *)sd_imageURLForState:(UIControlState)state; /** * Set the imageView `image` with an `url`. @@ -34,7 +39,8 @@ * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. */ -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url` and a placeholder. @@ -46,7 +52,9 @@ * @param placeholder The image to be set initially, until the image request finishes. * @see sd_setImageWithURL:placeholderImage:options: */ -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url`, placeholder and custom options. @@ -58,7 +66,10 @@ * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url`. @@ -73,7 +84,9 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + completed:(nullable SDExternalCompletionBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder. @@ -89,7 +102,10 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url`, placeholder and custom options. @@ -106,7 +122,25 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + completed:(nullable SDExternalCompletionBlock)completedBlock; + +#pragma mark - Background image + +/** + * Get the current background image URL. + */ +- (nullable NSURL *)sd_currentBackgroundImageURL; + +/** + * Get the background image URL for a control state. + * + * @param state Which state you want to know the URL for. The values are described in UIControlState. + */ +- (nullable NSURL *)sd_backgroundImageURLForState:(UIControlState)state; /** * Set the backgroundImageView `image` with an `url`. @@ -116,7 +150,8 @@ * @param url The url for the image. * @param state The state that uses the specified title. The values are described in UIControlState. */ -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state NS_REFINED_FOR_SWIFT; /** * Set the backgroundImageView `image` with an `url` and a placeholder. @@ -128,7 +163,9 @@ * @param placeholder The image to be set initially, until the image request finishes. * @see sd_setImageWithURL:placeholderImage:options: */ -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT; /** * Set the backgroundImageView `image` with an `url`, placeholder and custom options. @@ -140,7 +177,10 @@ * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT; /** * Set the backgroundImageView `image` with an `url`. @@ -155,7 +195,9 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + completed:(nullable SDExternalCompletionBlock)completedBlock; /** * Set the backgroundImageView `image` with an `url`, placeholder. @@ -171,7 +213,10 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT; /** * Set the backgroundImageView `image` with an `url`, placeholder and custom options. @@ -187,7 +232,13 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + completed:(nullable SDExternalCompletionBlock)completedBlock; + +#pragma mark - Cancel /** * Cancel the current image download @@ -201,29 +252,4 @@ @end - -@interface UIButton (WebCacheDeprecated) - -- (NSURL *)currentImageURL __deprecated_msg("Use `sd_currentImageURL`"); -- (NSURL *)imageURLForState:(UIControlState)state __deprecated_msg("Use `sd_imageURLForState:`"); - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:forState:`"); -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:`"); -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:options:`"); - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:forState:completed:`"); -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:completed:`"); -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:forState:placeholderImage:options:completed:`"); - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state __deprecated_msg("Method deprecated. Use `sd_setBackgroundImageWithURL:forState:`"); -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder __deprecated_msg("Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:`"); -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg("Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:options:`"); - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setBackgroundImageWithURL:forState:completed:`"); -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:completed:`"); -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setBackgroundImageWithURL:forState:placeholderImage:options:completed:`"); - -- (void)cancelCurrentImageLoad __deprecated_msg("Use `sd_cancelImageLoadForState:`"); -- (void)cancelBackgroundImageLoadForState:(UIControlState)state __deprecated_msg("Use `sd_cancelBackgroundImageLoadForState:`"); - -@end +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m b/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m index ce2175d2e..7c861e814 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m +++ b/Example/Pods/SDWebImage/SDWebImage/UIButton+WebCache.m @@ -7,143 +7,143 @@ */ #import "UIButton+WebCache.h" + +#if SD_UIKIT + #import "objc/runtime.h" #import "UIView+WebCacheOperation.h" +#import "UIView+WebCache.h" static char imageURLStorageKey; +typedef NSMutableDictionary SDStateImageURLDictionary; + +static inline NSString * imageURLKeyForState(UIControlState state) { + return [NSString stringWithFormat:@"image_%lu", (unsigned long)state]; +} + +static inline NSString * backgroundImageURLKeyForState(UIControlState state) { + return [NSString stringWithFormat:@"backgroundImage_%lu", (unsigned long)state]; +} + @implementation UIButton (WebCache) -- (NSURL *)sd_currentImageURL { - NSURL *url = self.imageURLStorage[@(self.state)]; +#pragma mark - Image + +- (nullable NSURL *)sd_currentImageURL { + NSURL *url = self.imageURLStorage[imageURLKeyForState(self.state)]; if (!url) { - url = self.imageURLStorage[@(UIControlStateNormal)]; + url = self.imageURLStorage[imageURLKeyForState(UIControlStateNormal)]; } return url; } -- (NSURL *)sd_imageURLForState:(UIControlState)state { - return self.imageURLStorage[@(state)]; +- (nullable NSURL *)sd_imageURLForState:(UIControlState)state { + return self.imageURLStorage[imageURLKeyForState(state)]; } -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state { +- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state { [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; } -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder { +- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder { [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; } -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { +- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options { [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; } -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock]; } -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock]; } -- (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock { - - [self setImage:placeholder forState:state]; - [self sd_cancelImageLoadForState:state]; +- (void)sd_setImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + completed:(nullable SDExternalCompletionBlock)completedBlock { + if (!url) { + [self.imageURLStorage removeObjectForKey:imageURLKeyForState(state)]; + } else { + self.imageURLStorage[imageURLKeyForState(state)] = url; + } + + __weak typeof(self)weakSelf = self; + [self sd_internalSetImageWithURL:url + placeholderImage:placeholder + options:options + operationKey:[NSString stringWithFormat:@"UIButtonImageOperation%@", @(state)] + setImageBlock:^(UIImage *image, NSData *imageData) { + [weakSelf setImage:image forState:state]; + } + progress:nil + completed:completedBlock]; +} + +#pragma mark - Background image + +- (nullable NSURL *)sd_currentBackgroundImageURL { + NSURL *url = self.imageURLStorage[backgroundImageURLKeyForState(self.state)]; if (!url) { - [self.imageURLStorage removeObjectForKey:@(state)]; - - dispatch_main_async_safe(^{ - if (completedBlock) { - NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}]; - completedBlock(nil, error, SDImageCacheTypeNone, url); - } - }); - - return; + url = self.imageURLStorage[backgroundImageURLKeyForState(UIControlStateNormal)]; } - self.imageURLStorage[@(state)] = url; - - __weak __typeof(self)wself = self; - id operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - if (!wself) return; - dispatch_main_sync_safe(^{ - __strong UIButton *sself = wself; - if (!sself) return; - if (image && (options & SDWebImageAvoidAutoSetImage) && completedBlock) - { - completedBlock(image, error, cacheType, url); - return; - } - else if (image) { - [sself setImage:image forState:state]; - } - if (completedBlock && finished) { - completedBlock(image, error, cacheType, url); - } - }); - }]; - [self sd_setImageLoadOperation:operation forState:state]; + return url; +} + +- (nullable NSURL *)sd_backgroundImageURLForState:(UIControlState)state { + return self.imageURLStorage[backgroundImageURLKeyForState(state)]; } -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state { +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state { [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; } -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder { +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder { [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; } -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options { [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; } -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:completedBlock]; } -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url forState:(UIControlState)state placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:completedBlock]; } -- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock { - [self sd_cancelBackgroundImageLoadForState:state]; - - [self setBackgroundImage:placeholder forState:state]; - - if (url) { - __weak __typeof(self)wself = self; - id operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - if (!wself) return; - dispatch_main_sync_safe(^{ - __strong UIButton *sself = wself; - if (!sself) return; - if (image && (options & SDWebImageAvoidAutoSetImage) && completedBlock) - { - completedBlock(image, error, cacheType, url); - return; - } - else if (image) { - [sself setBackgroundImage:image forState:state]; - } - if (completedBlock && finished) { - completedBlock(image, error, cacheType, url); - } - }); - }]; - [self sd_setBackgroundImageLoadOperation:operation forState:state]; +- (void)sd_setBackgroundImageWithURL:(nullable NSURL *)url + forState:(UIControlState)state + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + completed:(nullable SDExternalCompletionBlock)completedBlock { + if (!url) { + [self.imageURLStorage removeObjectForKey:backgroundImageURLKeyForState(state)]; } else { - dispatch_main_async_safe(^{ - NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}]; - if (completedBlock) { - completedBlock(nil, error, SDImageCacheTypeNone, url); - } - }); + self.imageURLStorage[backgroundImageURLKeyForState(state)] = url; } + + __weak typeof(self)weakSelf = self; + [self sd_internalSetImageWithURL:url + placeholderImage:placeholder + options:options + operationKey:[NSString stringWithFormat:@"UIButtonBackgroundImageOperation%@", @(state)] + setImageBlock:^(UIImage *image, NSData *imageData) { + [weakSelf setBackgroundImage:image forState:state]; + } + progress:nil + completed:completedBlock]; } - (void)sd_setImageLoadOperation:(id)operation forState:(UIControlState)state { @@ -162,10 +162,9 @@ - (void)sd_cancelBackgroundImageLoadForState:(UIControlState)state { [self sd_cancelImageLoadOperationWithKey:[NSString stringWithFormat:@"UIButtonBackgroundImageOperation%@", @(state)]]; } -- (NSMutableDictionary *)imageURLStorage { - NSMutableDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey); - if (!storage) - { +- (SDStateImageURLDictionary *)imageURLStorage { + SDStateImageURLDictionary *storage = objc_getAssociatedObject(self, &imageURLStorageKey); + if (!storage) { storage = [NSMutableDictionary dictionary]; objc_setAssociatedObject(self, &imageURLStorageKey, storage, OBJC_ASSOCIATION_RETAIN_NONATOMIC); } @@ -175,96 +174,4 @@ - (NSMutableDictionary *)imageURLStorage { @end - -@implementation UIButton (WebCacheDeprecated) - -- (NSURL *)currentImageURL { - return [self sd_currentImageURL]; -} - -- (NSURL *)imageURLForState:(UIControlState)state { - return [self sd_imageURLForState:state]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state { - [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder { - [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { - [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url forState:state placeholderImage:nil options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url forState:state placeholderImage:placeholder options:options completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state { - [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:nil]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder { - [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:nil]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { - [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:nil]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:nil options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:0 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setBackgroundImageWithURL:url forState:state placeholderImage:placeholder options:options completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)cancelCurrentImageLoad { - // in a backwards compatible manner, cancel for current state - [self sd_cancelImageLoadForState:self.state]; -} - -- (void)cancelBackgroundImageLoadForState:(UIControlState)state { - [self sd_cancelBackgroundImageLoadForState:state]; -} - -@end +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.h b/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.h index 084f42415..a3a664656 100755 --- a/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.h +++ b/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.h @@ -1,19 +1,25 @@ -// -// UIImage+GIF.h -// LBGIFImage -// -// Created by Laurin Brandner on 06.01.12. -// Copyright (c) 2012 __MyCompanyName__. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * (c) Laurin Brandner + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ -#import +#import "SDWebImageCompat.h" @interface UIImage (GIF) -+ (UIImage *)sd_animatedGIFNamed:(NSString *)name; - +/** + * Creates an animated UIImage from an NSData. + * For static GIF, will create an UIImage with `images` array set to nil. For animated GIF, will create an UIImage with valid `images` array. + */ + (UIImage *)sd_animatedGIFWithData:(NSData *)data; -- (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size; +/** + * Checks if an UIImage instance is a GIF. Will use the `images` array. + */ +- (BOOL)isGIF; @end diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.m b/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.m index e1ded2aa8..6fbca7ae4 100755 --- a/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.m +++ b/Example/Pods/SDWebImage/SDWebImage/UIImage+GIF.m @@ -1,13 +1,15 @@ -// -// UIImage+GIF.m -// LBGIFImage -// -// Created by Laurin Brandner on 06.01.12. -// Copyright (c) 2012 __MyCompanyName__. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * (c) Laurin Brandner + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ #import "UIImage+GIF.h" -#import +#import "SDWebImageGIFCoder.h" +#import "NSImage+WebCache.h" @implementation UIImage (GIF) @@ -15,144 +17,11 @@ + (UIImage *)sd_animatedGIFWithData:(NSData *)data { if (!data) { return nil; } - - CGImageSourceRef source = CGImageSourceCreateWithData((__bridge CFDataRef)data, NULL); - - size_t count = CGImageSourceGetCount(source); - - UIImage *animatedImage; - - if (count <= 1) { - animatedImage = [[UIImage alloc] initWithData:data]; - } - else { - NSMutableArray *images = [NSMutableArray array]; - - NSTimeInterval duration = 0.0f; - - for (size_t i = 0; i < count; i++) { - CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL); - - duration += [self sd_frameDurationAtIndex:i source:source]; - - [images addObject:[UIImage imageWithCGImage:image scale:[UIScreen mainScreen].scale orientation:UIImageOrientationUp]]; - - CGImageRelease(image); - } - - if (!duration) { - duration = (1.0f / 10.0f) * count; - } - - animatedImage = [UIImage animatedImageWithImages:images duration:duration]; - } - - CFRelease(source); - - return animatedImage; -} - -+ (float)sd_frameDurationAtIndex:(NSUInteger)index source:(CGImageSourceRef)source { - float frameDuration = 0.1f; - CFDictionaryRef cfFrameProperties = CGImageSourceCopyPropertiesAtIndex(source, index, nil); - NSDictionary *frameProperties = (__bridge NSDictionary *)cfFrameProperties; - NSDictionary *gifProperties = frameProperties[(NSString *)kCGImagePropertyGIFDictionary]; - - NSNumber *delayTimeUnclampedProp = gifProperties[(NSString *)kCGImagePropertyGIFUnclampedDelayTime]; - if (delayTimeUnclampedProp) { - frameDuration = [delayTimeUnclampedProp floatValue]; - } - else { - - NSNumber *delayTimeProp = gifProperties[(NSString *)kCGImagePropertyGIFDelayTime]; - if (delayTimeProp) { - frameDuration = [delayTimeProp floatValue]; - } - } - - // Many annoying ads specify a 0 duration to make an image flash as quickly as possible. - // We follow Firefox's behavior and use a duration of 100 ms for any frames that specify - // a duration of <= 10 ms. See and - // for more information. - - if (frameDuration < 0.011f) { - frameDuration = 0.100f; - } - - CFRelease(cfFrameProperties); - return frameDuration; + return [[SDWebImageGIFCoder sharedCoder] decodedImageWithData:data]; } -+ (UIImage *)sd_animatedGIFNamed:(NSString *)name { - CGFloat scale = [UIScreen mainScreen].scale; - - if (scale > 1.0f) { - NSString *retinaPath = [[NSBundle mainBundle] pathForResource:[name stringByAppendingString:@"@2x"] ofType:@"gif"]; - - NSData *data = [NSData dataWithContentsOfFile:retinaPath]; - - if (data) { - return [UIImage sd_animatedGIFWithData:data]; - } - - NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@"gif"]; - - data = [NSData dataWithContentsOfFile:path]; - - if (data) { - return [UIImage sd_animatedGIFWithData:data]; - } - - return [UIImage imageNamed:name]; - } - else { - NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@"gif"]; - - NSData *data = [NSData dataWithContentsOfFile:path]; - - if (data) { - return [UIImage sd_animatedGIFWithData:data]; - } - - return [UIImage imageNamed:name]; - } -} - -- (UIImage *)sd_animatedImageByScalingAndCroppingToSize:(CGSize)size { - if (CGSizeEqualToSize(self.size, size) || CGSizeEqualToSize(size, CGSizeZero)) { - return self; - } - - CGSize scaledSize = size; - CGPoint thumbnailPoint = CGPointZero; - - CGFloat widthFactor = size.width / self.size.width; - CGFloat heightFactor = size.height / self.size.height; - CGFloat scaleFactor = (widthFactor > heightFactor) ? widthFactor : heightFactor; - scaledSize.width = self.size.width * scaleFactor; - scaledSize.height = self.size.height * scaleFactor; - - if (widthFactor > heightFactor) { - thumbnailPoint.y = (size.height - scaledSize.height) * 0.5; - } - else if (widthFactor < heightFactor) { - thumbnailPoint.x = (size.width - scaledSize.width) * 0.5; - } - - NSMutableArray *scaledImages = [NSMutableArray array]; - - for (UIImage *image in self.images) { - UIGraphicsBeginImageContextWithOptions(size, NO, 0.0); - - [image drawInRect:CGRectMake(thumbnailPoint.x, thumbnailPoint.y, scaledSize.width, scaledSize.height)]; - UIImage *newImage = UIGraphicsGetImageFromCurrentImageContext(); - - [scaledImages addObject:newImage]; - - UIGraphicsEndImageContext(); - } - - return [UIImage animatedImageWithImages:scaledImages duration:self.duration]; +- (BOOL)isGIF { + return (self.images != nil); } @end diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h b/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h index 186ebc0a5..c0792d1bc 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h +++ b/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.h @@ -1,15 +1,30 @@ -// -// UIImage+MultiFormat.h -// SDWebImage -// -// Created by Olivier Poitrey on 07/06/13. -// Copyright (c) 2013 Dailymotion. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ -#import +#import "SDWebImageCompat.h" +#import "NSData+ImageContentType.h" @interface UIImage (MultiFormat) -+ (UIImage *)sd_imageWithData:(NSData *)data; +/** + * UIKit: + * For static image format, this value is always 0. + * For animated image format, 0 means infinite looping. + * Note that because of the limitations of categories this property can get out of sync if you create another instance with CGImage or other methods. + * AppKit: + * NSImage currently only support animated via GIF imageRep unlike UIImage. + * The getter of this property will get the loop count from GIF imageRep + * The setter of this property will set the loop count from GIF imageRep + */ +@property (nonatomic, assign) NSUInteger sd_imageLoopCount; + ++ (nullable UIImage *)sd_imageWithData:(nullable NSData *)data; +- (nullable NSData *)sd_imageData; +- (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat; @end diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m b/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m index a8307544d..664e09699 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m +++ b/Example/Pods/SDWebImage/SDWebImage/UIImage+MultiFormat.m @@ -1,118 +1,73 @@ -// -// UIImage+MultiFormat.m -// SDWebImage -// -// Created by Olivier Poitrey on 07/06/13. -// Copyright (c) 2013 Dailymotion. All rights reserved. -// +/* + * This file is part of the SDWebImage package. + * (c) Olivier Poitrey + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ #import "UIImage+MultiFormat.h" -#import "UIImage+GIF.h" -#import "NSData+ImageContentType.h" -#import -#ifdef SD_WEBP -#import "UIImage+WebP.h" -#endif +#import "objc/runtime.h" +#import "SDWebImageCodersManager.h" @implementation UIImage (MultiFormat) -+ (UIImage *)sd_imageWithData:(NSData *)data { - if (!data) { - return nil; - } - - UIImage *image; - NSString *imageContentType = [NSData sd_contentTypeForImageData:data]; - if ([imageContentType isEqualToString:@"image/gif"]) { - image = [UIImage sd_animatedGIFWithData:data]; - } -#ifdef SD_WEBP - else if ([imageContentType isEqualToString:@"image/webp"]) - { - image = [UIImage sd_imageWithWebPData:data]; - } -#endif - else { - image = [[UIImage alloc] initWithData:data]; - UIImageOrientation orientation = [self sd_imageOrientationFromImageData:data]; - if (orientation != UIImageOrientationUp) { - image = [UIImage imageWithCGImage:image.CGImage - scale:image.scale - orientation:orientation]; +#if SD_MAC +- (NSUInteger)sd_imageLoopCount { + NSUInteger imageLoopCount = 0; + for (NSImageRep *rep in self.representations) { + if ([rep isKindOfClass:[NSBitmapImageRep class]]) { + NSBitmapImageRep *bitmapRep = (NSBitmapImageRep *)rep; + imageLoopCount = [[bitmapRep valueForProperty:NSImageLoopCount] unsignedIntegerValue]; + break; } } - - - return image; + return imageLoopCount; } - -+(UIImageOrientation)sd_imageOrientationFromImageData:(NSData *)imageData { - UIImageOrientation result = UIImageOrientationUp; - CGImageSourceRef imageSource = CGImageSourceCreateWithData((__bridge CFDataRef)imageData, NULL); - if (imageSource) { - CFDictionaryRef properties = CGImageSourceCopyPropertiesAtIndex(imageSource, 0, NULL); - if (properties) { - CFTypeRef val; - int exifOrientation; - val = CFDictionaryGetValue(properties, kCGImagePropertyOrientation); - if (val) { - CFNumberGetValue(val, kCFNumberIntType, &exifOrientation); - result = [self sd_exifOrientationToiOSOrientation:exifOrientation]; - } // else - if it's not set it remains at up - CFRelease((CFTypeRef) properties); - } else { - //NSLog(@"NO PROPERTIES, FAIL"); +- (void)setSd_imageLoopCount:(NSUInteger)sd_imageLoopCount { + for (NSImageRep *rep in self.representations) { + if ([rep isKindOfClass:[NSBitmapImageRep class]]) { + NSBitmapImageRep *bitmapRep = (NSBitmapImageRep *)rep; + [bitmapRep setProperty:NSImageLoopCount withValue:@(sd_imageLoopCount)]; + break; } - CFRelease(imageSource); } - return result; } -#pragma mark EXIF orientation tag converter -// Convert an EXIF image orientation to an iOS one. -// reference see here: http://sylvana.net/jpegcrop/exif_orientation.html -+ (UIImageOrientation) sd_exifOrientationToiOSOrientation:(int)exifOrientation { - UIImageOrientation orientation = UIImageOrientationUp; - switch (exifOrientation) { - case 1: - orientation = UIImageOrientationUp; - break; - - case 3: - orientation = UIImageOrientationDown; - break; - - case 8: - orientation = UIImageOrientationLeft; - break; +#else - case 6: - orientation = UIImageOrientationRight; - break; +- (NSUInteger)sd_imageLoopCount { + NSUInteger imageLoopCount = 0; + NSNumber *value = objc_getAssociatedObject(self, @selector(sd_imageLoopCount)); + if ([value isKindOfClass:[NSNumber class]]) { + imageLoopCount = value.unsignedIntegerValue; + } + return imageLoopCount; +} - case 2: - orientation = UIImageOrientationUpMirrored; - break; +- (void)setSd_imageLoopCount:(NSUInteger)sd_imageLoopCount { + NSNumber *value = @(sd_imageLoopCount); + objc_setAssociatedObject(self, @selector(sd_imageLoopCount), value, OBJC_ASSOCIATION_RETAIN_NONATOMIC); +} +#endif - case 4: - orientation = UIImageOrientationDownMirrored; - break; ++ (nullable UIImage *)sd_imageWithData:(nullable NSData *)data { + return [[SDWebImageCodersManager sharedInstance] decodedImageWithData:data]; +} - case 5: - orientation = UIImageOrientationLeftMirrored; - break; +- (nullable NSData *)sd_imageData { + return [self sd_imageDataAsFormat:SDImageFormatUndefined]; +} - case 7: - orientation = UIImageOrientationRightMirrored; - break; - default: - break; +- (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat { + NSData *imageData = nil; + if (self) { + imageData = [[SDWebImageCodersManager sharedInstance] encodedDataWithImage:self format:imageFormat]; } - return orientation; + return imageData; } - @end diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h b/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h index c1d8feaf4..c806e5f29 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h +++ b/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.h @@ -6,8 +6,10 @@ * file that was distributed with this source code. */ -#import #import "SDWebImageCompat.h" + +#if SD_UIKIT + #import "SDWebImageManager.h" /** @@ -22,7 +24,7 @@ * * @param url The url for the image. */ -- (void)sd_setHighlightedImageWithURL:(NSURL *)url; +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT; /** * Set the imageView `highlightedImage` with an `url` and custom options. @@ -32,7 +34,8 @@ * @param url The url for the image. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ -- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options; +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url + options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT; /** * Set the imageView `highlightedImage` with an `url`. @@ -46,7 +49,8 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url + completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT; /** * Set the imageView `highlightedImage` with an `url` and custom options. @@ -61,7 +65,9 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url + options:(SDWebImageOptions)options + completed:(nullable SDExternalCompletionBlock)completedBlock; /** * Set the imageView `highlightedImage` with an `url` and custom options. @@ -71,30 +77,18 @@ * @param url The url for the image. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param progressBlock A block called while image is downloading + * @note the progress block is executed on a background queue * @param completedBlock A block called when operation has been completed. This block has no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock; - -/** - * Cancel the current download - */ -- (void)sd_cancelCurrentHighlightedImageLoad; +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDExternalCompletionBlock)completedBlock; @end - -@interface UIImageView (HighlightedWebCacheDeprecated) - -- (void)setHighlightedImageWithURL:(NSURL *)url __deprecated_msg("Method deprecated. Use `sd_setHighlightedImageWithURL:`"); -- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options __deprecated_msg("Method deprecated. Use `sd_setHighlightedImageWithURL:options:`"); -- (void)setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setHighlightedImageWithURL:completed:`"); -- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setHighlightedImageWithURL:options:completed:`"); -- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setHighlightedImageWithURL:options:progress:completed:`"); - -- (void)cancelCurrentHighlightedImageLoad __deprecated_msg("Use `sd_cancelCurrentHighlightedImageLoad`"); - -@end +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m b/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m index 921134e5e..fb13bd8b1 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m +++ b/Example/Pods/SDWebImage/SDWebImage/UIImageView+HighlightedWebCache.m @@ -7,106 +7,46 @@ */ #import "UIImageView+HighlightedWebCache.h" -#import "UIView+WebCacheOperation.h" -#define UIImageViewHighlightedWebCacheOperationKey @"highlightedImage" +#if SD_UIKIT + +#import "UIView+WebCacheOperation.h" +#import "UIView+WebCache.h" @implementation UIImageView (HighlightedWebCache) -- (void)sd_setHighlightedImageWithURL:(NSURL *)url { +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url { [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:nil]; } -- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options { +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url options:(SDWebImageOptions)options { [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:nil]; } -- (void)sd_setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:completedBlock]; } -- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:completedBlock]; } -- (void)sd_setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock { - [self sd_cancelCurrentHighlightedImageLoad]; - - if (url) { - __weak __typeof(self)wself = self; - id operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - if (!wself) return; - dispatch_main_sync_safe (^ - { - if (!wself) return; - if (image && (options & SDWebImageAvoidAutoSetImage) && completedBlock) - { - completedBlock(image, error, cacheType, url); - return; - } - else if (image) { - wself.highlightedImage = image; - [wself setNeedsLayout]; - } - if (completedBlock && finished) { - completedBlock(image, error, cacheType, url); - } - }); - }]; - [self sd_setImageLoadOperation:operation forKey:UIImageViewHighlightedWebCacheOperationKey]; - } else { - dispatch_main_async_safe(^{ - NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}]; - if (completedBlock) { - completedBlock(nil, error, SDImageCacheTypeNone, url); - } - }); - } -} - -- (void)sd_cancelCurrentHighlightedImageLoad { - [self sd_cancelImageLoadOperationWithKey:UIImageViewHighlightedWebCacheOperationKey]; +- (void)sd_setHighlightedImageWithURL:(nullable NSURL *)url + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDExternalCompletionBlock)completedBlock { + __weak typeof(self)weakSelf = self; + [self sd_internalSetImageWithURL:url + placeholderImage:nil + options:options + operationKey:@"UIImageViewImageOperationHighlighted" + setImageBlock:^(UIImage *image, NSData *imageData) { + weakSelf.highlightedImage = image; + } + progress:progressBlock + completed:completedBlock]; } @end - -@implementation UIImageView (HighlightedWebCacheDeprecated) - -- (void)setHighlightedImageWithURL:(NSURL *)url { - [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:nil]; -} - -- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options { - [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:nil]; -} - -- (void)setHighlightedImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setHighlightedImageWithURL:url options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setHighlightedImageWithURL:url options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setHighlightedImageWithURL:(NSURL *)url options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setHighlightedImageWithURL:url options:0 progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)cancelCurrentHighlightedImageLoad { - [self sd_cancelCurrentHighlightedImageLoad]; -} - -@end +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h b/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h index eeb7460d5..568ccfd04 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h +++ b/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.h @@ -7,6 +7,9 @@ */ #import "SDWebImageCompat.h" + +#if SD_UIKIT || SD_MAC + #import "SDWebImageManager.h" /** @@ -44,14 +47,6 @@ */ @interface UIImageView (WebCache) -/** - * Get the current image URL. - * - * Note that because of the limitations of categories this property can get out of sync - * if you use sd_setImage: directly. - */ -- (NSURL *)sd_imageURL; - /** * Set the imageView `image` with an `url`. * @@ -59,7 +54,7 @@ * * @param url The url for the image. */ -- (void)sd_setImageWithURL:(NSURL *)url; +- (void)sd_setImageWithURL:(nullable NSURL *)url NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url` and a placeholder. @@ -70,7 +65,8 @@ * @param placeholder The image to be set initially, until the image request finishes. * @see sd_setImageWithURL:placeholderImage:options: */ -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder; +- (void)sd_setImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url`, placeholder and custom options. @@ -81,7 +77,9 @@ * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. */ -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options; +- (void)sd_setImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url`. @@ -95,7 +93,8 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + completed:(nullable SDExternalCompletionBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder. @@ -110,7 +109,9 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + completed:(nullable SDExternalCompletionBlock)completedBlock NS_REFINED_FOR_SWIFT; /** * Set the imageView `image` with an `url`, placeholder and custom options. @@ -126,7 +127,10 @@ * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + completed:(nullable SDExternalCompletionBlock)completedBlock; /** * Set the imageView `image` with an `url`, placeholder and custom options. @@ -137,13 +141,18 @@ * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param progressBlock A block called while image is downloading + * @note the progress block is executed on a background queue * @param completedBlock A block called when operation has been completed. This block has no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDExternalCompletionBlock)completedBlock; /** * Set the imageView `image` with an `url` and optionally a placeholder image. @@ -154,60 +163,34 @@ * @param placeholder The image to be set initially, until the image request finishes. * @param options The options to use when downloading the image. @see SDWebImageOptions for the possible values. * @param progressBlock A block called while image is downloading + * @note the progress block is executed on a background queue * @param completedBlock A block called when operation has been completed. This block has no return value * and takes the requested UIImage as first parameter. In case of error the image parameter * is nil and the second parameter may contain an NSError. The third parameter is a Boolean * indicating if the image was retrieved from the local cache or from the network. * The fourth parameter is the original image url. */ -- (void)sd_setImageWithPreviousCachedImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock; +- (void)sd_setImageWithPreviousCachedImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDExternalCompletionBlock)completedBlock; + +#if SD_UIKIT + +#pragma mark - Animation of multiple images /** * Download an array of images and starts them in an animation loop * * @param arrayOfURLs An array of NSURL */ -- (void)sd_setAnimationImagesWithURLs:(NSArray *)arrayOfURLs; - -/** - * Cancel the current download - */ -- (void)sd_cancelCurrentImageLoad; +- (void)sd_setAnimationImagesWithURLs:(nonnull NSArray *)arrayOfURLs; - (void)sd_cancelCurrentAnimationImagesLoad; -/** - * Show activity UIActivityIndicatorView - */ -- (void)setShowActivityIndicatorView:(BOOL)show; - -/** - * set desired UIActivityIndicatorViewStyle - * - * @param style The style of the UIActivityIndicatorView - */ -- (void)setIndicatorStyle:(UIActivityIndicatorViewStyle)style; +#endif @end - -@interface UIImageView (WebCacheDeprecated) - -- (NSURL *)imageURL __deprecated_msg("Use `sd_imageURL`"); - -- (void)setImageWithURL:(NSURL *)url __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:`"); -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:placeholderImage:`"); -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:placeholderImage:options`"); - -- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:completed:`"); -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:placeholderImage:completed:`"); -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:placeholderImage:options:completed:`"); -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock __deprecated_msg("Method deprecated. Use `sd_setImageWithURL:placeholderImage:options:progress:completed:`"); - -- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs __deprecated_msg("Use `sd_setAnimationImagesWithURLs:`"); - -- (void)cancelCurrentArrayLoad __deprecated_msg("Use `sd_cancelCurrentAnimationImagesLoad`"); - -- (void)cancelCurrentImageLoad __deprecated_msg("Use `sd_cancelCurrentImageLoad`"); - -@end +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m b/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m index 14f425cc2..4e5908f9b 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m +++ b/Example/Pods/SDWebImage/SDWebImage/UIImageView+WebCache.m @@ -7,123 +7,95 @@ */ #import "UIImageView+WebCache.h" + +#if SD_UIKIT || SD_MAC + #import "objc/runtime.h" #import "UIView+WebCacheOperation.h" - -static char imageURLKey; -static char TAG_ACTIVITY_INDICATOR; -static char TAG_ACTIVITY_STYLE; -static char TAG_ACTIVITY_SHOW; +#import "UIView+WebCache.h" @implementation UIImageView (WebCache) -- (void)sd_setImageWithURL:(NSURL *)url { +- (void)sd_setImageWithURL:(nullable NSURL *)url { [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil]; } -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder { +- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder { [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil]; } -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { +- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options { [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil]; } -- (void)sd_setImageWithURL:(NSURL *)url completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setImageWithURL:(nullable NSURL *)url completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:completedBlock]; } -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:completedBlock]; } -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setImageWithURL:(nullable NSURL *)url placeholderImage:(nullable UIImage *)placeholder options:(SDWebImageOptions)options completed:(nullable SDExternalCompletionBlock)completedBlock { [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:completedBlock]; } -- (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock { - [self sd_cancelCurrentImageLoad]; - objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC); - - if (!(options & SDWebImageDelayPlaceholder)) { - dispatch_main_async_safe(^{ - self.image = placeholder; - }); - } - - if (url) { - - // check if activityView is enabled or not - if ([self showActivityIndicatorView]) { - [self addActivityIndicator]; - } - - __weak __typeof(self)wself = self; - id operation = [SDWebImageManager.sharedManager downloadImageWithURL:url options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { - [wself removeActivityIndicator]; - if (!wself) return; - dispatch_main_sync_safe(^{ - if (!wself) return; - if (image && (options & SDWebImageAvoidAutoSetImage) && completedBlock) - { - completedBlock(image, error, cacheType, url); - return; - } - else if (image) { - wself.image = image; - [wself setNeedsLayout]; - } else { - if ((options & SDWebImageDelayPlaceholder)) { - wself.image = placeholder; - [wself setNeedsLayout]; - } - } - if (completedBlock && finished) { - completedBlock(image, error, cacheType, url); - } - }); - }]; - [self sd_setImageLoadOperation:operation forKey:@"UIImageViewImageLoad"]; - } else { - dispatch_main_async_safe(^{ - [self removeActivityIndicator]; - if (completedBlock) { - NSError *error = [NSError errorWithDomain:SDWebImageErrorDomain code:-1 userInfo:@{NSLocalizedDescriptionKey : @"Trying to load a nil url"}]; - completedBlock(nil, error, SDImageCacheTypeNone, url); - } - }); - } -} - -- (void)sd_setImageWithPreviousCachedImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletionBlock)completedBlock { +- (void)sd_setImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDExternalCompletionBlock)completedBlock { + [self sd_internalSetImageWithURL:url + placeholderImage:placeholder + options:options + operationKey:nil + setImageBlock:nil + progress:progressBlock + completed:completedBlock]; +} + +- (void)sd_setImageWithPreviousCachedImageWithURL:(nullable NSURL *)url + placeholderImage:(nullable UIImage *)placeholder + options:(SDWebImageOptions)options + progress:(nullable SDWebImageDownloaderProgressBlock)progressBlock + completed:(nullable SDExternalCompletionBlock)completedBlock { NSString *key = [[SDWebImageManager sharedManager] cacheKeyForURL:url]; - UIImage *lastPreviousCachedImage = [[SDImageCache sharedImageCache] imageFromDiskCacheForKey:key]; + UIImage *lastPreviousCachedImage = [[SDImageCache sharedImageCache] imageFromCacheForKey:key]; [self sd_setImageWithURL:url placeholderImage:lastPreviousCachedImage ?: placeholder options:options progress:progressBlock completed:completedBlock]; } -- (NSURL *)sd_imageURL { - return objc_getAssociatedObject(self, &imageURLKey); -} +#if SD_UIKIT -- (void)sd_setAnimationImagesWithURLs:(NSArray *)arrayOfURLs { +#pragma mark - Animation of multiple images + +- (void)sd_setAnimationImagesWithURLs:(nonnull NSArray *)arrayOfURLs { [self sd_cancelCurrentAnimationImagesLoad]; __weak __typeof(self)wself = self; - NSMutableArray *operationsArray = [[NSMutableArray alloc] init]; + NSMutableArray> *operationsArray = [[NSMutableArray alloc] init]; - for (NSURL *logoImageURL in arrayOfURLs) { - id operation = [SDWebImageManager.sharedManager downloadImageWithURL:logoImageURL options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { + [arrayOfURLs enumerateObjectsUsingBlock:^(NSURL *logoImageURL, NSUInteger idx, BOOL * _Nonnull stop) { + id operation = [SDWebImageManager.sharedManager loadImageWithURL:logoImageURL options:0 progress:nil completed:^(UIImage *image, NSData *data, NSError *error, SDImageCacheType cacheType, BOOL finished, NSURL *imageURL) { if (!wself) return; - dispatch_main_sync_safe(^{ + dispatch_main_async_safe(^{ __strong UIImageView *sself = wself; [sself stopAnimating]; if (sself && image) { - NSMutableArray *currentImages = [[sself animationImages] mutableCopy]; + NSMutableArray *currentImages = [[sself animationImages] mutableCopy]; if (!currentImages) { currentImages = [[NSMutableArray alloc] init]; } - [currentImages addObject:image]; + + // We know what index objects should be at when they are returned so + // we will put the object at the index, filling any empty indexes + // with the image that was returned too "early". These images will + // be overwritten. (does not require additional sorting datastructure) + while ([currentImages count] < idx) { + [currentImages addObject:image]; + } + + currentImages[idx] = image; sself.animationImages = currentImages; [sself setNeedsLayout]; @@ -132,146 +104,16 @@ - (void)sd_setAnimationImagesWithURLs:(NSArray *)arrayOfURLs { }); }]; [operationsArray addObject:operation]; - } - - [self sd_setImageLoadOperation:[NSArray arrayWithArray:operationsArray] forKey:@"UIImageViewAnimationImages"]; -} + }]; -- (void)sd_cancelCurrentImageLoad { - [self sd_cancelImageLoadOperationWithKey:@"UIImageViewImageLoad"]; + [self sd_setImageLoadOperation:[operationsArray copy] forKey:@"UIImageViewAnimationImages"]; } - (void)sd_cancelCurrentAnimationImagesLoad { [self sd_cancelImageLoadOperationWithKey:@"UIImageViewAnimationImages"]; } - - -#pragma mark - -- (UIActivityIndicatorView *)activityIndicator { - return (UIActivityIndicatorView *)objc_getAssociatedObject(self, &TAG_ACTIVITY_INDICATOR); -} - -- (void)setActivityIndicator:(UIActivityIndicatorView *)activityIndicator { - objc_setAssociatedObject(self, &TAG_ACTIVITY_INDICATOR, activityIndicator, OBJC_ASSOCIATION_RETAIN); -} - -- (void)setShowActivityIndicatorView:(BOOL)show{ - objc_setAssociatedObject(self, &TAG_ACTIVITY_SHOW, [NSNumber numberWithBool:show], OBJC_ASSOCIATION_RETAIN); -} - -- (BOOL)showActivityIndicatorView{ - return [objc_getAssociatedObject(self, &TAG_ACTIVITY_SHOW) boolValue]; -} - -- (void)setIndicatorStyle:(UIActivityIndicatorViewStyle)style{ - objc_setAssociatedObject(self, &TAG_ACTIVITY_STYLE, [NSNumber numberWithInt:style], OBJC_ASSOCIATION_RETAIN); -} - -- (int)getIndicatorStyle{ - return [objc_getAssociatedObject(self, &TAG_ACTIVITY_STYLE) intValue]; -} - -- (void)addActivityIndicator { - if (!self.activityIndicator) { - self.activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:[self getIndicatorStyle]]; - self.activityIndicator.translatesAutoresizingMaskIntoConstraints = NO; - - dispatch_main_async_safe(^{ - [self addSubview:self.activityIndicator]; - - [self addConstraint:[NSLayoutConstraint constraintWithItem:self.activityIndicator - attribute:NSLayoutAttributeCenterX - relatedBy:NSLayoutRelationEqual - toItem:self - attribute:NSLayoutAttributeCenterX - multiplier:1.0 - constant:0.0]]; - [self addConstraint:[NSLayoutConstraint constraintWithItem:self.activityIndicator - attribute:NSLayoutAttributeCenterY - relatedBy:NSLayoutRelationEqual - toItem:self - attribute:NSLayoutAttributeCenterY - multiplier:1.0 - constant:0.0]]; - }); - } - - dispatch_main_async_safe(^{ - [self.activityIndicator startAnimating]; - }); - -} - -- (void)removeActivityIndicator { - if (self.activityIndicator) { - [self.activityIndicator removeFromSuperview]; - self.activityIndicator = nil; - } -} +#endif @end - -@implementation UIImageView (WebCacheDeprecated) - -- (NSURL *)imageURL { - return [self sd_imageURL]; -} - -- (void)setImageWithURL:(NSURL *)url { - [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder { - [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options { - [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:nil]; -} - -- (void)setImageWithURL:(NSURL *)url completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url placeholderImage:nil options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url placeholderImage:placeholder options:0 progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:nil completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options progress:(SDWebImageDownloaderProgressBlock)progressBlock completed:(SDWebImageCompletedBlock)completedBlock { - [self sd_setImageWithURL:url placeholderImage:placeholder options:options progress:progressBlock completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) { - if (completedBlock) { - completedBlock(image, error, cacheType); - } - }]; -} - -- (void)cancelCurrentArrayLoad { - [self sd_cancelCurrentAnimationImagesLoad]; -} - -- (void)cancelCurrentImageLoad { - [self sd_cancelCurrentImageLoad]; -} - -- (void)setAnimationImagesWithURLs:(NSArray *)arrayOfURLs { - [self sd_setAnimationImagesWithURLs:arrayOfURLs]; -} - -@end +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h b/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h index 67190362d..f5e95fa68 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h +++ b/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.h @@ -6,7 +6,10 @@ * file that was distributed with this source code. */ -#import +#import "SDWebImageCompat.h" + +#if SD_UIKIT || SD_MAC + #import "SDWebImageManager.h" @interface UIView (WebCacheOperation) @@ -17,20 +20,22 @@ * @param operation the operation * @param key key for storing the operation */ -- (void)sd_setImageLoadOperation:(id)operation forKey:(NSString *)key; +- (void)sd_setImageLoadOperation:(nullable id)operation forKey:(nullable NSString *)key; /** * Cancel all operations for the current UIView and key * * @param key key for identifying the operations */ -- (void)sd_cancelImageLoadOperationWithKey:(NSString *)key; +- (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key; /** * Just remove the operations corresponding to the current UIView and key without cancelling them * * @param key key for identifying the operations */ -- (void)sd_removeImageLoadOperationWithKey:(NSString *)key; +- (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key; @end + +#endif diff --git a/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m b/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m index 92194780d..a515a74f6 100644 --- a/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m +++ b/Example/Pods/SDWebImage/SDWebImage/UIView+WebCacheOperation.m @@ -7,14 +7,19 @@ */ #import "UIView+WebCacheOperation.h" + +#if SD_UIKIT || SD_MAC + #import "objc/runtime.h" static char loadOperationKey; +typedef NSMutableDictionary SDOperationsDictionary; + @implementation UIView (WebCacheOperation) -- (NSMutableDictionary *)operationDictionary { - NSMutableDictionary *operations = objc_getAssociatedObject(self, &loadOperationKey); +- (SDOperationsDictionary *)operationDictionary { + SDOperationsDictionary *operations = objc_getAssociatedObject(self, &loadOperationKey); if (operations) { return operations; } @@ -23,16 +28,20 @@ - (NSMutableDictionary *)operationDictionary { return operations; } -- (void)sd_setImageLoadOperation:(id)operation forKey:(NSString *)key { - [self sd_cancelImageLoadOperationWithKey:key]; - NSMutableDictionary *operationDictionary = [self operationDictionary]; - [operationDictionary setObject:operation forKey:key]; +- (void)sd_setImageLoadOperation:(nullable id)operation forKey:(nullable NSString *)key { + if (key) { + [self sd_cancelImageLoadOperationWithKey:key]; + if (operation) { + SDOperationsDictionary *operationDictionary = [self operationDictionary]; + operationDictionary[key] = operation; + } + } } -- (void)sd_cancelImageLoadOperationWithKey:(NSString *)key { +- (void)sd_cancelImageLoadOperationWithKey:(nullable NSString *)key { // Cancel in progress downloader from queue - NSMutableDictionary *operationDictionary = [self operationDictionary]; - id operations = [operationDictionary objectForKey:key]; + SDOperationsDictionary *operationDictionary = [self operationDictionary]; + id operations = operationDictionary[key]; if (operations) { if ([operations isKindOfClass:[NSArray class]]) { for (id operation in operations) { @@ -47,9 +56,13 @@ - (void)sd_cancelImageLoadOperationWithKey:(NSString *)key { } } -- (void)sd_removeImageLoadOperationWithKey:(NSString *)key { - NSMutableDictionary *operationDictionary = [self operationDictionary]; - [operationDictionary removeObjectForKey:key]; +- (void)sd_removeImageLoadOperationWithKey:(nullable NSString *)key { + if (key) { + SDOperationsDictionary *operationDictionary = [self operationDictionary]; + [operationDictionary removeObjectForKey:key]; + } } @end + +#endif diff --git a/Example/Pods/Specta/README.md b/Example/Pods/Specta/README.md index f453a2eb6..d9b59e277 100644 --- a/Example/Pods/Specta/README.md +++ b/Example/Pods/Specta/README.md @@ -1,11 +1,7 @@ -# Specta +# Specta [![Build Status](https://travis-ci.org/specta/specta.svg)](https://travis-ci.org/specta/specta) [![Coverage Status](https://coveralls.io/repos/specta/specta/badge.svg)](https://coveralls.io/r/specta/specta) A light-weight TDD / BDD framework for Objective-C. -### Status -[![Build Status](https://travis-ci.org/specta/specta.png)](https://travis-ci.org/specta/specta) -[![Coverage Status](https://coveralls.io/repos/specta/specta/badge.svg)](https://coveralls.io/r/specta/specta) - ## FEATURES * An Objective-C RSpec-like BDD DSL @@ -15,56 +11,7 @@ A light-weight TDD / BDD framework for Objective-C. ## SCREENSHOT -![Specta Screenshot](https://raw.githubusercontent.com/specta/specta/master/misc/specta_screenshot.jpg) - -## SETUP - -Use [CocoaPods](http://github.com/CocoaPods/CocoaPods), [Carthage](https://github.com/carthage/carthage) or [Set up manually](#setting-up-manually) - -### CocoaPods - -1. Add Specta to your project's `Podfile`: - - ```ruby - target :MyApp do - # your app dependencies - end - - target :MyAppTests do - pod 'Specta', '~> 0.5' - # pod 'Expecta', '~> 0.3' # expecta matchers - # pod 'OCMock', '~> 2.2' # OCMock - # pod 'OCHamcrest', '~> 3.0' # hamcrest matchers - # pod 'OCMockito', '~> 1.0' # OCMock - # pod 'LRMocky', '~> 0.9' # LRMocky - end - ``` - -2. Run `pod update` or `pod install` in your project directory. - -### Carthage - -1. Add Specta to your project's `Cartfile.private` - - ``` - github "specta/specta" ~> 0.5 - ``` - -2. Run `carthage update` in your project directory -3. Drag the appropriate `Specta.framework` for your platform (located in Carthage/Build/) into your application’s Xcode project, and add it to your test target(s). -4. If you are building for iOS, a new `Run Script Phase` must be added to copy the framework. The instructions can be found on [Carthage's getting started instructions](https://github.com/carthage/carthage#getting-started) - -### SETTING UP MANUALLY - -1. Clone from Github. -2. Run `rake` in project root to build. -3. Add a "Cocoa/Cocoa Touch Unit Testing Bundle" target if you don't already have one. -4. Copy and add all header files in `Products` folder to the Test target in your Xcode project. -5. For **OS X projects**, copy and add `Specta.framework` in `Products/osx` folder to the test target in your Xcode project. - For **iOS projects**, copy and add `Specta.framework` in `Products/ios` folder to the test target in your Xcode project. - You can alternatively use `libSpecta.a`, if you prefer to add it as a static library for your project. (iOS 7 and below require this) -6. Add `-ObjC` and `-all_load` to the "Other Linker Flags" build setting for the test target in your Xcode project. -7. If you encounter linking issues with `_llvm_*` symbols, ensure your target's "Generate Test Coverage Files" and "Instrument Program Flow" build settings are set to `Yes`. + ## EXAMPLE @@ -156,12 +103,17 @@ SpecEnd * Do `#define SPT_CEDAR_SYNTAX` before importing Specta if you prefer to write `SPEC_BEGIN` and `SPEC_END` instead of `SpecBegin` and `SpecEnd`. * Prepend `f` to your `describe`, `context`, `example`, `it`, and `specify` to set focus on examples or groups. When specs are focused, all unfocused specs are skipped. * To use original XCTest reporter, set an environment variable named `SPECTA_REPORTER_CLASS` to `SPTXCTestReporter` in your test scheme. -* Set an environment variable `SPECTA_NO_SHUFFLE` with value `1` to disable test shuffling. +* Set an environment variable `SPECTA_SHUFFLE` with value `1` to enable test shuffling. * Set an environment variable `SPECTA_SEED` to specify the random seed for test shuffling. -Standard XCTest matchers such as `XCTAssertEqualObjects` and `XCTAssertNil` work, but you probably want to add a nicer matcher framework - [Expecta](http://github.com/specta/expecta/) to your setup. Or if you really prefer, [OCHamcrest](https://github.com/jonreid/OCHamcrest) works fine too. Also, add a mocking framework: [OCMock](http://ocmock.org/). +Standard XCTest matchers such as `XCTAssertEqualObjects` and `XCTAssertNil` work, but you probably want to add a nicer matcher framework - [Expecta](https://github.com/specta/expecta/) to your setup. Or if you really prefer, [OCHamcrest](https://github.com/hamcrest/OCHamcrest) works fine too. Also, add a mocking framework: [OCMock](http://ocmock.org/). + +## STATUS -## RUNNING TESTS IN COMMAND LINE +Specta is considered a done project, there are no plans for _active_ development on the project at the moment aside from ensuring future Xcode compatability. +Therefore it is a stable dependency, but will not be moving into the Swift world. If you are looking for that, we recommend you consider [Quick](https://github.com/quick/quick). + +## RUNNING SPECTA'S TESTS IN COMMAND LINE * Run `rake test` in the cloned folder. @@ -171,6 +123,57 @@ Standard XCTest matchers such as `XCTAssertEqualObjects` and `XCTAssertNil` work * Please prefix instance variable names with a single underscore (`_`). * Please prefix custom classes and functions defined in the global scope with `SPT`. +## Installation + +Use [CocoaPods](https://github.com/CocoaPods/CocoaPods), [Carthage](https://github.com/carthage/carthage) or [Set up manually](#setting-up-manually) + +### CocoaPods + +1. Add Specta to your project's `Podfile`: + +```ruby +target :MyApp do +# your app dependencies + + target :MyAppTests do + inherit! :search_paths + + pod 'Specta', '~> 1.0' + # pod 'Expecta', '~> 1.0' # expecta matchers + # pod 'OCMock', '~> 2.2' # OCMock + # pod 'OCHamcrest', '~> 3.0' # hamcrest matchers + # pod 'OCMockito', '~> 1.0' # OCMock + # pod 'LRMocky', '~> 0.9' # LRMocky + end +end +``` + +2. Run `pod install` in your project directory. + +### Carthage + +1. Add Specta to your project's `Cartfile.private` + + ``` + github "specta/specta" ~> 1.0 + ``` + +2. Run `carthage update` in your project directory +3. Drag the appropriate `Specta.framework` for your platform (located in Carthage/Build/) into your application’s Xcode project, and add it to your test target(s). +4. If you are building for iOS, a new `Run Script Phase` must be added to copy the framework. The instructions can be found on [Carthage's getting started instructions](https://github.com/carthage/carthage#getting-started) + +### SETTING UP MANUALLY + +1. Clone from Github. +2. Run `rake` in project root to build. +3. Add a "Cocoa/Cocoa Touch Unit Testing Bundle" target if you don't already have one. +4. Copy and add all header files in `Products` folder to the Test target in your Xcode project. +5. For **OS X projects**, copy and add `Specta.framework` in `Products/osx` folder to the test target in your Xcode project. + For **iOS projects**, copy and add `Specta.framework` in `Products/ios` folder to the test target in your Xcode project. + You can alternatively use `libSpecta.a`, if you prefer to add it as a static library for your project. (iOS 7 and below require this) +6. Add `-ObjC` and `-all_load` to the "Other Linker Flags" build setting for the test target in your Xcode project. +7. If you encounter linking issues with `_llvm_*` symbols, ensure your target's "Generate Test Coverage Files" and "Instrument Program Flow" build settings are set to `Yes`. + ## LICENSE -Copyright (c) 2012-2015 [Specta Team](https://github.com/specta?tab=members). This software is licensed under the [MIT License](http://github.com/specta/specta/raw/master/LICENSE). +Copyright (c) 2012-2016 [Specta Team](https://github.com/orgs/specta/people). This software is licensed under the [MIT License](http://github.com/specta/specta/raw/master/LICENSE). diff --git a/Example/Pods/Specta/Specta/Specta/SPTExampleGroup.h b/Example/Pods/Specta/Specta/Specta/SPTExampleGroup.h index f3d0060b5..dce3db62a 100644 --- a/Example/Pods/Specta/Specta/Specta/SPTExampleGroup.h +++ b/Example/Pods/Specta/Specta/Specta/SPTExampleGroup.h @@ -8,8 +8,8 @@ @interface SPTExampleGroup : NSObject @property (nonatomic, copy) NSString *name; -@property (nonatomic, strong) SPTExampleGroup *root; -@property (nonatomic, strong) SPTExampleGroup *parent; +@property (nonatomic, weak) SPTExampleGroup *root; +@property (nonatomic, weak) SPTExampleGroup *parent; @property (nonatomic, strong) NSMutableArray *children; @property (nonatomic, strong) NSMutableArray *beforeAllArray; @property (nonatomic, strong) NSMutableArray *afterAllArray; diff --git a/Example/Pods/Specta/Specta/Specta/SPTSpec.m b/Example/Pods/Specta/Specta/Specta/SPTSpec.m index 767178303..bda0d3f53 100644 --- a/Example/Pods/Specta/Specta/Specta/SPTSpec.m +++ b/Example/Pods/Specta/Specta/Specta/SPTSpec.m @@ -19,7 +19,7 @@ + (void)initialize { [spec spec]; } @catch (NSException *exception) { - fprintf(stderr, "%s: An exception has occured outside of tests, aborting.\n\n%s (%s) \n", [specName UTF8String], [[exception name] UTF8String], [[exception reason] UTF8String]); + fprintf(stderr, "%s: An exception has occurred outside of tests, aborting.\n\n%s (%s) \n", [specName UTF8String], [[exception name] UTF8String], [[exception reason] UTF8String]); if ([exception respondsToSelector:@selector(callStackSymbols)]) { NSArray *callStackSymbols = [exception callStackSymbols]; if (callStackSymbols) { @@ -33,6 +33,7 @@ + (void)initialize { [self spt_unsetCurrentTestSuite]; } [testSuite compile]; + [[self class] testInvocations]; [super initialize]; } @@ -144,6 +145,7 @@ - (void)spt_runExample:(SPTCompiledExample *)example { example.block(self); } else if (!example.pending) { self.spt_skipped = YES; + NSLog(@"Skipping '%@'", example.name); } [[[NSThread currentThread] threadDictionary] removeObjectForKey:spt_kCurrentSpecKey]; diff --git a/Example/Pods/Specta/Specta/Specta/SpectaDSL.h b/Example/Pods/Specta/Specta/Specta/SpectaDSL.h index 284d4f540..f7b7895f1 100644 --- a/Example/Pods/Specta/Specta/Specta/SpectaDSL.h +++ b/Example/Pods/Specta/Specta/Specta/SpectaDSL.h @@ -10,20 +10,20 @@ typedef void (^DoneCallback)(void); -OBJC_EXTERN void describe(NSString *name, void (^block)()); -OBJC_EXTERN void fdescribe(NSString *name, void (^block)()); +OBJC_EXTERN void describe(NSString *name, void (^block)(void)); +OBJC_EXTERN void fdescribe(NSString *name, void (^block)(void)); -OBJC_EXTERN void context(NSString *name, void (^block)()); -OBJC_EXTERN void fcontext(NSString *name, void (^block)()); +OBJC_EXTERN void context(NSString *name, void (^block)(void)); +OBJC_EXTERN void fcontext(NSString *name, void (^block)(void)); -OBJC_EXTERN void it(NSString *name, void (^block)()); -OBJC_EXTERN void fit(NSString *name, void (^block)()); +OBJC_EXTERN void it(NSString *name, void (^block)(void)); +OBJC_EXTERN void fit(NSString *name, void (^block)(void)); -OBJC_EXTERN void example(NSString *name, void (^block)()); -OBJC_EXTERN void fexample(NSString *name, void (^block)()); +OBJC_EXTERN void example(NSString *name, void (^block)(void)); +OBJC_EXTERN void fexample(NSString *name, void (^block)(void)); -OBJC_EXTERN void specify(NSString *name, void (^block)()); -OBJC_EXTERN void fspecify(NSString *name, void (^block)()); +OBJC_EXTERN void specify(NSString *name, void (^block)(void)); +OBJC_EXTERN void fspecify(NSString *name, void (^block)(void)); #define pending(...) spt_pending_(__VA_ARGS__, nil) #define xdescribe(...) spt_pending_(__VA_ARGS__, nil) @@ -32,14 +32,14 @@ OBJC_EXTERN void fspecify(NSString *name, void (^block)()); #define xit(...) spt_pending_(__VA_ARGS__, nil) #define xspecify(...) spt_pending_(__VA_ARGS__, nil) -OBJC_EXTERN void beforeAll(void (^block)()); -OBJC_EXTERN void afterAll(void (^block)()); +OBJC_EXTERN void beforeAll(void (^block)(void)); +OBJC_EXTERN void afterAll(void (^block)(void)); -OBJC_EXTERN void beforeEach(void (^block)()); -OBJC_EXTERN void afterEach(void (^block)()); +OBJC_EXTERN void beforeEach(void (^block)(void)); +OBJC_EXTERN void afterEach(void (^block)(void)); -OBJC_EXTERN void before(void (^block)()); -OBJC_EXTERN void after(void (^block)()); +OBJC_EXTERN void before(void (^block)(void)); +OBJC_EXTERN void after(void (^block)(void)); OBJC_EXTERN void sharedExamplesFor(NSString *name, void (^block)(NSDictionary *data)); OBJC_EXTERN void sharedExamples(NSString *name, void (^block)(NSDictionary *data)); @@ -54,7 +54,7 @@ OBJC_EXTERN void waitUntil(void (^block)(DoneCallback done)); * * @param timeout timeout for this @c block only; does not affect the global * timeout, as @c setAsyncSpecTimeout() does. - * @param ^block runs test code + * @param block runs test code */ OBJC_EXTERN void waitUntilTimeout(NSTimeInterval timeout, void (^block)(DoneCallback done)); @@ -83,8 +83,8 @@ OBJC_EXTERN void setAsyncSpecTimeout(NSTimeInterval timeout); } \ @end -OBJC_EXTERN void spt_it_(NSString *name, NSString *fileName, NSUInteger lineNumber, void (^block)()); -OBJC_EXTERN void spt_fit_(NSString *name, NSString *fileName, NSUInteger lineNumber, void (^block)()); +OBJC_EXTERN void spt_it_(NSString *name, NSString *fileName, NSUInteger lineNumber, void (^block)(void)); +OBJC_EXTERN void spt_fit_(NSString *name, NSString *fileName, NSUInteger lineNumber, void (^block)(void)); OBJC_EXTERN void spt_pending_(NSString *name, ...); OBJC_EXTERN void spt_itShouldBehaveLike_(NSString *fileName, NSUInteger lineNumber, NSString *name, id dictionaryOrBlock); -OBJC_EXTERN void spt_itShouldBehaveLike_block(NSString *fileName, NSUInteger lineNumber, NSString *name, NSDictionary *(^block)()); +OBJC_EXTERN void spt_itShouldBehaveLike_block(NSString *fileName, NSUInteger lineNumber, NSString *name, NSDictionary *(^block)(void)); diff --git a/Example/Pods/Specta/Specta/Specta/SpectaDSL.m b/Example/Pods/Specta/Specta/Specta/SpectaDSL.m index 10edcd56a..8012cdd38 100644 --- a/Example/Pods/Specta/Specta/Specta/SpectaDSL.m +++ b/Example/Pods/Specta/Specta/Specta/SpectaDSL.m @@ -52,12 +52,15 @@ void spt_itShouldBehaveLike_(NSString *fileName, NSUInteger lineNumber, NSString beforeEach(^{ NSDictionary *blockData = dataBlock(); - [dataDict removeAllObjects]; [dataDict addEntriesFromDictionary:blockData]; }); block(dataDict); + afterEach(^{ + [dataDict removeAllObjects]; + }); + afterAll(^{ dataDict = nil; }); diff --git a/Example/Pods/Specta/Specta/Specta/SpectaTypes.h b/Example/Pods/Specta/Specta/Specta/SpectaTypes.h index f1f0ae3ea..bbe55a085 100644 --- a/Example/Pods/Specta/Specta/Specta/SpectaTypes.h +++ b/Example/Pods/Specta/Specta/Specta/SpectaTypes.h @@ -1,5 +1,5 @@ @class SPTSpec; -typedef void (^SPTVoidBlock)(); +typedef void (^SPTVoidBlock)(void); typedef void (^SPTSpecBlock)(SPTSpec *spec); typedef void (^SPTDictionaryBlock)(NSDictionary *dictionary); diff --git a/Example/Pods/Specta/Specta/Specta/SpectaUtility.h b/Example/Pods/Specta/Specta/Specta/SpectaUtility.h index a3a8f071f..2d69009a2 100644 --- a/Example/Pods/Specta/Specta/Specta/SpectaUtility.h +++ b/Example/Pods/Specta/Specta/Specta/SpectaUtility.h @@ -15,4 +15,4 @@ BOOL spt_isSpecClass(Class aClass); NSString *spt_underscorize(NSString *string); NSArray *spt_map(NSArray *array, id (^block)(id obj, NSUInteger idx)); NSArray *spt_shuffle(NSArray *array); -unsigned int spt_seed(); +unsigned int spt_seed(void); diff --git a/Example/Pods/Specta/Specta/Specta/XCTest+Private.h b/Example/Pods/Specta/Specta/Specta/XCTest+Private.h index 0b83aeb21..c88fcc9ff 100644 --- a/Example/Pods/Specta/Specta/Specta/XCTest+Private.h +++ b/Example/Pods/Specta/Specta/Specta/XCTest+Private.h @@ -17,11 +17,12 @@ @end -#endif - @protocol XCTestObservation @end + +#endif + @interface _XCTestDriverTestObserver : NSObject - (void)stopObserving; diff --git a/Example/Pods/Specta/Specta/Specta/XCTestCase+Specta.m b/Example/Pods/Specta/Specta/Specta/XCTestCase+Specta.m index 4c503eec1..ff801a13c 100644 --- a/Example/Pods/Specta/Specta/Specta/XCTestCase+Specta.m +++ b/Example/Pods/Specta/Specta/Specta/XCTestCase+Specta.m @@ -42,7 +42,10 @@ - (void)spt_dequeueFailures { [self spt_dequeueFailures]; }; - if ([NSThread isMainThread]) { + BOOL isMainThread = [NSThread isMainThread]; + BOOL isSpectaTest = [self isKindOfClass:[SPTSpec class]]; + + if (!isSpectaTest || isMainThread) { dequeueFailures(); } else { dispatch_sync(dispatch_get_main_queue(), dequeueFailures); diff --git a/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress-dummy.m b/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress-dummy.m deleted file mode 100644 index 76cdc7668..000000000 --- a/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_DACircularProgress : NSObject -@end -@implementation PodsDummy_DACircularProgress -@end diff --git a/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress-prefix.pch b/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress-prefix.pch deleted file mode 100644 index aa992a4ad..000000000 --- a/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress.xcconfig b/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress.xcconfig deleted file mode 100644 index fb750eded..000000000 --- a/Example/Pods/Target Support Files/DACircularProgress/DACircularProgress.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/DACircularProgress" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = -framework "QuartzCore" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch b/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch index aa992a4ad..beb2a2441 100644 --- a/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch +++ b/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots-prefix.pch @@ -1,4 +1,12 @@ #ifdef __OBJC__ #import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif #endif diff --git a/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots.xcconfig b/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots.xcconfig index a9e7d9865..713076aa3 100644 --- a/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots.xcconfig +++ b/Example/Pods/Target Support Files/Expecta+Snapshots/Expecta+Snapshots.xcconfig @@ -1,6 +1,12 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Expecta+Snapshots +ENABLE_BITCODE = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/FBSnapshotTestCase" "$PODS_CONFIGURATION_BUILD_DIR/Specta" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" OTHER_LDFLAGS = -framework "Foundation" -framework "XCTest" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Expecta+Snapshots +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/Expecta/Expecta-prefix.pch b/Example/Pods/Target Support Files/Expecta/Expecta-prefix.pch index aa992a4ad..beb2a2441 100644 --- a/Example/Pods/Target Support Files/Expecta/Expecta-prefix.pch +++ b/Example/Pods/Target Support Files/Expecta/Expecta-prefix.pch @@ -1,4 +1,12 @@ #ifdef __OBJC__ #import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif #endif diff --git a/Example/Pods/Target Support Files/Expecta/Expecta.xcconfig b/Example/Pods/Target Support Files/Expecta/Expecta.xcconfig index ad180d955..1358ae5c0 100644 --- a/Example/Pods/Target Support Files/Expecta/Expecta.xcconfig +++ b/Example/Pods/Target Support Files/Expecta/Expecta.xcconfig @@ -1,6 +1,12 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" $(inherited) $(DEVELOPER_FRAMEWORKS_DIR) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks" +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Expecta +ENABLE_BITCODE = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Expecta" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" OTHER_LDFLAGS = -framework "Foundation" -framework "XCTest" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Expecta +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch b/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch index aa992a4ad..beb2a2441 100644 --- a/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch +++ b/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch @@ -1,4 +1,12 @@ #ifdef __OBJC__ #import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif #endif diff --git a/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.xcconfig b/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.xcconfig index cabe1b74a..ee7f02e95 100644 --- a/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.xcconfig +++ b/Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.xcconfig @@ -1,6 +1,13 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/FBSnapshotTestCase +ENABLE_BITCODE = NO FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = -framework "XCTest" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_LDFLAGS = -framework "Foundation" -framework "QuartzCore" -framework "UIKit" -framework "XCTest" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file +PODS_TARGET_SRCROOT = ${PODS_ROOT}/FBSnapshotTestCase +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m b/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m deleted file mode 100644 index 67a74df2a..000000000 --- a/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_MBProgressHUD : NSObject -@end -@implementation PodsDummy_MBProgressHUD -@end diff --git a/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch b/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch deleted file mode 100644 index aa992a4ad..000000000 --- a/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig b/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig deleted file mode 100644 index a8e4ea6b6..000000000 --- a/Example/Pods/Target Support Files/MBProgressHUD/MBProgressHUD.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MBProgressHUD" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = -framework "CoreGraphics" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser-dummy.m b/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser-dummy.m deleted file mode 100644 index 2ce964380..000000000 --- a/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_MWPhotoBrowser : NSObject -@end -@implementation PodsDummy_MWPhotoBrowser -@end diff --git a/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch b/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch deleted file mode 100644 index aa992a4ad..000000000 --- a/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser.xcconfig b/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser.xcconfig deleted file mode 100644 index dcaea7206..000000000 --- a/Example/Pods/Target Support Files/MWPhotoBrowser/MWPhotoBrowser.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = -framework "AssetsLibrary" -framework "ImageIO" -framework "MediaPlayer" -framework "QuartzCore" -weak_framework "Photos" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.markdown index 0091f313d..7875de191 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.markdown +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.markdown @@ -29,7 +29,7 @@ THE SOFTWARE. ## MBProgressHUD -Copyright (c) 2009-2015 Matej Bukovinski +Copyright © 2009-2016 Matej Bukovinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -74,7 +74,7 @@ THE SOFTWARE. ## SDWebImage -Copyright (c) 2009 Olivier Poitrey +Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -95,4 +95,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -Generated by CocoaPods - http://cocoapods.org +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.plist index a3df3a933..81f24865f 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.plist +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-acknowledgements.plist @@ -37,6 +37,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title DACircularProgress Type @@ -44,7 +46,7 @@ THE SOFTWARE. FooterText - Copyright (c) 2009-2015 Matej Bukovinski + Copyright © 2009-2016 Matej Bukovinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -63,6 +65,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title MBProgressHUD Type @@ -90,6 +94,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title MWPhotoBrowser Type @@ -97,7 +103,7 @@ THE SOFTWARE. FooterText - Copyright (c) 2009 Olivier Poitrey <rs@dailymotion.com> + Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -118,6 +124,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title SDWebImage Type @@ -125,7 +133,7 @@ THE SOFTWARE. FooterText - Generated by CocoaPods - http://cocoapods.org + Generated by CocoaPods - https://cocoapods.org Title Type diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh index 6f7634435..5f507a1ed 100755 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-frameworks.sh @@ -6,6 +6,10 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -16,16 +20,16 @@ install_framework() local source="$1" fi - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then echo "Symlinked..." source="$(readlink "${source}")" fi - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" local basename basename="$(basename -s .framework "$1")" @@ -54,13 +58,27 @@ install_framework() fi } +# Copies the dSYM of a vendored framework +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" + fi +} + # Signs a framework with the provided identity code_sign_if_enabled() { if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" fi } @@ -71,7 +89,7 @@ strip_invalid_archs() { archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" stripped="" for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 stripped="$stripped $arch" @@ -82,3 +100,19 @@ strip_invalid_archs() { fi } + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/DACircularProgress/DACircularProgress.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser/MWPhotoBrowser.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/DACircularProgress/DACircularProgress.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser/MWPhotoBrowser.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-resources.sh b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-resources.sh index 15c9b3eb0..a7df4405b 100755 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-resources.sh +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example-resources.sh @@ -1,71 +1,91 @@ #!/bin/sh set -e -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac install_resource() { - case $1 in + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac } -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_resource "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser.bundle" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_resource "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser.bundle" -fi -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" @@ -74,28 +94,13 @@ rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + if [[ $line != "${PODS_ROOT}*" ]]; then XCASSET_FILES+=("$line") fi done <<<"$OTHER_XCASSETS" - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.debug.xcconfig index 6472a0b4b..b51365de6 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.debug.xcconfig @@ -1,5 +1,9 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DACircularProgress" -isystem "${PODS_ROOT}/Headers/Public/Expecta" -isystem "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" -isystem "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" -isystem "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = $(inherited) -ObjC -l"DACircularProgress" -l"MBProgressHUD" -l"MWPhotoBrowser" -l"SDWebImage" -framework "AssetsLibrary" -framework "CoreGraphics" -framework "ImageIO" -framework "MediaPlayer" -framework "QuartzCore" -weak_framework "Photos" -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress/DACircularProgress.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD/MBProgressHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser/MWPhotoBrowser.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "DACircularProgress" -framework "MBProgressHUD" -framework "MWPhotoBrowser" -framework "SDWebImage" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.release.xcconfig index 6472a0b4b..b51365de6 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Example/Pods-MWPhotoBrowser_Example.release.xcconfig @@ -1,5 +1,9 @@ +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DACircularProgress" -isystem "${PODS_ROOT}/Headers/Public/Expecta" -isystem "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" -isystem "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" -isystem "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = $(inherited) -ObjC -l"DACircularProgress" -l"MBProgressHUD" -l"MWPhotoBrowser" -l"SDWebImage" -framework "AssetsLibrary" -framework "CoreGraphics" -framework "ImageIO" -framework "MediaPlayer" -framework "QuartzCore" -weak_framework "Photos" -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress/DACircularProgress.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD/MBProgressHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser/MWPhotoBrowser.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "DACircularProgress" -framework "MBProgressHUD" -framework "MWPhotoBrowser" -framework "SDWebImage" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.markdown index 722cd587a..be6672ccd 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.markdown +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.markdown @@ -29,7 +29,7 @@ THE SOFTWARE. ## MBProgressHUD -Copyright (c) 2009-2015 Matej Bukovinski +Copyright © 2009-2016 Matej Bukovinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -74,7 +74,7 @@ THE SOFTWARE. ## SDWebImage -Copyright (c) 2009 Olivier Poitrey +Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -201,4 +201,4 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -Generated by CocoaPods - http://cocoapods.org +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.plist index 4063b607d..e37d2a34e 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.plist +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-acknowledgements.plist @@ -37,6 +37,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title DACircularProgress Type @@ -44,7 +46,7 @@ THE SOFTWARE. FooterText - Copyright (c) 2009-2015 Matej Bukovinski + Copyright © 2009-2016 Matej Bukovinski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -63,6 +65,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title MBProgressHUD Type @@ -90,6 +94,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title MWPhotoBrowser Type @@ -97,7 +103,7 @@ THE SOFTWARE. FooterText - Copyright (c) 2009 Olivier Poitrey <rs@dailymotion.com> + Copyright (c) 2009-2017 Olivier Poitrey rs@dailymotion.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -118,6 +124,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title SDWebImage Type @@ -145,6 +153,8 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title Expecta Type @@ -175,6 +185,8 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title Expecta+Snapshots Type @@ -212,6 +224,8 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + License + BSD Title FBSnapshotTestCase Type @@ -240,6 +254,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + License + MIT Title Specta Type @@ -247,7 +263,7 @@ THE SOFTWARE. FooterText - Generated by CocoaPods - http://cocoapods.org + Generated by CocoaPods - https://cocoapods.org Title Type diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh index 6f7634435..39357ca5e 100755 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-frameworks.sh @@ -6,6 +6,10 @@ mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -16,16 +20,16 @@ install_framework() local source="$1" fi - local destination="${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then echo "Symlinked..." source="$(readlink "${source}")" fi - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + # Use filter instead of exclude so missing patterns don't throw errors. + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" local basename basename="$(basename -s .framework "$1")" @@ -54,13 +58,27 @@ install_framework() fi } +# Copies the dSYM of a vendored framework +install_dsym() { + local source="$1" + if [ -r "$source" ]; then + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" + fi +} + # Signs a framework with the provided identity code_sign_if_enabled() { if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - echo "/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"" - /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements "$1" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" fi } @@ -71,7 +89,7 @@ strip_invalid_archs() { archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" stripped="" for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 stripped="$stripped $arch" @@ -82,3 +100,27 @@ strip_invalid_archs() { fi } + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/DACircularProgress/DACircularProgress.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser/MWPhotoBrowser.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Expecta/Expecta.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Expecta+Snapshots/Expecta_Snapshots.framework" + install_framework "${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Specta/Specta.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "${BUILT_PRODUCTS_DIR}/DACircularProgress/DACircularProgress.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MBProgressHUD/MBProgressHUD.framework" + install_framework "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser/MWPhotoBrowser.framework" + install_framework "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Expecta/Expecta.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Expecta+Snapshots/Expecta_Snapshots.framework" + install_framework "${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework" + install_framework "${BUILT_PRODUCTS_DIR}/Specta/Specta.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-resources.sh b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-resources.sh index 15c9b3eb0..a7df4405b 100755 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-resources.sh +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests-resources.sh @@ -1,71 +1,91 @@ #!/bin/sh set -e -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt > "$RESOURCES_TO_COPY" XCASSET_FILES=() -realpath() { - DIRECTORY="$(cd "${1%/*}" && pwd)" - FILENAME="${1##*/}" - echo "$DIRECTORY/$FILENAME" -} +# This protects against multiple targets copying the same framework dependency at the same time. The solution +# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html +RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + 4) + TARGET_DEVICE_ARGS="--target-device watch" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac install_resource() { - case $1 in + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in *.storyboard) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.xib) - echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" - ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} ;; *.framework) - echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" ;; *.xcdatamodel) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" ;; *.xcdatamodeld) - echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" - xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" ;; *.xcmappingmodel) - echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" - xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" ;; *.xcassets) - ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") ;; - /*) - echo "$1" - echo "$1" >> "$RESOURCES_TO_COPY" - ;; *) - echo "${PODS_ROOT}/$1" - echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" + echo "$RESOURCE_PATH" || true + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" ;; esac } -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_resource "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser.bundle" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_resource "${BUILT_PRODUCTS_DIR}/MWPhotoBrowser.bundle" -fi -mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" @@ -74,28 +94,13 @@ rm -f "$RESOURCES_TO_COPY" if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then - case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; - esac - # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) while read line; do - if [[ $line != "`realpath $PODS_ROOT`*" ]]; then + if [[ $line != "${PODS_ROOT}*" ]]; then XCASSET_FILES+=("$line") fi done <<<"$OTHER_XCASSETS" - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.debug.xcconfig b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.debug.xcconfig index 61cb570bf..9f7a763d7 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.debug.xcconfig +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.debug.xcconfig @@ -1,6 +1,11 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) $(inherited) $(DEVELOPER_FRAMEWORKS_DIR) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks" +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress" "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/Expecta+Snapshots" "$PODS_CONFIGURATION_BUILD_DIR/FBSnapshotTestCase" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage" "$PODS_CONFIGURATION_BUILD_DIR/Specta" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DACircularProgress" -isystem "${PODS_ROOT}/Headers/Public/Expecta" -isystem "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" -isystem "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" -isystem "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = $(inherited) -ObjC -l"DACircularProgress" -l"Expecta" -l"Expecta+Snapshots" -l"FBSnapshotTestCase" -l"MBProgressHUD" -l"MWPhotoBrowser" -l"SDWebImage" -l"Specta" -framework "AssetsLibrary" -framework "CoreGraphics" -framework "Foundation" -framework "ImageIO" -framework "MediaPlayer" -framework "QuartzCore" -framework "XCTest" -weak_framework "Photos" -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress/DACircularProgress.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta+Snapshots/Expecta_Snapshots.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta/Expecta.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/FBSnapshotTestCase/FBSnapshotTestCase.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD/MBProgressHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser/MWPhotoBrowser.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Specta/Specta.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "DACircularProgress" -framework "Expecta" -framework "Expecta_Snapshots" -framework "FBSnapshotTestCase" -framework "MBProgressHUD" -framework "MWPhotoBrowser" -framework "SDWebImage" -framework "Specta" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.release.xcconfig b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.release.xcconfig index 61cb570bf..9f7a763d7 100644 --- a/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.release.xcconfig +++ b/Example/Pods/Target Support Files/Pods-MWPhotoBrowser_Tests/Pods-MWPhotoBrowser_Tests.release.xcconfig @@ -1,6 +1,11 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) $(inherited) $(DEVELOPER_FRAMEWORKS_DIR) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks" +EMBEDDED_CONTENT_CONTAINS_SWIFT = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) $(PLATFORM_DIR)/Developer/Library/Frameworks "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress" "$PODS_CONFIGURATION_BUILD_DIR/Expecta" "$PODS_CONFIGURATION_BUILD_DIR/Expecta+Snapshots" "$PODS_CONFIGURATION_BUILD_DIR/FBSnapshotTestCase" "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD" "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser" "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage" "$PODS_CONFIGURATION_BUILD_DIR/Specta" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DACircularProgress" -isystem "${PODS_ROOT}/Headers/Public/Expecta" -isystem "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" -isystem "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" -isystem "${PODS_ROOT}/Headers/Public/MBProgressHUD" -isystem "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" -isystem "${PODS_ROOT}/Headers/Public/SDWebImage" -isystem "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = $(inherited) -ObjC -l"DACircularProgress" -l"Expecta" -l"Expecta+Snapshots" -l"FBSnapshotTestCase" -l"MBProgressHUD" -l"MWPhotoBrowser" -l"SDWebImage" -l"Specta" -framework "AssetsLibrary" -framework "CoreGraphics" -framework "Foundation" -framework "ImageIO" -framework "MediaPlayer" -framework "QuartzCore" -framework "XCTest" -weak_framework "Photos" -PODS_ROOT = ${SRCROOT}/Pods \ No newline at end of file +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DACircularProgress/DACircularProgress.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta+Snapshots/Expecta_Snapshots.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Expecta/Expecta.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/FBSnapshotTestCase/FBSnapshotTestCase.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MBProgressHUD/MBProgressHUD.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/MWPhotoBrowser/MWPhotoBrowser.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/SDWebImage/SDWebImage.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/Specta/Specta.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "DACircularProgress" -framework "Expecta" -framework "Expecta_Snapshots" -framework "FBSnapshotTestCase" -framework "MBProgressHUD" -framework "MWPhotoBrowser" -framework "SDWebImage" -framework "Specta" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_PODFILE_DIR_PATH = ${SRCROOT}/. +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m b/Example/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m deleted file mode 100644 index 86d2b5f68..000000000 --- a/Example/Pods/Target Support Files/SDWebImage/SDWebImage-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_SDWebImage : NSObject -@end -@implementation PodsDummy_SDWebImage -@end diff --git a/Example/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch b/Example/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch deleted file mode 100644 index aa992a4ad..000000000 --- a/Example/Pods/Target Support Files/SDWebImage/SDWebImage-prefix.pch +++ /dev/null @@ -1,4 +0,0 @@ -#ifdef __OBJC__ -#import -#endif - diff --git a/Example/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig b/Example/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig deleted file mode 100644 index 99c5f03e0..000000000 --- a/Example/Pods/Target Support Files/SDWebImage/SDWebImage.xcconfig +++ /dev/null @@ -1,5 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/SDWebImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" -OTHER_LDFLAGS = -framework "ImageIO" -PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file diff --git a/Example/Pods/Target Support Files/Specta/Specta-prefix.pch b/Example/Pods/Target Support Files/Specta/Specta-prefix.pch index aa992a4ad..beb2a2441 100644 --- a/Example/Pods/Target Support Files/Specta/Specta-prefix.pch +++ b/Example/Pods/Target Support Files/Specta/Specta-prefix.pch @@ -1,4 +1,12 @@ #ifdef __OBJC__ #import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif #endif diff --git a/Example/Pods/Target Support Files/Specta/Specta.xcconfig b/Example/Pods/Target Support Files/Specta/Specta.xcconfig index 9293e9c92..36155b45c 100644 --- a/Example/Pods/Target Support Files/Specta/Specta.xcconfig +++ b/Example/Pods/Target Support Files/Specta/Specta.xcconfig @@ -1,6 +1,12 @@ -FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" $(inherited) $(DEVELOPER_FRAMEWORKS_DIR) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "$(DEVELOPER_DIR)/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks" +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/Specta +ENABLE_BITCODE = NO +FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Specta" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DACircularProgress" "${PODS_ROOT}/Headers/Public/Expecta" "${PODS_ROOT}/Headers/Public/Expecta+Snapshots" "${PODS_ROOT}/Headers/Public/FBSnapshotTestCase" "${PODS_ROOT}/Headers/Public/MBProgressHUD" "${PODS_ROOT}/Headers/Public/MWPhotoBrowser" "${PODS_ROOT}/Headers/Public/SDWebImage" "${PODS_ROOT}/Headers/Public/Specta" +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" OTHER_LDFLAGS = -framework "Foundation" -framework "XCTest" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} -SKIP_INSTALL = YES \ No newline at end of file +PODS_TARGET_SRCROOT = ${PODS_ROOT}/Specta +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES