Skip to content
Browse files

Merge pull request #327 from flambert/missing-block-parameter-name

Add missing block parameter name preventing auto-complete to work
  • Loading branch information...
2 parents ba796b2 + df90041 commit b4f0b0ca4f2240464af210f772c5100756bf796f @mattt mattt committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 AFImageRequestOperation.h
View
4 AFImageRequestOperation.h
@@ -100,13 +100,13 @@
*/
#if __IPHONE_OS_VERSION_MIN_REQUIRED
+ (AFImageRequestOperation *)imageRequestOperationWithRequest:(NSURLRequest *)urlRequest
- imageProcessingBlock:(UIImage *(^)(UIImage *))imageProcessingBlock
+ imageProcessingBlock:(UIImage *(^)(UIImage *image))imageProcessingBlock
cacheName:(NSString *)cacheNameOrNil
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, UIImage *image))success
failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure;
#elif __MAC_OS_X_VERSION_MIN_REQUIRED
+ (AFImageRequestOperation *)imageRequestOperationWithRequest:(NSURLRequest *)urlRequest
- imageProcessingBlock:(NSImage *(^)(NSImage *))imageProcessingBlock
+ imageProcessingBlock:(NSImage *(^)(NSImage *image))imageProcessingBlock
cacheName:(NSString *)cacheNameOrNil
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSImage *image))success
failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error))failure;

0 comments on commit b4f0b0c

Please sign in to comment.
Something went wrong with that request. Please try again.