}
};
- NSArray * nodes = contextDict[@"Nodes"];
+ NSArray * nodes = [contextDict objectForKey: @"Nodes"];
[nodes enumerateObjectsWithOptions: NSEnumerationConcurrent usingBlock: ^(FileListNode * node, NSUInteger idx, BOOL *stop) {
updateNodeAndChildrenForRename(node);
}];
NSLog(@"Error renaming %@ to %@", oldPath, [path stringByAppendingPathComponent: newName]);
typedef void (^RenameCompletionBlock)(BOOL);
- RenameCompletionBlock completionHandler = contextDict[@"CompletionHandler"];
+ RenameCompletionBlock completionHandler = [contextDict objectForKey: @"CompletionHandler"];
completionHandler(error == 0);
[contextDict release];