AFNetworking / AFNetworking
Showing 1 of 3 files from the diff.

@@ -531,20 +531,17 @@
Loading
531 531
    self.lock = [[NSLock alloc] init];
532 532
    self.lock.name = AFURLSessionManagerLockName;
533 533
534 -
    __weak typeof(self) weakSelf = self;
535 534
    [self.session getTasksWithCompletionHandler:^(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks) {
536 -
        
537 -
        __strong typeof(weakSelf) strongSelf = weakSelf;
538 535
        for (NSURLSessionDataTask *task in dataTasks) {
539 -
            [strongSelf addDelegateForDataTask:task uploadProgress:nil downloadProgress:nil completionHandler:nil];
536 +
            [self addDelegateForDataTask:task uploadProgress:nil downloadProgress:nil completionHandler:nil];
540 537
        }
541 538
542 539
        for (NSURLSessionUploadTask *uploadTask in uploadTasks) {
543 -
            [strongSelf addDelegateForUploadTask:uploadTask progress:nil completionHandler:nil];
540 +
            [self addDelegateForUploadTask:uploadTask progress:nil completionHandler:nil];
544 541
        }
545 542
546 543
        for (NSURLSessionDownloadTask *downloadTask in downloadTasks) {
547 -
            [strongSelf addDelegateForDownloadTask:downloadTask progress:nil destination:nil completionHandler:nil];
544 +
            [self addDelegateForDownloadTask:downloadTask progress:nil destination:nil completionHandler:nil];
548 545
        }
549 546
    }];
550 547
Files Coverage
AFNetworking 77.25%
UIKit+AFNetworking 85.36%
Project Totals (15 files) 79.68%
3030.1
default=
TRAVIS_OS_NAME=osx
1
ignore:
2
  - "Tests"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading