From 9ee89474edd3009c812497dd980e41f21211ef7f Mon Sep 17 00:00:00 2001 From: Florent Vilmart Date: Sat, 14 Mar 2015 15:06:39 -0400 Subject: [PATCH] Adds support for iOS 8+ Framework and Carthage Adds Instructions for Carthage installation --- README.md | 26 ++ SDWebImage.xcodeproj/project.pbxproj | 243 ++++++++++++++++++ .../xcshareddata/xcschemes/WebImage.xcscheme | 110 ++++++++ WebImage/Info.plist | 26 ++ WebImage/WebImage.h | 37 +++ 5 files changed, 442 insertions(+) create mode 100644 SDWebImage.xcodeproj/xcshareddata/xcschemes/WebImage.xcscheme create mode 100644 WebImage/Info.plist create mode 100644 WebImage/WebImage.h diff --git a/README.md b/README.md index 771c6275..f458ed03 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Web Image [![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) [![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) This library provides a category for UIImageView with support for remote images coming from the web. @@ -233,6 +234,31 @@ platform :ios, '6.1' pod 'SDWebImage', '~>3.6' ``` +### Installation with Carthage (iOS 8+) + +[Carthage](https://github.com/Carthage/Carthage) is a lightweight dependency manager for Swift and Objective-C. It leverages CocoaTouch modules and ins less invasive than CocoaPods. + +To install with carthage, follow the instruction on [Carthage](https://github.com/Carthage/Carthage) + +#### Cartfile +``` +github "rs/SDWebImage" +``` + +#### Usage +Swift + +``` +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. diff --git a/SDWebImage.xcodeproj/project.pbxproj b/SDWebImage.xcodeproj/project.pbxproj index ae9c4f2c..f56f679f 100644 --- a/SDWebImage.xcodeproj/project.pbxproj +++ b/SDWebImage.xcodeproj/project.pbxproj @@ -22,6 +22,40 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ + 4A2CAE041AB4BB5400B6BC39 /* WebImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A2CAE031AB4BB5400B6BC39 /* WebImage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE181AB4BB6400B6BC39 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D88148C56230056699D /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE191AB4BB6400B6BC39 /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 5340674F167780C40042B59E /* SDWebImageCompat.m */; }; + 4A2CAE1A1AB4BB6400B6BC39 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE1B1AB4BB6800B6BC39 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8B148C56230056699D /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE1C1AB4BB6800B6BC39 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8C148C56230056699D /* SDWebImageDownloader.m */; }; + 4A2CAE1D1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE1E1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */; }; + 4A2CAE1F1AB4BB6C00B6BC39 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D85148C56230056699D /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE201AB4BB6C00B6BC39 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D86148C56230056699D /* SDImageCache.m */; }; + 4A2CAE211AB4BB7000B6BC39 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8E148C56230056699D /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE221AB4BB7000B6BC39 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8F148C56230056699D /* SDWebImageManager.m */; }; + 4A2CAE231AB4BB7000B6BC39 /* SDWebImageDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D89148C56230056699D /* SDWebImageDecoder.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE241AB4BB7000B6BC39 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8A148C56230056699D /* SDWebImageDecoder.m */; }; + 4A2CAE251AB4BB7000B6BC39 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D91148C56230056699D /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE261AB4BB7000B6BC39 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D92148C56230056699D /* SDWebImagePrefetcher.m */; }; + 4A2CAE271AB4BB7500B6BC39 /* MKAnnotationView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 535699B415113E7300A4C397 /* MKAnnotationView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE281AB4BB7500B6BC39 /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 535699B515113E7300A4C397 /* MKAnnotationView+WebCache.m */; }; + 4A2CAE291AB4BB7500B6BC39 /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE2A1AB4BB7500B6BC39 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */; }; + 4A2CAE2B1AB4BB7500B6BC39 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D93148C56230056699D /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE2C1AB4BB7500B6BC39 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D94148C56230056699D /* UIButton+WebCache.m */; }; + 4A2CAE2D1AB4BB7500B6BC39 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = A18A6CC5172DC28500419892 /* UIImage+GIF.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE2E1AB4BB7500B6BC39 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; }; + 4A2CAE2F1AB4BB7500B6BC39 /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE301AB4BB7500B6BC39 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */; }; + 4A2CAE311AB4BB7500B6BC39 /* UIImage+WebP.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB911762547C00698166 /* UIImage+WebP.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE321AB4BB7500B6BC39 /* UIImage+WebP.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB921762547C00698166 /* UIImage+WebP.m */; }; + 4A2CAE331AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = ABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE341AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; }; + 4A2CAE351AB4BB7500B6BC39 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D95148C56230056699D /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE361AB4BB7500B6BC39 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D96148C56230056699D /* UIImageView+WebCache.m */; }; + 4A2CAE371AB4BB7500B6BC39 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = AB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 4A2CAE381AB4BB7500B6BC39 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; }; 530E49E816464C25002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 530E49E916464C26002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 530E49EA16464C7C002868E7 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; @@ -213,6 +247,9 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 4A2CADFF1AB4BB5300B6BC39 /* WebImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WebImage.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 4A2CAE021AB4BB5400B6BC39 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 4A2CAE031AB4BB5400B6BC39 /* WebImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebImage.h; sourceTree = ""; }; 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloaderOperation.h; sourceTree = ""; }; 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloaderOperation.m; sourceTree = ""; }; 530E49E71646388E002868E7 /* SDWebImageOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDWebImageOperation.h; sourceTree = ""; }; @@ -331,6 +368,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 4A2CADFB1AB4BB5300B6BC39 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 531041CC157EAFA400BBABC3 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -364,10 +408,28 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 4A2CAE001AB4BB5300B6BC39 /* WebImage */ = { + isa = PBXGroup; + children = ( + 4A2CAE031AB4BB5400B6BC39 /* WebImage.h */, + 4A2CAE011AB4BB5400B6BC39 /* Supporting Files */, + ); + path = WebImage; + sourceTree = ""; + }; + 4A2CAE011AB4BB5400B6BC39 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 4A2CAE021AB4BB5400B6BC39 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; 53922D64148C55810056699D = { isa = PBXGroup; children = ( 53922D74148C55820056699D /* SDWebImage */, + 4A2CAE001AB4BB5300B6BC39 /* WebImage */, 53922D71148C55820056699D /* Frameworks */, 53922D70148C55820056699D /* Products */, ); @@ -380,6 +442,7 @@ 53761325155AD0D5005750A4 /* libSDWebImage.a */, 531041E0157EAFA400BBABC3 /* libSDWebImage+MKAnnotation.a */, 537D95C117ECC1FE0097C263 /* libSDWebImage+WebP.a */, + 4A2CADFF1AB4BB5300B6BC39 /* WebImage.framework */, ); name = Products; sourceTree = ""; @@ -594,6 +657,31 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ + 4A2CADFC1AB4BB5300B6BC39 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4A2CAE041AB4BB5400B6BC39 /* WebImage.h in Headers */, + 4A2CAE211AB4BB7000B6BC39 /* SDWebImageManager.h in Headers */, + 4A2CAE1F1AB4BB6C00B6BC39 /* SDImageCache.h in Headers */, + 4A2CAE351AB4BB7500B6BC39 /* UIImageView+WebCache.h in Headers */, + 4A2CAE181AB4BB6400B6BC39 /* SDWebImageCompat.h in Headers */, + 4A2CAE331AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.h in Headers */, + 4A2CAE1D1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.h in Headers */, + 4A2CAE2B1AB4BB7500B6BC39 /* UIButton+WebCache.h in Headers */, + 4A2CAE251AB4BB7000B6BC39 /* SDWebImagePrefetcher.h in Headers */, + 4A2CAE371AB4BB7500B6BC39 /* UIView+WebCacheOperation.h in Headers */, + 4A2CAE2F1AB4BB7500B6BC39 /* UIImage+MultiFormat.h in Headers */, + 4A2CAE1A1AB4BB6400B6BC39 /* SDWebImageOperation.h in Headers */, + 4A2CAE1B1AB4BB6800B6BC39 /* SDWebImageDownloader.h in Headers */, + 4A2CAE271AB4BB7500B6BC39 /* MKAnnotationView+WebCache.h in Headers */, + 4A2CAE231AB4BB7000B6BC39 /* SDWebImageDecoder.h in Headers */, + 4A2CAE311AB4BB7500B6BC39 /* UIImage+WebP.h in Headers */, + 4A2CAE2D1AB4BB7500B6BC39 /* UIImage+GIF.h in Headers */, + 4A2CAE291AB4BB7500B6BC39 /* NSData+ImageContentType.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 531041D0157EAFA400BBABC3 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; @@ -697,6 +785,24 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 4A2CADFE1AB4BB5300B6BC39 /* WebImage */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4A2CAE121AB4BB5400B6BC39 /* Build configuration list for PBXNativeTarget "WebImage" */; + buildPhases = ( + 4A2CADFA1AB4BB5300B6BC39 /* Sources */, + 4A2CADFB1AB4BB5300B6BC39 /* Frameworks */, + 4A2CADFC1AB4BB5300B6BC39 /* Headers */, + 4A2CADFD1AB4BB5300B6BC39 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = WebImage; + productName = WebImage; + productReference = 4A2CADFF1AB4BB5300B6BC39 /* WebImage.framework */; + productType = "com.apple.product-type.framework"; + }; 531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */ = { isa = PBXNativeTarget; buildConfigurationList = 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget "SDWebImage+MKAnnotation" */; @@ -758,6 +864,11 @@ attributes = { LastUpgradeCheck = 0510; ORGANIZATIONNAME = Dailymotion; + TargetAttributes = { + 4A2CADFE1AB4BB5300B6BC39 = { + CreatedOnToolsVersion = 6.3; + }; + }; }; buildConfigurationList = 53922D69148C55810056699D /* Build configuration list for PBXProject "SDWebImage" */; compatibilityVersion = "Xcode 3.2"; @@ -775,10 +886,21 @@ 537D957317ECC1FE0097C263 /* SDWebImage+WebP */, 531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */, 539F912B16316D2D00160719 /* SDWebImageFramework */, + 4A2CADFE1AB4BB5300B6BC39 /* WebImage */, ); }; /* End PBXProject section */ +/* Begin PBXResourcesBuildPhase section */ + 4A2CADFD1AB4BB5300B6BC39 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + /* Begin PBXShellScriptBuildPhase section */ 537D95BD17ECC1FE0097C263 /* Prepare Framework */ = { isa = PBXShellScriptBuildPhase; @@ -825,6 +947,29 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 4A2CADFA1AB4BB5300B6BC39 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4A2CAE2E1AB4BB7500B6BC39 /* UIImage+GIF.m in Sources */, + 4A2CAE321AB4BB7500B6BC39 /* UIImage+WebP.m in Sources */, + 4A2CAE361AB4BB7500B6BC39 /* UIImageView+WebCache.m in Sources */, + 4A2CAE1E1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.m in Sources */, + 4A2CAE281AB4BB7500B6BC39 /* MKAnnotationView+WebCache.m in Sources */, + 4A2CAE261AB4BB7000B6BC39 /* SDWebImagePrefetcher.m in Sources */, + 4A2CAE301AB4BB7500B6BC39 /* UIImage+MultiFormat.m in Sources */, + 4A2CAE1C1AB4BB6800B6BC39 /* SDWebImageDownloader.m in Sources */, + 4A2CAE2A1AB4BB7500B6BC39 /* NSData+ImageContentType.m in Sources */, + 4A2CAE221AB4BB7000B6BC39 /* SDWebImageManager.m in Sources */, + 4A2CAE191AB4BB6400B6BC39 /* SDWebImageCompat.m in Sources */, + 4A2CAE2C1AB4BB7500B6BC39 /* UIButton+WebCache.m in Sources */, + 4A2CAE381AB4BB7500B6BC39 /* UIView+WebCacheOperation.m in Sources */, + 4A2CAE241AB4BB7000B6BC39 /* SDWebImageDecoder.m in Sources */, + 4A2CAE341AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.m in Sources */, + 4A2CAE201AB4BB6C00B6BC39 /* SDImageCache.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 531041C3157EAFA400BBABC3 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -947,6 +1092,96 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 4A2CAE131AB4BB5400B6BC39 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = WebImage/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = WebImage.framework/Headers; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 4A2CAE141AB4BB5400B6BC39 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = WebImage/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = "$(TARGET_NAME)"; + PUBLIC_HEADERS_FOLDER_PATH = WebImage.framework/Headers; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; 531041DE157EAFA400BBABC3 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1173,6 +1408,14 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 4A2CAE121AB4BB5400B6BC39 /* Build configuration list for PBXNativeTarget "WebImage" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4A2CAE131AB4BB5400B6BC39 /* Debug */, + 4A2CAE141AB4BB5400B6BC39 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget "SDWebImage+MKAnnotation" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/SDWebImage.xcodeproj/xcshareddata/xcschemes/WebImage.xcscheme b/SDWebImage.xcodeproj/xcshareddata/xcschemes/WebImage.xcscheme new file mode 100644 index 00000000..eff4eec2 --- /dev/null +++ b/SDWebImage.xcodeproj/xcshareddata/xcschemes/WebImage.xcscheme @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WebImage/Info.plist b/WebImage/Info.plist new file mode 100644 index 00000000..28c26717 --- /dev/null +++ b/WebImage/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.dailymotion.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/WebImage/WebImage.h b/WebImage/WebImage.h new file mode 100644 index 00000000..8f460c20 --- /dev/null +++ b/WebImage/WebImage.h @@ -0,0 +1,37 @@ +// +// WebImage.h +// WebImage +// +// Created by Florent Vilmart on 2015-03-14. +// Copyright (c) 2015 Dailymotion. All rights reserved. +// + +#import + +//! Project version number for WebImage. +FOUNDATION_EXPORT double WebImageVersionNumber; + +//! Project version string for WebImage. +FOUNDATION_EXPORT const unsigned char WebImageVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + + +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import +#import \ No newline at end of file