Possible Duplicate:
How can I make every message an object receives thread-safe?
I need to catch action of another class when doing some event
for example when doing some event, SomeClass call someMethod, I need catch someMethod
@implementation MyClass
- (void)viewDidLoad
{
[super viewDidLoad];
Class newClass = objc_getClass("SomeClass");
}
@end