If I have a call from within a random class like this:
@implementation SomeClass
- (void) classMethodFoo
{
int a = [SomeSingleton sharedInstance].aValue;
}
@end
Inside SomeSingleton sharedInstance
, is there a way to get a reference to the object which called this method (without the called passing self as a parameter of course)?