mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-24 04:46:01 +08:00
Formatting tweak
This commit is contained in:
@@ -186,7 +186,8 @@ static NSString *RKStringDescribingURLResponseWithData(NSURLResponse *response,
|
||||
}
|
||||
|
||||
// Adopted fix for "The Deallocation Problem" from AFN
|
||||
- (void)setCompletionBlock:(void (^)(void))block {
|
||||
- (void)setCompletionBlock:(void (^)(void))block
|
||||
{
|
||||
if (!block) {
|
||||
[super setCompletionBlock:nil];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user