Add missing block parameter name preventing auto-complete to work
When function name is auto-completed and the imageProcessingBlock stub is created, it was missing the UIImage* parameter name.
This commit is contained in:
parent
7a57210e6d
commit
8ce55df371
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user