title: How to fix: unrecognized selector sent to instance
body: <p>I am having a problem that may be simple to fix, but not simple for me to debug. I simple have a button inside a view in IB; the file's owner is set to the view controller class I am using and when making the connections, everything seems fine, ie. the connector is finding the method I am trying to call etc.</p>
  
  <p>however, I am receiving this error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[UIApplication getStarted:]: unrecognized selector sent to instance 0x3d19130'</p>
  
  <p>My code is as follows:</p>
  
  <p>RootViewController.h</p>
  
  <pre><code>@interface RootViewController : UIViewController {
  IBOutlet UIButton* getStartedButton;
  }
  
  @property (nonatomic, retain) UIButton* getStartedButton;
  
  - (IBAction) getStarted: (id)sender;
  
  @end
  </code></pre>
  
  <p>RootViewController.m</p>
  
  <pre><code>#import "RootViewController.h"
  #import "SimpleDrillDownAppDelegate.h"
  
  
  @implementation RootViewController
  
  @synthesize  getStartedButton;
  
  - (void)viewDidLoad {
      [super viewDidLoad];
  }
  
  
  - (IBAction) getStarted: (id)sender {
      NSLog(@"Button Tapped!");
      //[self.view removeFromSuperview];  
  }
  
  - (void)dealloc {
      [getStartedButton release];
      [super dealloc];
  }
  
  @end
  </code></pre>
  
  <p>Seems simple enough...any thoughs?</p>