Skip to content

expkzb/UIImageView-AFNetworking-OneByOneQueue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

UIImageView-AFNetworking-OneByOneQueue

New parameter added for UIImageView+AFNetworking methods by simply adding a new NSOperationQueue instance.

  • - (void)setImageWithURL:(NSURL *)url oneByOne:(BOOL)isOneByOne;

  • - (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholderImage oneByOne:(BOOL)isOneByOne;

  • - (void)setImageWithURLRequest:(NSURLRequest *)urlRequest placeholderImage:(UIImage *)placeholderImage success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure oneByOne:(BOOL)isOneByOne;

##When to? As you wish.

##How to? Simply replace the files in AFNetworking sources.

##Example [cell.avatarView setImageWithURL:[NSURL URLWithString:@"http://www.qqtouxiang888.com/uploads/allimg/110322/093310AU-2.jpg"] oneByOne:YES];

About

new parameter added -- "oneByOne:(Bool)isOneByOne"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published