Skip to content
Easy customizable avatar image asynchronously with progress bar animated
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
Pod
.gitignore
.travis.yml
JDAvatarProgress.podspec
JDAvatarProgressDemo.gif
LICENSE
README.md
_Pods.xcodeproj

README.md

JDAvatarProgress

Version License Platform

Swift

JDAvatarProgress is available in Swift also

JDSwiftAvatarProgress

Usage

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

Installation

Cocoapod

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

pod "JDAvatarProgress"

Manual

Clone the repository:

$ git clone https://github.com/JellyDevelopment/JDAvatarProgress.git

Drag and drop JDAvatarProgress.h and JDAvatarProgress.h files into your project. Add #import "JDAvatarProgress.h" to all view controllers that need to use it.

Requirements

QuartzCore.framework

Sample Usage

[self.avatarImgView setImageWithURL:[NSURL URLWithString:@"http://3.bp.blogspot.com/-k-0O0FocJ2I/TyWbextRGlI/AAAAAAAACqo/GuPx0RH7PcY/s1600/Fondo+Pantalla.jpg"];

Advanced Usage

[self.avatarImgView setImageWithURL:[NSURL URLWithString:@"http://3.bp.blogspot.com/-k-0O0FocJ2I/TyWbextRGlI/AAAAAAAACqo/GuPx0RH7PcY/s1600/Fondo+Pantalla.jpg"]
                        placeholder:nil
                      progressColor:[UIColor orangeColor]
                progressBarLineWidh:JDAvatarDefaultProgressBarLineWidth
                        borderWidth:JDAvatarDefaultBorderWidth
                        borderColor:nil
                         completion:^(UIImage * resultImage, NSError * error){
                             
                             NSLog(@"image => %@", resultImage);
                             NSLog(@"error => %@", error);
                             
                         }];

Author

License

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

You can’t perform that action at this time.