Skip to content

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

License

Notifications You must be signed in to change notification settings

rounak/RJImageLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •