-
update CHANGELOG
-
…warning on Xcode 9 by enable more warning options
-
updated CHANGELOG
-
- 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
-
…595#issuecomment-225984546
-
…because of some compiler issues (pod lib lint)
-
…ork (pod lib lint works). There is an issue, the SDWebImage watchOS target doesn't show the simulator, only Generic Device. Also need to add some demo and test code.
-
# Conflicts: # SDWebImage/MKAnnotationView+WebCache.h # SDWebImage/MKAnnotationView+WebCache.m # SDWebImage/SDImageCache.h # SDWebImage/SDImageCache.m # SDWebImage/SDWebImageManager.h # SDWebImage/SDWebImageManager.m # SDWebImage/UIButton+WebCache.h # SDWebImage/UIButton+WebCache.m # SDWebImage/UIImageView+HighlightedWebCache.h # SDWebImage/UIImageView+HighlightedWebCache.m # SDWebImage/UIImageView+WebCache.h # SDWebImage/UIImageView+WebCache.m
-
# Conflicts: # SDWebImage.xcodeproj/project.pbxproj
-
… the library version to 3.8.0
-
…commit/5034c334be50765dfe4e97c48bcb74ef64175188
-
…commit/5034c334be50765dfe4e97c48bcb74ef64175188