Commit 49f07aff by Dima Bart

Minor cleanup.

parent e94e7baa
......@@ -180,7 +180,7 @@ static NSString * const BUYClientJSONMimeType = @"application/json";
}];
[self startTask:operation];
return (id)operation;
return operation;
}
#pragma mark - NSURLSessionTaskDelegate
......
......@@ -95,7 +95,6 @@ typedef NS_ENUM(NSUInteger, BUYOperationState) {
[self willChangeValueForKey:newPath];
[self willChangeValueForKey:oldPath];
_state = state;
NSLog(@"Setting state");
[self didChangeValueForKey:oldPath];
[self didChangeValueForKey:newPath];
......@@ -112,13 +111,11 @@ typedef NS_ENUM(NSUInteger, BUYOperationState) {
- (void)startExecution
{
self.state = BUYOperationStateExecuting;
NSLog(@"Started operation");
}
- (void)finishExecution
{
self.state = BUYOperationStateFinished;
NSLog(@"Finished operation");
}
#pragma mark - State -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment