title: UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:
body: <p>I keep getting this error, I have set up a custom cell I am trying to display I have connected the datasource and delegates in IB, but I keep getting this error, below is my code... its madness as I have already done this in another project and it works sweet.. and I havent changed anything other than variable names.</p>
  
  <blockquote>
    <p>2011-05-06 10:40:17.004 instaCode1.3[1500:207] <em>*</em> Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:'</p>
  </blockquote>
  
  <p>everything has been @synthesized etc... </p>
  
  <pre><code>#pragma mark -
  #pragma mark Table view data source
  // Customize the number of sections in the table view.
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
      return 1;
  }
  
  
  // Customize the number of rows in the table view.
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
      return 1;
  }
  
  //This method adds headings to my sections
  - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
      NSString *title = nil;
      // Return a title or nil as appropriate for the section.
      switch (section) {
          case REG_SECTION:
              title = @"Enter Registration";
              break;
          default:
              break;
      }
      return title;;
  }
  
  // Customize the appearance of table view cells.
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
  
      if (indexPath.section == 0) {
  
          return cellRegistration;            
  
      }
      return 0;
  }
  </code></pre>