title: TableCell views in UITableView not appearing in simulator iOS7
body: <p>I've been reading the docs like mad trying to solve my problem, but I don't believe my problem is too difficult, I'm probably going about it wrong. Here's my <code>UIViewController</code>:</p>
  
  <p><a href="https://imgur.com/zrjg7mP" rel="nofollow noreferrer"><img src="https://i.imgur.com/zrjg7mP.png" title="Hosted by imgur.com" /></a></p>
  
  <p>And here's what it looks like in the simulator:</p>
  
  <p><img src="https://i.imgur.com/Kxh9HNu.png" alt="imgur image"></p>
  
  <p>I just need my populated cells to actually appear in the simulator. I have set the data and delegate source using this in .h:</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UITableView *grTableView;
  @property(nonatomic, assign) id&lt;UITableViewDataSource&gt; dataSource;
  @property(nonatomic, assign) id&lt;UITableViewDelegate&gt; delegate;
  </code></pre>
  
  <p>This in <code>viewDidLoad</code> of .m:</p>
  
  <pre><code>grTableView.dataSource = self;
  grTableView.delegate = self;
  </code></pre>
  
  <p>And I would like to set the spacing with this method(I'm aware that I can do with constraints, but am not sure <strong>how</strong>):</p>
  
  <pre><code>-(CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger)section
  {
      if(section == 0)
          return 6;
      return 1.0;
  }
  
  -(CGFloat)tableView:(UITableView*)tableView heightForFooterInSection:(NSInteger)section
  {
      return 5.0;
  }
  
  -(UIView*)tableView:(UITableView*)tableView viewForHeaderInSection:(NSInteger)section
  {
      return [[UIView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
  }
  
  -(UIView*)tableView:(UITableView*)tableView viewForFooterInSection:(NSInteger)section
  {
      return [[UIView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
  }
  
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
  {
      return 2;
  }
  </code></pre>
  
  <p>I'm also currently trying to implement the cells using these methods(When I delete these methods, the cell borders appear as gray lines in the simulator, but the cells <strong>are not</strong> populated):</p>
  
  <pre><code>- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;
  - (NSInteger)numberOfRowsInSection:(NSInteger)section;
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
  </code></pre>
  
  <p>How can I simply make the objects inside my cells(in storyboard) appear in simulator <strong>and</strong> work? 
  If you need to see the <em>document outline</em>, <em>.m</em>, or <em>.h</em>, or <em>other simulator runs</em> just request it and I will post.</p>
  
  <p><strong>P.S.</strong>  The UIButton at the bottom is constrained using bottomLayoutGuide.</p>
  
  <p><strong>EDIT:</strong> Here is the implementation for the <code>cellForRowAtIndexPath:</code> method:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      return grImageNameCell;
      return grBioCell;
  }
  </code></pre>
  
  <p>and here's the .h code for those IBOutlets:</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UITableViewCell *grImageNameCell;
  @property (weak, nonatomic) IBOutlet UITableViewCell *grBioCell;
  </code></pre>