http://stackoverflow.com/questions/1135366/class-method-equivalent-of-respondstoselector

In essence:

NSLog(@"Responds to selector? %i", [NSObject respondsToSelector:@selector(respondsToSelector:)]);
NSLog(@"Responds to selector? %i", [[NSObject class] respondsToSelector:@selector(respondsToSelector:)]);

Advertisements