Access multi dimension NSMutableArray of NSMutableArrays using UITableView indexPath
问题 I have a UITableView with a dynamic amount of sections and rows, I am wanting to use a custom cell.accessoryView which I have managed to create using the following code. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [stackRotationController pop]; cell = (TreeCell *)[cuttingTableView cellForRowAtIndexPath:indexPath]; UIImageView *checkmark = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"findbitting@2x.png"]]; NSNumber *newState; if ([