title: Unrecognized Selector while sending NSNotification
body: <p>I am attempting to implement a collapsible table view in an iOS application. To do this, I have a gesture recognizer set up in the section headers that will fire NSNotification to the parent controller, which will then refresh the view showing the expanded view.</p>
  
  <p>Everything works up until the parent controller receives its message, which will cause the following error to occur:</p>
  
  <pre><code>'+[MasterViewController receiveTestNotification:]: unrecognized selector sent to class 0xa92a8'
  </code></pre>
  
  <p>I've looked around on this site and found a few posts relating to this error, but as far as I can tell I am not making those mistakes.</p>
  
  <p>My registration happens in the initialization of the controller and looks like this:</p>
  
  <pre><code>[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveTestNotification:) name:@"RefreshNavigation" object:nil];
  </code></pre>
  
  <p>The receiver method I want called has this signature:</p>
  
  <pre><code>- (void) receiveTestNotification:(NSNotification *) notification
  </code></pre>
  
  <p>I send this notification like so, which is in a custom subclass of UIView that I am using as a section header:</p>
  
  <pre><code>[[NSNotificationCenter defaultCenter] postNotificationName:@"RefreshNavigation" object:self];
  </code></pre>
  
  <p>The examples I have found point to this exact configuration. I am quite certain that the controller isn't being deallocated as it is used shortly thereafter throughout the app.</p>
  
  <p>Any ideas on what I'm doing wrong?</p>