Skip to content

namanhams/Swift-UIImageView-AFNetworking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift-UIImageView-AFNetworking

Swift version of UIImageView+AFNetworking.

This is the Swift version of UIImageView+AFNetworking from the famous AFNetworking library. Just drop the file into your project and you can start using it !

Note

This file doesn't use anything from AFNetworking or Alamofire. There's no need to use those libraries in your project. I name it this way because it's inspired by the Objc version from AFNetworking

Usage

public func setImageWithUrl(url:NSURL, placeHolderImage:UIImage? = nil);

public func setImageWithUrlRequest(request:NSURLRequest, placeHolderImage:UIImage? = nil,
        success:((request:NSURLRequest?, response:NSURLResponse?, image:UIImage) -> Void)?,
        failure:((request:NSURLRequest?, response:NSURLResponse?, error:NSError) -> Void)?)

About

Swift version of UIImageView+AFNetworking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages