title: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath is not being called
body: <p>So its really weird... I have a ViewController called ListEventsViewController</p>
  
  <p>in the header file:</p>
  
  <pre><code>@interface ListEventsViewController : UIViewController &lt;UITableViewDelegate, UITableViewDataSource&gt;
  @property (weak, nonatomic) IBOutlet UITableView *eventsTable;
  @property (strong, nonatomic) NSArray *events;
  
  @end
  </code></pre>
  
  <p>In the Implementation I am calling the pretty much mandatory functions below:</p>
  
  <pre><code>- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
      return [events count];
  }
  
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView{
      return 1;
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
      UITableViewCell *cell = nil;
      cell = [eventsTable dequeueReusableCellWithIdentifier:@"eventCell"];
  
      if(!cell){
          cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:@"eventCell"];
      }
  
      NSString *textLabelTitle = [[events objectAtIndex:indexPath.row] objectForKey:@"name"];
      NSString *textLabelDetail = [[events objectAtIndex:indexPath.row] objectForKey:@"date"];
      //cell.imageView.image = someimage;
      NSLog(@"Text Label Title: %@", textLabelTitle);
      NSLog(@"Text Label Detail: %@", textLabelDetail);
      cell.textLabel.text = textLabelTitle;
      cell.detailTextLabel.text = textLabelDetail;
  
      return cell;
  }
  </code></pre>
  
  <p>The problem is the function - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ is not being called so the cells arent being populated. also the number of cells isnt being allocated either. What could be causing this?</p>
  
  <p>It looks wired up to me heres a picture of the h and IB. <img src="https://i.stack.imgur.com/gmPvC.png" alt="enter image description here"></p>