However you have tight coupling between them. My complaint isn't that it doesn't make sense, but more so that you've intimately tied the two together. There has to be a better way

Envoyé de mon iPhone

> Le Sep 25, 2013 à 4:14 PM, Julian Nadeau <notifications@github.com> a écrit :
> 
> In Testasaurus Rex/Testasaurus Rex/Controllers/TREXTestRunController.m:
> 
> >  	}
> >  	_categoriesController.project = testRun.parentProject;
> >  	[_categoriesController.tableView reloadData];	
> >  }
> >  
> > +#pragma mark - TREXTestRunCommentControllerDelegate Methods
> > +
> > +-(void)controller:(id)controller didAddComment:(TREXTestRunCaseComment *)comment
> > +{
> > +	NSIndexSet *rowIndex = [_testCasesController.tableView selectedRowIndexes];
> > +	NSIndexSet *columnIndex = [NSIndexSet indexSetWithIndex:0];
> > +	dispatch_async(dispatch_get_main_queue(), ^{
> > +		TREXTestRunCase *testRunCase = ((TREXTestRunCase *)[_testCasesController.testRunCases objectForKey:@(_testCase.identifier)]);
> @joshpc The controller bit makes sense actually.
> 
> We have Test Run Controller which is the controller for all controllers pertaining to test runs. This is identical to the main controller, except this is the main controller for test runs.
> 
> —
> Reply to this email directly or view it on GitHub.