Changeset 13872


Ignore:
Timestamp:
Jan 26, 2013, 7:46:42 PM (8 years ago)
Author:
livings124
Message:

remove two dictionary subscripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r13870 r13872  
    115115            };
    116116           
    117             NSArray * nodes = contextDict[@"Nodes"];
     117            NSArray * nodes = [contextDict objectForKey: @"Nodes"];
    118118            [nodes enumerateObjectsWithOptions: NSEnumerationConcurrent usingBlock: ^(FileListNode * node, NSUInteger idx, BOOL *stop) {
    119119                updateNodeAndChildrenForRename(node);
     
    124124       
    125125        typedef void (^RenameCompletionBlock)(BOOL);
    126         RenameCompletionBlock completionHandler = contextDict[@"CompletionHandler"];
     126        RenameCompletionBlock completionHandler = [contextDict objectForKey: @"CompletionHandler"];
    127127        completionHandler(error == 0);
    128128       
Note: See TracChangeset for help on using the changeset viewer.