应用委托
- (void)applicationDidFinishLaunching:(UIApplication *)application {
    UIStoryboard *myStoryboard = [UIStoryboard storyboardWithName:@"MainSB" bundle:nil];
    tCont = [myStoryboard instantiateViewControllerWithIdentifier:@"Table"];
}
- (void)serviceAdded:(NSNetService *)service moreComing:(BOOL)more {
    tCont.server = _server;
    [tCont addService:service moreComing:more];
}
表控制器
- (void)addService:(NSNetService *)service moreComing:(BOOL)more {
    [self.services addObject:service];
    if(!more) {
        [self.tableView reloadData];
    }
}
server正确结转,并service添加到services. 但我没有在我的表格视图中看到它。是因为我试图在视图存在之前实例化它吗?
更新:我做了更多的调试,发现 TableController 在我的委托调用它之前被初始化。我只见过一个 TableController 线程,所以我的代码很可能是问题所在。