Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 1.44 KB

README.md

File metadata and controls

53 lines (28 loc) · 1.44 KB

RJImageLoader

Version

This project is based on Michael Villar's excellent Motion Experiments post. He designed an image loading animation which shows a circular progress indicator, and then reveals the image in an expanding circular ring.

demo

For a detailed explaination of the animation, visit raywenderlich.com.

Usage

#import <UIImageView+RJLoader.h>

//before starting
[self.imageView startLoader];

//to change the color of the indicator, use the startLoaderWithTintColor: method

//update progress
[self.imageView updateImageDownloadProgress:progress];

//after completion
[self.imageView reveal];

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

Installation

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

pod "RJImageLoader"

Author

Rounak Jain.

Follow me on Twitter @r0unak

##Contributors

@bguidolim

License

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