Skip to content

Commit

Permalink
Merge branch 'bug/wStrict-selector-match' of https://github.com/jesse…
Browse files Browse the repository at this point in the history
…dc/AFNetworking into jessedc-bug/wStrict-selector-match
  • Loading branch information
mattt committed Dec 26, 2012
2 parents e75dea4 + 474a940 commit fd00b0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AFNetworking/AFJSONRequestOperation.m
Expand Up @@ -45,7 +45,7 @@ + (AFJSONRequestOperation *)JSONRequestOperationWithRequest:(NSURLRequest *)urlR
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, id JSON))success
failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, id JSON))failure
{
AFJSONRequestOperation *requestOperation = [[self alloc] initWithRequest:urlRequest];
AFJSONRequestOperation *requestOperation = [(AFJSONRequestOperation *)[self alloc] initWithRequest:urlRequest];
[requestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
if (success) {
success(operation.request, operation.response, responseObject);
Expand Down
2 changes: 1 addition & 1 deletion AFNetworking/AFPropertyListRequestOperation.m
Expand Up @@ -47,7 +47,7 @@ + (AFPropertyListRequestOperation *)propertyListRequestOperationWithRequest:(NSU
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, id propertyList))success
failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, id propertyList))failure
{
AFPropertyListRequestOperation *requestOperation = [[self alloc] initWithRequest:request];
AFPropertyListRequestOperation *requestOperation = [(AFPropertyListRequestOperation *)[self alloc] initWithRequest:request];
[requestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
if (success) {
success(operation.request, operation.response, responseObject);
Expand Down
2 changes: 1 addition & 1 deletion AFNetworking/AFURLConnectionOperation.m
Expand Up @@ -691,7 +691,7 @@ - (void)encodeWithCoder:(NSCoder *)aCoder {
#pragma mark - NSCopying

- (id)copyWithZone:(NSZone *)zone {
AFURLConnectionOperation *operation = [[[self class] allocWithZone:zone] initWithRequest:self.request];
AFURLConnectionOperation *operation = [(AFURLConnectionOperation *)[[self class] allocWithZone:zone] initWithRequest:self.request];

operation.uploadProgress = self.uploadProgress;
operation.downloadProgress = self.downloadProgress;
Expand Down
2 changes: 1 addition & 1 deletion AFNetworking/AFXMLRequestOperation.m
Expand Up @@ -52,7 +52,7 @@ + (AFXMLRequestOperation *)XMLParserRequestOperationWithRequest:(NSURLRequest *)
success:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSXMLParser *XMLParser))success
failure:(void (^)(NSURLRequest *request, NSHTTPURLResponse *response, NSError *error, NSXMLParser *XMLParser))failure
{
AFXMLRequestOperation *requestOperation = [[self alloc] initWithRequest:urlRequest];
AFXMLRequestOperation *requestOperation = [(AFXMLRequestOperation *)[self alloc] initWithRequest:urlRequest];
[requestOperation setCompletionBlockWithSuccess:^(AFHTTPRequestOperation *operation, id responseObject) {
if (success) {
success(operation.request, operation.response, responseObject);
Expand Down

0 comments on commit fd00b0a

Please sign in to comment.