title: Dynamic UITableView with UITextField
body: <p>How would I create a UITableView with the following functionality:</p>
  
  <p>I would like my UITableView cells to have UITextfields in them. When the user begins typing in a UITextField, the tableview automatically generates and new, identical cell just below it. This is essentially for a form with an "infinite" number of fields.</p>
  
  <p>Any pointers/tips on writing this would be great!</p>
  
  <p><strong>Creating Custom Cell in Storyboard Question #1</strong></p>
  
  <p>When creating a custom cell in Storyboard, can I simply create a "custom cell" within the tableview in my viewcontroller? If so, do I need to change the class which the cell inherits from?</p>
  
  <p><img src="https://i.stack.imgur.com/vp7nr.png" alt="enter image description here"></p>
  
  <p><strong>Creating Custom Cell in Storyboard Question #2</strong></p>
  
  <p>Could you briefly explain what the Cell Identifier is used for?</p>
  
  <p><img src="https://i.stack.imgur.com/ZRew4.png" alt="enter image description here"></p>
  
  <p><strong>Additional Code:</strong></p>
  
  <p>To create the custom UITableViewCell:</p>
  
  <pre><code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
      static NSString *CellIdentifier = @"AddListInformationCellid";
      AddListInformationCell *cell = (AddListInformationCell *) [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  
      if (cell == nil) {
          NSArray* topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"AddListInformationCell" owner:self options:nil];
          for (id currentObject in topLevelObjects) {
              if ([currentObject isKindOfClass:[UITableViewCell class]]) {
                  cell = (AddListInformationCell *)currentObject;
                  break;
              }
          }
      }
  
      return cell;
  }
  </code></pre>
  
  <p>Thanks very much.</p>