title: IBAction won't drag to UISearchBar
body: <p>So I've defined an IBAction in my header, implemented it in my main and I can see it in IB - however, when I drag over the UISearchBar, it doesn't connect.</p>
  
  <p>Here's my header code:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @class DetailViewController;
  
  @interface CustomerListViewController : UITableViewController
  {
  }
  
  -(IBAction)filterTableData:(UISearchBar *)filterBar;
  
  @property (strong, nonatomic) DetailViewController *detailViewController;
  @property (retain) IBOutlet UISearchBar *searchBar;
  @property (strong, nonatomic)NSArray *custs, *workingSet;
  
  
  @end
  </code></pre>
  
  <p>Here's my implementing method:</p>
  
  <pre><code>-(IBAction)filterTableData:(UISearchBar *)filterBar {
  
      //filter our search results
      NSString *filter;
      if (filterBar.text)
          filter = [filterBar.text stringByAppendingString:@"*"];
      else
          filter = @"*";
  
      NSPredicate *predicate = [NSPredicate predicateWithFormat:@"SELF LIKE[cd] %@", filter];
      self.workingSet = [self.custs filteredArrayUsingPredicate: predicate];
  
      [self.tableView reloadData];
  }
  </code></pre>
  
  <p>And here's an image of IB actually seeing the method and allowing it to be dragged, and me unsuccessfully attempting to drag it to the search bar:</p>
  
  <p><a href="http://i.imgur.com/QLPMT.png" rel="nofollow">http://i.imgur.com/QLPMT.png</a></p>