• Stars
    star
    833
  • Rank 54,737 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created almost 10 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A recreation of the image loader animation created by Michael Villar for iOS

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.