title: Using Custom Static Table View Cell XIB in Storyboard
body: <p>I have a custom static <code>UITableViewCell</code> that I want to look exactly the same as a right detail cell (<code>UILabel</code> on the left, <code>UILabel</code> on the right), except I want the right <code>UILabel</code> to be an editable <code>UITextField</code>. Since I want to use this cell in multiple view controllers in my storyboard, I decided the best option would be to create a <em>MyEditableTableViewCell.xib</em> file, along with corresponding *<em>.h,m</em> files. I have two public properties in <em>MyEditableTableViewCell.h</em>:</p>
  
  <pre><code>@property (weak, nonatomic) IBOutlet UILabel *textLabel;
  @property (weak, nonatomic) IBOutlet UITextField *detailTextField;
  </code></pre>
  
  <p>These <code>IBOutlet</code>s are connected to the <code>UILabel</code> and <code>UITextField</code> in the .xib file. In my storyboard, where I have a custom <code>UITableViewController</code> subclass, I change the class of the necessary <code>UITableViewCell</code> to <code>MyEditableTableViewCell</code>. I have a property in my view controller that is:</p>
  
  <p><code>@property (weak, nonatomic) IBOutlet MyEditableTableViewCell *myCell;</code></p>
  
  <p>However, when I run the app, the cell appears as simply a blank cell. Running some checks on it, I see that <code>[myCell isKindOfClass:[MyEditableTableViewCell class]]</code> returns true. However, the <code>UITextField</code> never seems to get instantiated. When I try to alter <code>myCell.detailTextField.text</code>, nothing happens, and <code>myCell.detailTextField</code> appears to be nil.</p>
  
  <p>Any help would be appreciated!</p>