Your tableView is in a class MyViewController. You need to create an attribute NSMutableArray *sourceArrayfor this class, as well as a property associated with it, using, for example:
@property (nonatomic, retain) NSMutableArray *sourceArray;
, View Controller , , sourceArray:
MyViewController *mvc = [[MyViewController alloc] initWith...];
mvc.sourceArray = theResult;
[self presentModalViewController:mvc animated:YES];
[mvc release];
sourceArray Table View.