2016-06-01 20:53:08 +08:00
|
|
|
/*
|
|
|
|
* This file is part of the SDWebImage package.
|
|
|
|
* (c) Olivier Poitrey <rs@dailymotion.com>
|
|
|
|
* (c) Florent Vilmart
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
2016-05-09 03:59:32 +08:00
|
|
|
|
2016-06-13 05:09:55 +08:00
|
|
|
#import <SDWebImage/SDWebImageCompat.h>
|
|
|
|
|
|
|
|
#if SD_UIKIT
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <UIKit/UIKit.h>
|
2016-06-13 05:09:55 +08:00
|
|
|
#endif
|
2016-05-09 03:59:32 +08:00
|
|
|
|
|
|
|
//! 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 <WebImage/PublicHeader.h>
|
|
|
|
|
|
|
|
#import <SDWebImage/SDWebImageManager.h>
|
2018-04-14 18:18:45 +08:00
|
|
|
#import <SDWebImage/SDWebImageCacheKeyFilter.h>
|
|
|
|
#import <SDWebImage/SDWebImageCacheSerializer.h>
|
2016-09-30 14:33:06 +08:00
|
|
|
#import <SDWebImage/SDImageCacheConfig.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/SDImageCache.h>
|
2018-04-15 00:05:09 +08:00
|
|
|
#import <SDWebImage/SDMemoryCache.h>
|
|
|
|
#import <SDWebImage/SDDiskCache.h>
|
2018-04-18 19:23:45 +08:00
|
|
|
#import <SDWebImage/SDImageCacheDefine.h>
|
|
|
|
#import <SDWebImage/SDImageCachesManager.h>
|
2016-09-30 14:33:06 +08:00
|
|
|
#import <SDWebImage/UIView+WebCache.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/UIImageView+WebCache.h>
|
|
|
|
#import <SDWebImage/UIImageView+HighlightedWebCache.h>
|
2018-03-31 05:34:10 +08:00
|
|
|
#import <SDWebImage/SDWebImageDownloaderConfig.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/SDWebImageDownloaderOperation.h>
|
2018-04-07 13:47:54 +08:00
|
|
|
#import <SDWebImage/SDWebImageDownloaderRequestModifier.h>
|
2018-04-15 16:40:42 +08:00
|
|
|
#import <SDWebImage/SDWebImageLoader.h>
|
|
|
|
#import <SDWebImage/SDWebImageLoadersManager.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/UIButton+WebCache.h>
|
|
|
|
#import <SDWebImage/SDWebImagePrefetcher.h>
|
|
|
|
#import <SDWebImage/UIView+WebCacheOperation.h>
|
2018-01-04 20:59:21 +08:00
|
|
|
#import <SDWebImage/UIImage+WebCache.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/UIImage+MultiFormat.h>
|
|
|
|
#import <SDWebImage/SDWebImageOperation.h>
|
|
|
|
#import <SDWebImage/SDWebImageDownloader.h>
|
2018-01-17 15:20:38 +08:00
|
|
|
#import <SDWebImage/SDWebImageTransition.h>
|
2018-01-20 23:40:16 +08:00
|
|
|
#import <SDWebImage/SDWebImageIndicator.h>
|
2018-02-13 18:30:25 +08:00
|
|
|
#import <SDWebImage/SDWebImageTransformer.h>
|
|
|
|
#import <SDWebImage/UIImage+Transform.h>
|
2017-07-31 19:19:02 +08:00
|
|
|
|
2016-06-13 04:23:53 +08:00
|
|
|
#if SD_MAC || SD_UIKIT
|
2017-07-31 19:19:02 +08:00
|
|
|
#import <SDWebImage/MKAnnotationView+WebCache.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#endif
|
2017-07-31 19:19:02 +08:00
|
|
|
|
2017-12-21 11:43:46 +08:00
|
|
|
#import <SDWebImage/SDAnimatedImage.h>
|
|
|
|
#import <SDWebImage/SDAnimatedImageView.h>
|
|
|
|
#import <SDWebImage/SDAnimatedImageView+WebCache.h>
|
Feature: refactor decoding code and provide decoding plugin
- open the decoding/encoding procedures to the users
- switch from hardcoded decoding/encoding to pluginable decoders/encoders (builtin + user created)
- `SDWebImageCodersManager` is a singleton holding an array of `SDImageCoder` (protocol). Even though a singleton is not necesarily a good pattern, in this case it eliminates dealing with passing this array around
- uses a priority queue behind scenes, which means the latest added coders have priority.
- the priority is crucial when encoding/decoding something, we go through the list and ask each coder if they can handle the current data (see `canDecodeFromData:`, `canEncodeToFormat:`, `canIncrementallyDecodeFromData:`)
- each coder must conform to this protocol `SDImageCoder` describing all the required behavior for a coder
- we provide 3 built-in coders: `SDWebImageImageIOCoder` (for JPEG, PNG, TIFF), `SDWebImageGIFCoder` (for GIF), `SDWebImageWebPCoder` (for WebP and animated WebP)
- the user of SDWebImage can create custom coders by conforming to `SDImageCoder` and adding the coders to `SDWebImageCodersManager`. See `addCoder:` or `removeCoder:` or `coders` getter to get the array
- in order to preserve backwards compatibility, the UIImage categories were preserved, calling the new coders APIs described above
2017-10-17 00:52:18 +08:00
|
|
|
#import <SDWebImage/SDWebImageCodersManager.h>
|
|
|
|
#import <SDWebImage/SDWebImageCoder.h>
|
2018-03-29 17:45:56 +08:00
|
|
|
#import <SDWebImage/SDWebImageAPNGCoder.h>
|
Feature: refactor decoding code and provide decoding plugin
- open the decoding/encoding procedures to the users
- switch from hardcoded decoding/encoding to pluginable decoders/encoders (builtin + user created)
- `SDWebImageCodersManager` is a singleton holding an array of `SDImageCoder` (protocol). Even though a singleton is not necesarily a good pattern, in this case it eliminates dealing with passing this array around
- uses a priority queue behind scenes, which means the latest added coders have priority.
- the priority is crucial when encoding/decoding something, we go through the list and ask each coder if they can handle the current data (see `canDecodeFromData:`, `canEncodeToFormat:`, `canIncrementallyDecodeFromData:`)
- each coder must conform to this protocol `SDImageCoder` describing all the required behavior for a coder
- we provide 3 built-in coders: `SDWebImageImageIOCoder` (for JPEG, PNG, TIFF), `SDWebImageGIFCoder` (for GIF), `SDWebImageWebPCoder` (for WebP and animated WebP)
- the user of SDWebImage can create custom coders by conforming to `SDImageCoder` and adding the coders to `SDWebImageCodersManager`. See `addCoder:` or `removeCoder:` or `coders` getter to get the array
- in order to preserve backwards compatibility, the UIImage categories were preserved, calling the new coders APIs described above
2017-10-17 00:52:18 +08:00
|
|
|
#import <SDWebImage/SDWebImageWebPCoder.h>
|
|
|
|
#import <SDWebImage/SDWebImageGIFCoder.h>
|
|
|
|
#import <SDWebImage/SDWebImageImageIOCoder.h>
|
2017-11-01 02:34:06 +08:00
|
|
|
#import <SDWebImage/SDWebImageFrame.h>
|
|
|
|
#import <SDWebImage/SDWebImageCoderHelper.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/UIImage+WebP.h>
|
|
|
|
#import <SDWebImage/UIImage+GIF.h>
|
Feature: refactor decoding code and provide decoding plugin
- open the decoding/encoding procedures to the users
- switch from hardcoded decoding/encoding to pluginable decoders/encoders (builtin + user created)
- `SDWebImageCodersManager` is a singleton holding an array of `SDImageCoder` (protocol). Even though a singleton is not necesarily a good pattern, in this case it eliminates dealing with passing this array around
- uses a priority queue behind scenes, which means the latest added coders have priority.
- the priority is crucial when encoding/decoding something, we go through the list and ask each coder if they can handle the current data (see `canDecodeFromData:`, `canEncodeToFormat:`, `canIncrementallyDecodeFromData:`)
- each coder must conform to this protocol `SDImageCoder` describing all the required behavior for a coder
- we provide 3 built-in coders: `SDWebImageImageIOCoder` (for JPEG, PNG, TIFF), `SDWebImageGIFCoder` (for GIF), `SDWebImageWebPCoder` (for WebP and animated WebP)
- the user of SDWebImage can create custom coders by conforming to `SDImageCoder` and adding the coders to `SDWebImageCodersManager`. See `addCoder:` or `removeCoder:` or `coders` getter to get the array
- in order to preserve backwards compatibility, the UIImage categories were preserved, calling the new coders APIs described above
2017-10-17 00:52:18 +08:00
|
|
|
#import <SDWebImage/UIImage+ForceDecode.h>
|
2016-05-09 03:59:32 +08:00
|
|
|
#import <SDWebImage/NSData+ImageContentType.h>
|
2018-01-13 18:42:15 +08:00
|
|
|
#import <SDWebImage/SDWebImageDefine.h>
|
2018-04-18 12:50:05 +08:00
|
|
|
#import <SDWebImage/SDWebImageError.h>
|
2017-07-31 19:19:02 +08:00
|
|
|
|
2016-06-13 05:09:55 +08:00
|
|
|
#if SD_MAC
|
2018-04-18 21:14:34 +08:00
|
|
|
#import <SDWebImage/NSImage+Compatibility.h>
|
2018-01-19 15:46:05 +08:00
|
|
|
#import <SDWebImage/NSButton+WebCache.h>
|
2018-02-18 11:34:06 +08:00
|
|
|
#import <SDWebImage/SDAnimatedImageRep.h>
|
2016-06-13 05:09:55 +08:00
|
|
|
#endif
|
2017-07-31 19:19:02 +08:00
|
|
|
|
2016-06-13 06:13:46 +08:00
|
|
|
#if SD_UIKIT
|
2017-07-31 19:19:02 +08:00
|
|
|
#import <SDWebImage/FLAnimatedImageView+WebCache.h>
|
|
|
|
|
|
|
|
#if __has_include(<SDWebImage/FLAnimatedImage.h>)
|
|
|
|
#import <SDWebImage/FLAnimatedImage.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if __has_include(<SDWebImage/FLAnimatedImageView.h>)
|
|
|
|
#import <SDWebImage/FLAnimatedImageView.h>
|
|
|
|
#endif
|
|
|
|
|
2016-06-13 06:13:46 +08:00
|
|
|
#endif
|