项目
在 GitHub 查看
rounak/RJImageLoader
关于
复刻了 Michael Villar 为 iOS 创建的图像加载动画。
创作与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文RJImageLoader
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.

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
License
RJImageLoader is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…