title: Custom TableViewCell conflicting with newly associated .xib cell
body: <p>I have implemented "Clear" app style swipes for deleting and archiving articles (SHCTableViewCell). It worked well. Now I wanted to have some more labels on my cell and I have created custom table view cell form xib file. Then, I associated it with class of my custom cell(which uses swipes). I gave an identifier to xib cell.</p>
  
  <p>and added in my cellForRowAtIndexPath this code:</p>
  
  <pre><code>if (!cell)
      {
          [tableView registerNib:[UINib nibWithNibName:@"SHCTableViewCell_inbox" bundle:nil] forCellReuseIdentifier:CellIdentifier];
          cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      }
  </code></pre>
  
  <p>Well, nice! Now I can see my my custom labels, but swipes do not work.
  What could have caused this conflict?</p>
  
  <p>InboxViewController.m</p>
  
  <pre><code>. . . 
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
      static NSString *CellIdentifier = @"ContentCell";
  
      SHCTableViewCell_inbox *cell = nil;//[tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
      if (!cell)
      {
          [tableView registerNib:[UINib nibWithNibName:@"SHCTableViewCell_inbox" bundle:nil] forCellReuseIdentifier:CellIdentifier];
          cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      }
      cell.textLabel.backgroundColor = [UIColor clearColor];
      Article* article = [self.articles objectAtIndex:indexPath.row];
      cell.blog.text = article.blog;
      cell.rating.text = [NSString stringWithFormat: @"%ld", (long)article.rating];
      cell.title.text = article.title;
      [cell setBackgroundColor:[UIColor clearColor]];
      [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
  
      cell.delegate = self;
      cell.todoItem = article;
      return cell;
  }
  
  . . .
  </code></pre>
  
  <p>xib cell file:</p>
  
  <p><img src="https://i.stack.imgur.com/k6FqT.png" alt="enter image description here"></p>
  
  <p>EDIT:
  I think that it is something to do with gesture recogniser. SHCTableViewCell_inbox has  initWithStyle: and apparently, it never gets called.
  Next lines of code are in initWithStyle, that are responsible for gesture recognition.
      UIGestureRecognizer* recognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)];
              recognizer.delegate = self;
              [self addGestureRecognizer:recognizer];</p>