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 75cf165 + 8ce55df commit 0ec7995128906b4f37fe0a46b5cf1c428b6f1283 @mattt mattt committed May 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 AFNetworking/AFImageRequestOperation.h
View
4 AFNetworking/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 0ec7995

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