title: Adding textfield to table cell
body: <p>I am trying to add a textfield to a table cell. Can anyone please correct this code</p>
  
  <pre><code>aCell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:@"UserIDCell"] autorelease];
                      aCell.textLabel.text = @"User Name";
                      aCell.selectionStyle = UITableViewCellSelectionStyleNone;
                      UITextField *user_ID_TextField1 = [[UITextField alloc] initWithFrame:CGRectZero];
                      aCell.accessoryView = user_ID_TextField1;
                      [user_ID_TextField1 release];
  </code></pre>
  
  <p>Thanks</p>