This is so simple it's driving me crazy that I can't find an answer.
How can a method refer to the instance that invoked it?
Example: in some method of class alpha, I have "[bravo charley]"
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.
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?
I could do something like
in bravo.h:
-(id) charley:(id)invoker;
in alpha.m:
[bravo charley:self];
and then "[invoker delta];" in the charley method, but that seems pretty ugly.