Authored by Bogdan Poplauschi

Merge pull request #1071 from flovilmart/Carthage

Adds support for iOS 8+ Framework and Carthage
@@ -6,6 +6,7 @@ Web Image @@ -6,6 +6,7 @@ Web Image
6 [![Pod License](http://img.shields.io/cocoapods/l/SDWebImage.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html) 6 [![Pod License](http://img.shields.io/cocoapods/l/SDWebImage.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)
7 [![Dependency Status](https://www.versioneye.com/objective-c/sdwebimage/3.3/badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/3.3) 7 [![Dependency Status](https://www.versioneye.com/objective-c/sdwebimage/3.3/badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/3.3)
8 [![Reference Status](https://www.versioneye.com/objective-c/sdwebimage/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/references) 8 [![Reference Status](https://www.versioneye.com/objective-c/sdwebimage/reference_badge.svg?style=flat)](https://www.versioneye.com/objective-c/sdwebimage/references)
  9 +[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/rs/SDWebImage)
9 10
10 This library provides a category for UIImageView with support for remote images coming from the web. 11 This library provides a category for UIImageView with support for remote images coming from the web.
11 12
@@ -231,6 +232,31 @@ platform :ios, '6.1' @@ -231,6 +232,31 @@ platform :ios, '6.1'
231 pod 'SDWebImage', '~>3.6' 232 pod 'SDWebImage', '~>3.6'
232 ``` 233 ```
233 234
  235 +### Installation with Carthage (iOS 8+)
  236 +
  237 +[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.
  238 +
  239 +To install with carthage, follow the instruction on [Carthage](https://github.com/Carthage/Carthage)
  240 +
  241 +#### Cartfile
  242 +```
  243 +github "rs/SDWebImage"
  244 +```
  245 +
  246 +#### Usage
  247 +Swift
  248 +
  249 +```
  250 +import WebImage
  251 +
  252 +```
  253 +
  254 +Objective-C
  255 +
  256 +```
  257 +@import WebImage;
  258 +```
  259 +
234 ### Installation by cloning the repository 260 ### Installation by cloning the repository
235 261
236 In order to gain access to all the files from the repository, you should clone it. 262 In order to gain access to all the files from the repository, you should clone it.
@@ -22,6 +22,40 @@ @@ -22,6 +22,40 @@
22 /* End PBXAggregateTarget section */ 22 /* End PBXAggregateTarget section */
23 23
24 /* Begin PBXBuildFile section */ 24 /* Begin PBXBuildFile section */
  25 + 4A2CAE041AB4BB5400B6BC39 /* WebImage.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A2CAE031AB4BB5400B6BC39 /* WebImage.h */; settings = {ATTRIBUTES = (Public, ); }; };
  26 + 4A2CAE181AB4BB6400B6BC39 /* SDWebImageCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D88148C56230056699D /* SDWebImageCompat.h */; settings = {ATTRIBUTES = (Public, ); }; };
  27 + 4A2CAE191AB4BB6400B6BC39 /* SDWebImageCompat.m in Sources */ = {isa = PBXBuildFile; fileRef = 5340674F167780C40042B59E /* SDWebImageCompat.m */; };
  28 + 4A2CAE1A1AB4BB6400B6BC39 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
  29 + 4A2CAE1B1AB4BB6800B6BC39 /* SDWebImageDownloader.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8B148C56230056699D /* SDWebImageDownloader.h */; settings = {ATTRIBUTES = (Public, ); }; };
  30 + 4A2CAE1C1AB4BB6800B6BC39 /* SDWebImageDownloader.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8C148C56230056699D /* SDWebImageDownloader.m */; };
  31 + 4A2CAE1D1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
  32 + 4A2CAE1E1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */; };
  33 + 4A2CAE1F1AB4BB6C00B6BC39 /* SDImageCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D85148C56230056699D /* SDImageCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
  34 + 4A2CAE201AB4BB6C00B6BC39 /* SDImageCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D86148C56230056699D /* SDImageCache.m */; };
  35 + 4A2CAE211AB4BB7000B6BC39 /* SDWebImageManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D8E148C56230056699D /* SDWebImageManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
  36 + 4A2CAE221AB4BB7000B6BC39 /* SDWebImageManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8F148C56230056699D /* SDWebImageManager.m */; };
  37 + 4A2CAE231AB4BB7000B6BC39 /* SDWebImageDecoder.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D89148C56230056699D /* SDWebImageDecoder.h */; settings = {ATTRIBUTES = (Public, ); }; };
  38 + 4A2CAE241AB4BB7000B6BC39 /* SDWebImageDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D8A148C56230056699D /* SDWebImageDecoder.m */; };
  39 + 4A2CAE251AB4BB7000B6BC39 /* SDWebImagePrefetcher.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D91148C56230056699D /* SDWebImagePrefetcher.h */; settings = {ATTRIBUTES = (Public, ); }; };
  40 + 4A2CAE261AB4BB7000B6BC39 /* SDWebImagePrefetcher.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D92148C56230056699D /* SDWebImagePrefetcher.m */; };
  41 + 4A2CAE271AB4BB7500B6BC39 /* MKAnnotationView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 535699B415113E7300A4C397 /* MKAnnotationView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
  42 + 4A2CAE281AB4BB7500B6BC39 /* MKAnnotationView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 535699B515113E7300A4C397 /* MKAnnotationView+WebCache.m */; };
  43 + 4A2CAE291AB4BB7500B6BC39 /* NSData+ImageContentType.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D5B9140188EE8DD006D06BD /* NSData+ImageContentType.h */; settings = {ATTRIBUTES = (Public, ); }; };
  44 + 4A2CAE2A1AB4BB7500B6BC39 /* NSData+ImageContentType.m in Sources */ = {isa = PBXBuildFile; fileRef = 5D5B9141188EE8DD006D06BD /* NSData+ImageContentType.m */; };
  45 + 4A2CAE2B1AB4BB7500B6BC39 /* UIButton+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D93148C56230056699D /* UIButton+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
  46 + 4A2CAE2C1AB4BB7500B6BC39 /* UIButton+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D94148C56230056699D /* UIButton+WebCache.m */; };
  47 + 4A2CAE2D1AB4BB7500B6BC39 /* UIImage+GIF.h in Headers */ = {isa = PBXBuildFile; fileRef = A18A6CC5172DC28500419892 /* UIImage+GIF.h */; settings = {ATTRIBUTES = (Public, ); }; };
  48 + 4A2CAE2E1AB4BB7500B6BC39 /* UIImage+GIF.m in Sources */ = {isa = PBXBuildFile; fileRef = A18A6CC6172DC28500419892 /* UIImage+GIF.m */; };
  49 + 4A2CAE2F1AB4BB7500B6BC39 /* UIImage+MultiFormat.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB8817623F7C00698166 /* UIImage+MultiFormat.h */; settings = {ATTRIBUTES = (Public, ); }; };
  50 + 4A2CAE301AB4BB7500B6BC39 /* UIImage+MultiFormat.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB8917623F7C00698166 /* UIImage+MultiFormat.m */; };
  51 + 4A2CAE311AB4BB7500B6BC39 /* UIImage+WebP.h in Headers */ = {isa = PBXBuildFile; fileRef = 53EDFB911762547C00698166 /* UIImage+WebP.h */; settings = {ATTRIBUTES = (Public, ); }; };
  52 + 4A2CAE321AB4BB7500B6BC39 /* UIImage+WebP.m in Sources */ = {isa = PBXBuildFile; fileRef = 53EDFB921762547C00698166 /* UIImage+WebP.m */; };
  53 + 4A2CAE331AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = ABBE71A518C43B4D00B75E91 /* UIImageView+HighlightedWebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
  54 + 4A2CAE341AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = ABBE71A618C43B4D00B75E91 /* UIImageView+HighlightedWebCache.m */; };
  55 + 4A2CAE351AB4BB7500B6BC39 /* UIImageView+WebCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 53922D95148C56230056699D /* UIImageView+WebCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
  56 + 4A2CAE361AB4BB7500B6BC39 /* UIImageView+WebCache.m in Sources */ = {isa = PBXBuildFile; fileRef = 53922D96148C56230056699D /* UIImageView+WebCache.m */; };
  57 + 4A2CAE371AB4BB7500B6BC39 /* UIView+WebCacheOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = AB615301192DA24600A2D8E9 /* UIView+WebCacheOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
  58 + 4A2CAE381AB4BB7500B6BC39 /* UIView+WebCacheOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = AB615302192DA24600A2D8E9 /* UIView+WebCacheOperation.m */; };
25 530E49E816464C25002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 59 530E49E816464C25002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
26 530E49E916464C26002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 60 530E49E916464C26002868E7 /* SDWebImageOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E71646388E002868E7 /* SDWebImageOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
27 530E49EA16464C7C002868E7 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; }; 61 530E49EA16464C7C002868E7 /* SDWebImageDownloaderOperation.h in Headers */ = {isa = PBXBuildFile; fileRef = 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -213,6 +247,9 @@ @@ -213,6 +247,9 @@
213 /* End PBXContainerItemProxy section */ 247 /* End PBXContainerItemProxy section */
214 248
215 /* Begin PBXFileReference section */ 249 /* Begin PBXFileReference section */
  250 + 4A2CADFF1AB4BB5300B6BC39 /* WebImage.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WebImage.framework; sourceTree = BUILT_PRODUCTS_DIR; };
  251 + 4A2CAE021AB4BB5400B6BC39 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
  252 + 4A2CAE031AB4BB5400B6BC39 /* WebImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebImage.h; sourceTree = "<group>"; };
216 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloaderOperation.h; sourceTree = "<group>"; }; 253 530E49E316460AE2002868E7 /* SDWebImageDownloaderOperation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDWebImageDownloaderOperation.h; sourceTree = "<group>"; };
217 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloaderOperation.m; sourceTree = "<group>"; }; 254 530E49E416460AE2002868E7 /* SDWebImageDownloaderOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDWebImageDownloaderOperation.m; sourceTree = "<group>"; };
218 530E49E71646388E002868E7 /* SDWebImageOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDWebImageOperation.h; sourceTree = "<group>"; }; 255 530E49E71646388E002868E7 /* SDWebImageOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SDWebImageOperation.h; sourceTree = "<group>"; };
@@ -331,6 +368,13 @@ @@ -331,6 +368,13 @@
331 /* End PBXFileReference section */ 368 /* End PBXFileReference section */
332 369
333 /* Begin PBXFrameworksBuildPhase section */ 370 /* Begin PBXFrameworksBuildPhase section */
  371 + 4A2CADFB1AB4BB5300B6BC39 /* Frameworks */ = {
  372 + isa = PBXFrameworksBuildPhase;
  373 + buildActionMask = 2147483647;
  374 + files = (
  375 + );
  376 + runOnlyForDeploymentPostprocessing = 0;
  377 + };
334 531041CC157EAFA400BBABC3 /* Frameworks */ = { 378 531041CC157EAFA400BBABC3 /* Frameworks */ = {
335 isa = PBXFrameworksBuildPhase; 379 isa = PBXFrameworksBuildPhase;
336 buildActionMask = 2147483647; 380 buildActionMask = 2147483647;
@@ -364,10 +408,28 @@ @@ -364,10 +408,28 @@
364 /* End PBXFrameworksBuildPhase section */ 408 /* End PBXFrameworksBuildPhase section */
365 409
366 /* Begin PBXGroup section */ 410 /* Begin PBXGroup section */
  411 + 4A2CAE001AB4BB5300B6BC39 /* WebImage */ = {
  412 + isa = PBXGroup;
  413 + children = (
  414 + 4A2CAE031AB4BB5400B6BC39 /* WebImage.h */,
  415 + 4A2CAE011AB4BB5400B6BC39 /* Supporting Files */,
  416 + );
  417 + path = WebImage;
  418 + sourceTree = "<group>";
  419 + };
  420 + 4A2CAE011AB4BB5400B6BC39 /* Supporting Files */ = {
  421 + isa = PBXGroup;
  422 + children = (
  423 + 4A2CAE021AB4BB5400B6BC39 /* Info.plist */,
  424 + );
  425 + name = "Supporting Files";
  426 + sourceTree = "<group>";
  427 + };
367 53922D64148C55810056699D = { 428 53922D64148C55810056699D = {
368 isa = PBXGroup; 429 isa = PBXGroup;
369 children = ( 430 children = (
370 53922D74148C55820056699D /* SDWebImage */, 431 53922D74148C55820056699D /* SDWebImage */,
  432 + 4A2CAE001AB4BB5300B6BC39 /* WebImage */,
371 53922D71148C55820056699D /* Frameworks */, 433 53922D71148C55820056699D /* Frameworks */,
372 53922D70148C55820056699D /* Products */, 434 53922D70148C55820056699D /* Products */,
373 ); 435 );
@@ -380,6 +442,7 @@ @@ -380,6 +442,7 @@
380 53761325155AD0D5005750A4 /* libSDWebImage.a */, 442 53761325155AD0D5005750A4 /* libSDWebImage.a */,
381 531041E0157EAFA400BBABC3 /* libSDWebImage+MKAnnotation.a */, 443 531041E0157EAFA400BBABC3 /* libSDWebImage+MKAnnotation.a */,
382 537D95C117ECC1FE0097C263 /* libSDWebImage+WebP.a */, 444 537D95C117ECC1FE0097C263 /* libSDWebImage+WebP.a */,
  445 + 4A2CADFF1AB4BB5300B6BC39 /* WebImage.framework */,
383 ); 446 );
384 name = Products; 447 name = Products;
385 sourceTree = "<group>"; 448 sourceTree = "<group>";
@@ -594,6 +657,31 @@ @@ -594,6 +657,31 @@
594 /* End PBXGroup section */ 657 /* End PBXGroup section */
595 658
596 /* Begin PBXHeadersBuildPhase section */ 659 /* Begin PBXHeadersBuildPhase section */
  660 + 4A2CADFC1AB4BB5300B6BC39 /* Headers */ = {
  661 + isa = PBXHeadersBuildPhase;
  662 + buildActionMask = 2147483647;
  663 + files = (
  664 + 4A2CAE041AB4BB5400B6BC39 /* WebImage.h in Headers */,
  665 + 4A2CAE211AB4BB7000B6BC39 /* SDWebImageManager.h in Headers */,
  666 + 4A2CAE1F1AB4BB6C00B6BC39 /* SDImageCache.h in Headers */,
  667 + 4A2CAE351AB4BB7500B6BC39 /* UIImageView+WebCache.h in Headers */,
  668 + 4A2CAE181AB4BB6400B6BC39 /* SDWebImageCompat.h in Headers */,
  669 + 4A2CAE331AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.h in Headers */,
  670 + 4A2CAE1D1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.h in Headers */,
  671 + 4A2CAE2B1AB4BB7500B6BC39 /* UIButton+WebCache.h in Headers */,
  672 + 4A2CAE251AB4BB7000B6BC39 /* SDWebImagePrefetcher.h in Headers */,
  673 + 4A2CAE371AB4BB7500B6BC39 /* UIView+WebCacheOperation.h in Headers */,
  674 + 4A2CAE2F1AB4BB7500B6BC39 /* UIImage+MultiFormat.h in Headers */,
  675 + 4A2CAE1A1AB4BB6400B6BC39 /* SDWebImageOperation.h in Headers */,
  676 + 4A2CAE1B1AB4BB6800B6BC39 /* SDWebImageDownloader.h in Headers */,
  677 + 4A2CAE271AB4BB7500B6BC39 /* MKAnnotationView+WebCache.h in Headers */,
  678 + 4A2CAE231AB4BB7000B6BC39 /* SDWebImageDecoder.h in Headers */,
  679 + 4A2CAE311AB4BB7500B6BC39 /* UIImage+WebP.h in Headers */,
  680 + 4A2CAE2D1AB4BB7500B6BC39 /* UIImage+GIF.h in Headers */,
  681 + 4A2CAE291AB4BB7500B6BC39 /* NSData+ImageContentType.h in Headers */,
  682 + );
  683 + runOnlyForDeploymentPostprocessing = 0;
  684 + };
597 531041D0157EAFA400BBABC3 /* Headers */ = { 685 531041D0157EAFA400BBABC3 /* Headers */ = {
598 isa = PBXHeadersBuildPhase; 686 isa = PBXHeadersBuildPhase;
599 buildActionMask = 2147483647; 687 buildActionMask = 2147483647;
@@ -697,6 +785,24 @@ @@ -697,6 +785,24 @@
697 /* End PBXHeadersBuildPhase section */ 785 /* End PBXHeadersBuildPhase section */
698 786
699 /* Begin PBXNativeTarget section */ 787 /* Begin PBXNativeTarget section */
  788 + 4A2CADFE1AB4BB5300B6BC39 /* WebImage */ = {
  789 + isa = PBXNativeTarget;
  790 + buildConfigurationList = 4A2CAE121AB4BB5400B6BC39 /* Build configuration list for PBXNativeTarget "WebImage" */;
  791 + buildPhases = (
  792 + 4A2CADFA1AB4BB5300B6BC39 /* Sources */,
  793 + 4A2CADFB1AB4BB5300B6BC39 /* Frameworks */,
  794 + 4A2CADFC1AB4BB5300B6BC39 /* Headers */,
  795 + 4A2CADFD1AB4BB5300B6BC39 /* Resources */,
  796 + );
  797 + buildRules = (
  798 + );
  799 + dependencies = (
  800 + );
  801 + name = WebImage;
  802 + productName = WebImage;
  803 + productReference = 4A2CADFF1AB4BB5300B6BC39 /* WebImage.framework */;
  804 + productType = "com.apple.product-type.framework";
  805 + };
700 531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */ = { 806 531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */ = {
701 isa = PBXNativeTarget; 807 isa = PBXNativeTarget;
702 buildConfigurationList = 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget "SDWebImage+MKAnnotation" */; 808 buildConfigurationList = 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget "SDWebImage+MKAnnotation" */;
@@ -758,6 +864,11 @@ @@ -758,6 +864,11 @@
758 attributes = { 864 attributes = {
759 LastUpgradeCheck = 0510; 865 LastUpgradeCheck = 0510;
760 ORGANIZATIONNAME = Dailymotion; 866 ORGANIZATIONNAME = Dailymotion;
  867 + TargetAttributes = {
  868 + 4A2CADFE1AB4BB5300B6BC39 = {
  869 + CreatedOnToolsVersion = 6.3;
  870 + };
  871 + };
761 }; 872 };
762 buildConfigurationList = 53922D69148C55810056699D /* Build configuration list for PBXProject "SDWebImage" */; 873 buildConfigurationList = 53922D69148C55810056699D /* Build configuration list for PBXProject "SDWebImage" */;
763 compatibilityVersion = "Xcode 3.2"; 874 compatibilityVersion = "Xcode 3.2";
@@ -775,10 +886,21 @@ @@ -775,10 +886,21 @@
775 537D957317ECC1FE0097C263 /* SDWebImage+WebP */, 886 537D957317ECC1FE0097C263 /* SDWebImage+WebP */,
776 531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */, 887 531041C2157EAFA400BBABC3 /* SDWebImage+MKAnnotation */,
777 539F912B16316D2D00160719 /* SDWebImageFramework */, 888 539F912B16316D2D00160719 /* SDWebImageFramework */,
  889 + 4A2CADFE1AB4BB5300B6BC39 /* WebImage */,
778 ); 890 );
779 }; 891 };
780 /* End PBXProject section */ 892 /* End PBXProject section */
781 893
  894 +/* Begin PBXResourcesBuildPhase section */
  895 + 4A2CADFD1AB4BB5300B6BC39 /* Resources */ = {
  896 + isa = PBXResourcesBuildPhase;
  897 + buildActionMask = 2147483647;
  898 + files = (
  899 + );
  900 + runOnlyForDeploymentPostprocessing = 0;
  901 + };
  902 +/* End PBXResourcesBuildPhase section */
  903 +
782 /* Begin PBXShellScriptBuildPhase section */ 904 /* Begin PBXShellScriptBuildPhase section */
783 537D95BD17ECC1FE0097C263 /* Prepare Framework */ = { 905 537D95BD17ECC1FE0097C263 /* Prepare Framework */ = {
784 isa = PBXShellScriptBuildPhase; 906 isa = PBXShellScriptBuildPhase;
@@ -825,6 +947,29 @@ @@ -825,6 +947,29 @@
825 /* End PBXShellScriptBuildPhase section */ 947 /* End PBXShellScriptBuildPhase section */
826 948
827 /* Begin PBXSourcesBuildPhase section */ 949 /* Begin PBXSourcesBuildPhase section */
  950 + 4A2CADFA1AB4BB5300B6BC39 /* Sources */ = {
  951 + isa = PBXSourcesBuildPhase;
  952 + buildActionMask = 2147483647;
  953 + files = (
  954 + 4A2CAE2E1AB4BB7500B6BC39 /* UIImage+GIF.m in Sources */,
  955 + 4A2CAE321AB4BB7500B6BC39 /* UIImage+WebP.m in Sources */,
  956 + 4A2CAE361AB4BB7500B6BC39 /* UIImageView+WebCache.m in Sources */,
  957 + 4A2CAE1E1AB4BB6800B6BC39 /* SDWebImageDownloaderOperation.m in Sources */,
  958 + 4A2CAE281AB4BB7500B6BC39 /* MKAnnotationView+WebCache.m in Sources */,
  959 + 4A2CAE261AB4BB7000B6BC39 /* SDWebImagePrefetcher.m in Sources */,
  960 + 4A2CAE301AB4BB7500B6BC39 /* UIImage+MultiFormat.m in Sources */,
  961 + 4A2CAE1C1AB4BB6800B6BC39 /* SDWebImageDownloader.m in Sources */,
  962 + 4A2CAE2A1AB4BB7500B6BC39 /* NSData+ImageContentType.m in Sources */,
  963 + 4A2CAE221AB4BB7000B6BC39 /* SDWebImageManager.m in Sources */,
  964 + 4A2CAE191AB4BB6400B6BC39 /* SDWebImageCompat.m in Sources */,
  965 + 4A2CAE2C1AB4BB7500B6BC39 /* UIButton+WebCache.m in Sources */,
  966 + 4A2CAE381AB4BB7500B6BC39 /* UIView+WebCacheOperation.m in Sources */,
  967 + 4A2CAE241AB4BB7000B6BC39 /* SDWebImageDecoder.m in Sources */,
  968 + 4A2CAE341AB4BB7500B6BC39 /* UIImageView+HighlightedWebCache.m in Sources */,
  969 + 4A2CAE201AB4BB6C00B6BC39 /* SDImageCache.m in Sources */,
  970 + );
  971 + runOnlyForDeploymentPostprocessing = 0;
  972 + };
828 531041C3157EAFA400BBABC3 /* Sources */ = { 973 531041C3157EAFA400BBABC3 /* Sources */ = {
829 isa = PBXSourcesBuildPhase; 974 isa = PBXSourcesBuildPhase;
830 buildActionMask = 2147483647; 975 buildActionMask = 2147483647;
@@ -947,6 +1092,96 @@ @@ -947,6 +1092,96 @@
947 /* End PBXTargetDependency section */ 1092 /* End PBXTargetDependency section */
948 1093
949 /* Begin XCBuildConfiguration section */ 1094 /* Begin XCBuildConfiguration section */
  1095 + 4A2CAE131AB4BB5400B6BC39 /* Debug */ = {
  1096 + isa = XCBuildConfiguration;
  1097 + buildSettings = {
  1098 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  1099 + CLANG_CXX_LIBRARY = "libc++";
  1100 + CLANG_ENABLE_MODULES = YES;
  1101 + CLANG_ENABLE_OBJC_ARC = YES;
  1102 + CLANG_WARN_BOOL_CONVERSION = YES;
  1103 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  1104 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  1105 + CLANG_WARN_EMPTY_BODY = YES;
  1106 + CLANG_WARN_ENUM_CONVERSION = YES;
  1107 + CLANG_WARN_INT_CONVERSION = YES;
  1108 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  1109 + CLANG_WARN_UNREACHABLE_CODE = YES;
  1110 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  1111 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  1112 + CURRENT_PROJECT_VERSION = 1;
  1113 + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  1114 + DEFINES_MODULE = YES;
  1115 + DYLIB_COMPATIBILITY_VERSION = 1;
  1116 + DYLIB_CURRENT_VERSION = 1;
  1117 + DYLIB_INSTALL_NAME_BASE = "@rpath";
  1118 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  1119 + GCC_C_LANGUAGE_STANDARD = gnu99;
  1120 + GCC_NO_COMMON_BLOCKS = YES;
  1121 + GCC_PREPROCESSOR_DEFINITIONS = (
  1122 + "DEBUG=1",
  1123 + "$(inherited)",
  1124 + );
  1125 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  1126 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  1127 + INFOPLIST_FILE = WebImage/Info.plist;
  1128 + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
  1129 + IPHONEOS_DEPLOYMENT_TARGET = 8.3;
  1130 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1131 + MTL_ENABLE_DEBUG_INFO = YES;
  1132 + PRODUCT_NAME = "$(TARGET_NAME)";
  1133 + PUBLIC_HEADERS_FOLDER_PATH = WebImage.framework/Headers;
  1134 + SKIP_INSTALL = YES;
  1135 + TARGETED_DEVICE_FAMILY = "1,2";
  1136 + VERSIONING_SYSTEM = "apple-generic";
  1137 + VERSION_INFO_PREFIX = "";
  1138 + };
  1139 + name = Debug;
  1140 + };
  1141 + 4A2CAE141AB4BB5400B6BC39 /* Release */ = {
  1142 + isa = XCBuildConfiguration;
  1143 + buildSettings = {
  1144 + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
  1145 + CLANG_CXX_LIBRARY = "libc++";
  1146 + CLANG_ENABLE_MODULES = YES;
  1147 + CLANG_ENABLE_OBJC_ARC = YES;
  1148 + CLANG_WARN_BOOL_CONVERSION = YES;
  1149 + CLANG_WARN_CONSTANT_CONVERSION = YES;
  1150 + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
  1151 + CLANG_WARN_EMPTY_BODY = YES;
  1152 + CLANG_WARN_ENUM_CONVERSION = YES;
  1153 + CLANG_WARN_INT_CONVERSION = YES;
  1154 + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
  1155 + CLANG_WARN_UNREACHABLE_CODE = YES;
  1156 + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
  1157 + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
  1158 + COPY_PHASE_STRIP = NO;
  1159 + CURRENT_PROJECT_VERSION = 1;
  1160 + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
  1161 + DEFINES_MODULE = YES;
  1162 + DYLIB_COMPATIBILITY_VERSION = 1;
  1163 + DYLIB_CURRENT_VERSION = 1;
  1164 + DYLIB_INSTALL_NAME_BASE = "@rpath";
  1165 + ENABLE_NS_ASSERTIONS = NO;
  1166 + ENABLE_STRICT_OBJC_MSGSEND = YES;
  1167 + GCC_C_LANGUAGE_STANDARD = gnu99;
  1168 + GCC_NO_COMMON_BLOCKS = YES;
  1169 + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
  1170 + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
  1171 + INFOPLIST_FILE = WebImage/Info.plist;
  1172 + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
  1173 + IPHONEOS_DEPLOYMENT_TARGET = 8.3;
  1174 + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
  1175 + MTL_ENABLE_DEBUG_INFO = NO;
  1176 + PRODUCT_NAME = "$(TARGET_NAME)";
  1177 + PUBLIC_HEADERS_FOLDER_PATH = WebImage.framework/Headers;
  1178 + SKIP_INSTALL = YES;
  1179 + TARGETED_DEVICE_FAMILY = "1,2";
  1180 + VERSIONING_SYSTEM = "apple-generic";
  1181 + VERSION_INFO_PREFIX = "";
  1182 + };
  1183 + name = Release;
  1184 + };
950 531041DE157EAFA400BBABC3 /* Debug */ = { 1185 531041DE157EAFA400BBABC3 /* Debug */ = {
951 isa = XCBuildConfiguration; 1186 isa = XCBuildConfiguration;
952 buildSettings = { 1187 buildSettings = {
@@ -1173,6 +1408,14 @@ @@ -1173,6 +1408,14 @@
1173 /* End XCBuildConfiguration section */ 1408 /* End XCBuildConfiguration section */
1174 1409
1175 /* Begin XCConfigurationList section */ 1410 /* Begin XCConfigurationList section */
  1411 + 4A2CAE121AB4BB5400B6BC39 /* Build configuration list for PBXNativeTarget "WebImage" */ = {
  1412 + isa = XCConfigurationList;
  1413 + buildConfigurations = (
  1414 + 4A2CAE131AB4BB5400B6BC39 /* Debug */,
  1415 + 4A2CAE141AB4BB5400B6BC39 /* Release */,
  1416 + );
  1417 + defaultConfigurationIsVisible = 0;
  1418 + };
1176 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget "SDWebImage+MKAnnotation" */ = { 1419 531041DD157EAFA400BBABC3 /* Build configuration list for PBXNativeTarget "SDWebImage+MKAnnotation" */ = {
1177 isa = XCConfigurationList; 1420 isa = XCConfigurationList;
1178 buildConfigurations = ( 1421 buildConfigurations = (
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<Scheme
  3 + LastUpgradeVersion = "0630"
  4 + version = "1.3">
  5 + <BuildAction
  6 + parallelizeBuildables = "YES"
  7 + buildImplicitDependencies = "YES">
  8 + <BuildActionEntries>
  9 + <BuildActionEntry
  10 + buildForTesting = "YES"
  11 + buildForRunning = "YES"
  12 + buildForProfiling = "YES"
  13 + buildForArchiving = "YES"
  14 + buildForAnalyzing = "YES">
  15 + <BuildableReference
  16 + BuildableIdentifier = "primary"
  17 + BlueprintIdentifier = "4A2CADFE1AB4BB5300B6BC39"
  18 + BuildableName = "WebImage.framework"
  19 + BlueprintName = "WebImage"
  20 + ReferencedContainer = "container:SDWebImage.xcodeproj">
  21 + </BuildableReference>
  22 + </BuildActionEntry>
  23 + <BuildActionEntry
  24 + buildForTesting = "YES"
  25 + buildForRunning = "YES"
  26 + buildForProfiling = "NO"
  27 + buildForArchiving = "NO"
  28 + buildForAnalyzing = "YES">
  29 + <BuildableReference
  30 + BuildableIdentifier = "primary"
  31 + BlueprintIdentifier = "4A2CAE081AB4BB5400B6BC39"
  32 + BuildableName = "WebImageTests.xctest"
  33 + BlueprintName = "WebImageTests"
  34 + ReferencedContainer = "container:SDWebImage.xcodeproj">
  35 + </BuildableReference>
  36 + </BuildActionEntry>
  37 + </BuildActionEntries>
  38 + </BuildAction>
  39 + <TestAction
  40 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  41 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  42 + shouldUseLaunchSchemeArgsEnv = "YES"
  43 + buildConfiguration = "Debug">
  44 + <Testables>
  45 + <TestableReference
  46 + skipped = "NO">
  47 + <BuildableReference
  48 + BuildableIdentifier = "primary"
  49 + BlueprintIdentifier = "4A2CAE081AB4BB5400B6BC39"
  50 + BuildableName = "WebImageTests.xctest"
  51 + BlueprintName = "WebImageTests"
  52 + ReferencedContainer = "container:SDWebImage.xcodeproj">
  53 + </BuildableReference>
  54 + </TestableReference>
  55 + </Testables>
  56 + <MacroExpansion>
  57 + <BuildableReference
  58 + BuildableIdentifier = "primary"
  59 + BlueprintIdentifier = "4A2CADFE1AB4BB5300B6BC39"
  60 + BuildableName = "WebImage.framework"
  61 + BlueprintName = "WebImage"
  62 + ReferencedContainer = "container:SDWebImage.xcodeproj">
  63 + </BuildableReference>
  64 + </MacroExpansion>
  65 + </TestAction>
  66 + <LaunchAction
  67 + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
  68 + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
  69 + launchStyle = "0"
  70 + useCustomWorkingDirectory = "NO"
  71 + buildConfiguration = "Debug"
  72 + ignoresPersistentStateOnLaunch = "NO"
  73 + debugDocumentVersioning = "YES"
  74 + allowLocationSimulation = "YES">
  75 + <MacroExpansion>
  76 + <BuildableReference
  77 + BuildableIdentifier = "primary"
  78 + BlueprintIdentifier = "4A2CADFE1AB4BB5300B6BC39"
  79 + BuildableName = "WebImage.framework"
  80 + BlueprintName = "WebImage"
  81 + ReferencedContainer = "container:SDWebImage.xcodeproj">
  82 + </BuildableReference>
  83 + </MacroExpansion>
  84 + <AdditionalOptions>
  85 + </AdditionalOptions>
  86 + </LaunchAction>
  87 + <ProfileAction
  88 + shouldUseLaunchSchemeArgsEnv = "YES"
  89 + savedToolIdentifier = ""
  90 + useCustomWorkingDirectory = "NO"
  91 + buildConfiguration = "Release"
  92 + debugDocumentVersioning = "YES">
  93 + <MacroExpansion>
  94 + <BuildableReference
  95 + BuildableIdentifier = "primary"
  96 + BlueprintIdentifier = "4A2CADFE1AB4BB5300B6BC39"
  97 + BuildableName = "WebImage.framework"
  98 + BlueprintName = "WebImage"
  99 + ReferencedContainer = "container:SDWebImage.xcodeproj">
  100 + </BuildableReference>
  101 + </MacroExpansion>
  102 + </ProfileAction>
  103 + <AnalyzeAction
  104 + buildConfiguration = "Debug">
  105 + </AnalyzeAction>
  106 + <ArchiveAction
  107 + buildConfiguration = "Release"
  108 + revealArchiveInOrganizer = "YES">
  109 + </ArchiveAction>
  110 +</Scheme>
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleDevelopmentRegion</key>
  6 + <string>en</string>
  7 + <key>CFBundleExecutable</key>
  8 + <string>$(EXECUTABLE_NAME)</string>
  9 + <key>CFBundleIdentifier</key>
  10 + <string>com.dailymotion.$(PRODUCT_NAME:rfc1034identifier)</string>
  11 + <key>CFBundleInfoDictionaryVersion</key>
  12 + <string>6.0</string>
  13 + <key>CFBundleName</key>
  14 + <string>$(PRODUCT_NAME)</string>
  15 + <key>CFBundlePackageType</key>
  16 + <string>FMWK</string>
  17 + <key>CFBundleShortVersionString</key>
  18 + <string>1.0</string>
  19 + <key>CFBundleSignature</key>
  20 + <string>????</string>
  21 + <key>CFBundleVersion</key>
  22 + <string>$(CURRENT_PROJECT_VERSION)</string>
  23 + <key>NSPrincipalClass</key>
  24 + <string></string>
  25 +</dict>
  26 +</plist>
  1 +//
  2 +// WebImage.h
  3 +// WebImage
  4 +//
  5 +// Created by Florent Vilmart on 2015-03-14.
  6 +// Copyright (c) 2015 Dailymotion. All rights reserved.
  7 +//
  8 +
  9 +#import <UIKit/UIKit.h>
  10 +
  11 +//! Project version number for WebImage.
  12 +FOUNDATION_EXPORT double WebImageVersionNumber;
  13 +
  14 +//! Project version string for WebImage.
  15 +FOUNDATION_EXPORT const unsigned char WebImageVersionString[];
  16 +
  17 +// In this header, you should import all the public headers of your framework using statements like #import <WebImage/PublicHeader.h>
  18 +
  19 +
  20 +
  21 +#import <WebImage/SDWebImageManager.h>
  22 +#import <WebImage/SDImageCache.h>
  23 +#import <WebImage/UIImageView+WebCache.h>
  24 +#import <WebImage/SDWebImageCompat.h>
  25 +#import <WebImage/UIImageView+HighlightedWebCache.h>
  26 +#import <WebImage/SDWebImageDownloaderOperation.h>
  27 +#import <WebImage/UIButton+WebCache.h>
  28 +#import <WebImage/SDWebImagePrefetcher.h>
  29 +#import <WebImage/UIView+WebCacheOperation.h>
  30 +#import <WebImage/UIImage+MultiFormat.h>
  31 +#import <WebImage/SDWebImageOperation.h>
  32 +#import <WebImage/SDWebImageDownloader.h>
  33 +#import <WebImage/MKAnnotationView+WebCache.h>
  34 +#import <WebImage/SDWebImageDecoder.h>
  35 +#import <WebImage/UIImage+WebP.h>
  36 +#import <WebImage/UIImage+GIF.h>
  37 +#import <WebImage/NSData+ImageContentType.h>