title: Why sendAction: doesn't work while performSelector: does?
body: <p>I have a custom class that supports the target-action mechanism but oddly in this specific case, when I try to call the action by executing:</p>
  
  <pre><code>[NSApp sendAction:action_ to:target_ from:self]
  </code></pre>
  
  <p>it doesn't work, but this way does:</p>
  
  <pre><code>[target_ performSelector:action_ withObject:self];
  </code></pre>
  
  <p>Obviously both <code>target_</code> and <code>action_</code> have valid values.</p>
  
  <p>This is not a big deal as I got it working.</p>
  
  <p>I just can't figure out why <code>-[NSApplication sendAction:to:from:]</code> would not work, as this looks like a pretty basic operation. I've been using <code>sendAction:...</code> in the past without a problem but there seems to be some significant difference between these two, apart from the fact that <code>sendAction</code> has a mechanism to look for an object that responds to the message if its target is <code>nil</code>.</p>