RestKit blocks UI thread
My code looks like this:
[[RKObjectManager sharedManager] getObjectsAtPath:kResourcePath
parameters:params
success:^(RKObjectRequestOperation *operation, RKMappingResult
*mappingResult) {...}
failure:^(RKObjectRequestOperation *operation, NSError *error) {...}];
The problem is that this method blocks my UI thread. I tried figuring how
to use RKObjectRequestOperation but only saw options with NSURLRequest
which is not the case here. What am I missing?
No comments:
Post a Comment