Commit 49f07aff by Dima Bart

Minor cleanup.

parent e94e7baa
...@@ -180,7 +180,7 @@ static NSString * const BUYClientJSONMimeType = @"application/json"; ...@@ -180,7 +180,7 @@ static NSString * const BUYClientJSONMimeType = @"application/json";
}]; }];
[self startTask:operation]; [self startTask:operation];
return (id)operation; return operation;
} }
#pragma mark - NSURLSessionTaskDelegate #pragma mark - NSURLSessionTaskDelegate
......
...@@ -95,7 +95,6 @@ typedef NS_ENUM(NSUInteger, BUYOperationState) { ...@@ -95,7 +95,6 @@ typedef NS_ENUM(NSUInteger, BUYOperationState) {
[self willChangeValueForKey:newPath]; [self willChangeValueForKey:newPath];
[self willChangeValueForKey:oldPath]; [self willChangeValueForKey:oldPath];
_state = state; _state = state;
NSLog(@"Setting state");
[self didChangeValueForKey:oldPath]; [self didChangeValueForKey:oldPath];
[self didChangeValueForKey:newPath]; [self didChangeValueForKey:newPath];
...@@ -112,13 +111,11 @@ typedef NS_ENUM(NSUInteger, BUYOperationState) { ...@@ -112,13 +111,11 @@ typedef NS_ENUM(NSUInteger, BUYOperationState) {
- (void)startExecution - (void)startExecution
{ {
self.state = BUYOperationStateExecuting; self.state = BUYOperationStateExecuting;
NSLog(@"Started operation");
} }
- (void)finishExecution - (void)finishExecution
{ {
self.state = BUYOperationStateFinished; self.state = BUYOperationStateFinished;
NSLog(@"Finished operation");
} }
#pragma mark - State - #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