title: May I add a table view in a view controller?
body: <p>I have 2 controllers.</p>
  
  <p>I want to add a table view in the view controller,
  and the table view's cell has the custom class of <code>tableviewcell</code>.</p>
  
  <p>I tried to use <code>[self addsubview:(the controller.view)</code> into the controller.</p>
  
  <p>I can see the list, but cannot set each cell's value.</p>
  
  <p>In my viewcontroller:</p>
  
  <pre><code> TableViewController *viewController = [[TableViewController alloc] init];
  [self addChildViewController:viewController];
  [self.view addSubview:viewController.view];
  [viewController didMoveToParentViewController:self];
  </code></pre>
  
  <p>I try to init the tableviewcontroller in my viewcontroller. Now i can see the tableview. But i cannot set the value of each cell. even more the break point cannot stop in the 
   <code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath</code> </p>