title: How can an Objective-C method refer to the object that invoked it?
body: <p>This is so simple it's driving me crazy that I can't find an answer.</p>
  
  <p>How can a method refer to the instance that invoked it?</p>
  
  <p>Example: in some method of class alpha, I have "[bravo charley]"</p>
  
  <p>I want to have the charley method do "[alpha-instance delta];" with the particular instance of alpha that did the "[bravo charley]". But charley doesn't know anything about alpha or its instances.</p>
  
  <p>In other words, how can I get a reference to alpha-instance from within the charley method that was invoked by a method in alpha-instance?</p>
  
  <p>I could do something like</p>
  
  <pre><code>in bravo.h:
      -(id) charley:(id)invoker;
  in alpha.m:
      [bravo charley:self];
  </code></pre>
  
  <p>and then "[invoker delta];" in the charley method, but that seems pretty ugly.</p>