title: New custom cell from XIB causing key value coding-compliant for the key ...?
body: <p>I've a custom table view cell that I created using XIB:</p>
  
  <p><img src="https://i.stack.imgur.com/uEFH6.png" alt="enter image description here"></p>
  
  <p>I've also linked up the XIB file with my custom UITableView cell.</p>
  
  <p>But now when I try to load the cell in <code>- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath</code> with the following codes:</p>
  
  <pre><code>MyCustomTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell"];
      if (cell == nil) {
          // Load the top-level objects from the custom cell XIB.
          NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"CustomTableViewCell" owner:cell options:nil];
          // Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).
          cell = [topLevelObjects objectAtIndex:1];
      }
  </code></pre>
  
  <p>I'll get a <code>[&lt;NSObject 0x8a5b970&gt; setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key hitMeButton.</code></p>
  
  <p>I have been searching online and one of the possible reasons might be that the XIB is not linked to the IBOutlet, I've checked so that doesn't seem to be the case.</p>