APNG Coder for SDWebImage
Objective-C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
SDWebImageAPNGCoder Fix macOS/watchOS compile issue May 10, 2018
.gitignore initial commit Nov 2, 2017
.travis.yml initial commit Nov 2, 2017
LICENSE initial commit Nov 2, 2017
README.md Update readme and screenshot Nov 2, 2017
SDWebImageAPNGCoder.podspec Update the podspec May 10, 2018
_Pods.xcodeproj

README.md

SDWebImageAPNGCoder

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

This is a demo to show how to build animated coder which use coder helper from SDWebImage. Althrough this code is nearly same with GIF coder, but it can be a good demo to look in.

Requirements

  • iOS 8
  • macOS 10.10
  • tvOS 9.0
  • watchOS 2.0

Installation

SDWebImageAPNGCoder is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SDWebImageAPNGCoder'

Usage

SDWebImageAPNGCoder *APNGCoder = [SDWebImageAPNGCoder sharedCoder];
[[SDWebImageCodersManager sharedInstance] addCoder:APNGCoder];
UIImageView *imageView;
NSURL *APNGURL;
[imageView sd_setImageWithURL:APNGURL];

Screenshot

Author

DreamPiggy

License

SDWebImageAPNGCoder is available under the MIT license. See the LICENSE file for more info.