Fix variable naming in debug log

This commit is contained in:
Levi McCallum
2015-10-12 23:33:06 -07:00
parent 31f184b32d
commit 55c1b8f6e7
2 changed files with 3 additions and 3 deletions

View File

@@ -543,7 +543,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext;
{ {
[self performEditCommandWithBlock:^{ [self performEditCommandWithBlock:^{
ASDisplayNodeAssertMainThread(); ASDisplayNodeAssertMainThread();
LOG(@"Edit Command - insertSections: %@", indexSet); LOG(@"Edit Command - insertSections: %@", sections);
[_editingTransactionQueue waitUntilAllOperationsAreFinished]; [_editingTransactionQueue waitUntilAllOperationsAreFinished];
[self accessDataSourceWithBlock:^{ [self accessDataSourceWithBlock:^{
@@ -559,7 +559,7 @@ static void *kASSizingQueueContext = &kASSizingQueueContext;
[_editingTransactionQueue addOperationWithBlock:^{ [_editingTransactionQueue addOperationWithBlock:^{
[self willInsertSections:sections]; [self willInsertSections:sections];
LOG(@"Edit Transaction - insertSections: %@", indexSet); LOG(@"Edit Transaction - insertSections: %@", sections);
NSMutableArray *sectionArray = [NSMutableArray arrayWithCapacity:sections.count]; NSMutableArray *sectionArray = [NSMutableArray arrayWithCapacity:sections.count];
for (NSUInteger i = 0; i < sections.count; i++) { for (NSUInteger i = 0; i < sections.count; i++) {
[sectionArray addObject:[NSMutableArray array]]; [sectionArray addObject:[NSMutableArray array]];

View File

@@ -75,7 +75,7 @@
// coalesce these events -- handling them multiple times per runloop is noisy and expensive // coalesce these events -- handling them multiple times per runloop is noisy and expensive
_queuedRangeUpdate = YES; _queuedRangeUpdate = YES;
[self performSelector:@selector(updateVisibleNodeIndexPaths) [self performSelector:@selector(updateVisibleNodeIndexPaths)
withObject:nil withObject:nil
afterDelay:0 afterDelay:0