##Objective-C
JDAvatarProgress is available in Objective-C also,
To run the example project, clone the repo, and run pod install
from the Example directory first.
JDSwiftAvatarProgress is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "JDSwiftAvatarProgress"
Clone the repository:
$ git clone https://github.com/JellyDevelopment/JDSwiftAvatarProgress.git
Drag and drop JDAvatarProgress.swift
file into your project. Add import JDSwiftAvatarProgress
to all view controllers that need to use it.
QuartzCore.framework
self.avatarImgView.setImageWithURL(NSURL(string: "http://3.bp.blogspot.com/-k-0O0FocJ2I/TyWbextRGlI/AAAAAAAACqo/GuPx0RH7PcY/s1600/Fondo+Pantalla.jpg")!)
self.avatarImgView.setImageWithURL(NSURL(string: "http://3.bp.blogspot.com/-k-0O0FocJ2I/TyWbextRGlI/AAAAAAAACqo/GuPx0RH7PcY/s1600/Fondo+Pantalla.jpg")!,
placeholder: nil,
progressBarColor: UIColor.orangeColor(),
progressBarLineWidth: JDAvatarDefaultProgressBarLineWidth,
borderColor:nil,
borderWidth: JDAvatarDefaultBorderWidth,
completion: { (image, error) -> Void in
print("image => \(image)")
print("error => \(error)")
print("------------------")
})
- Jelly Development
- Juanpe Catalán, [email protected]
- David Carrascal, [email protected]
JDSwiftAvatarProgress is available under the MIT license. See the LICENSE file for more info.