NSString *cClassName = NSStringFromClass([UIView class]);
const char* theClass = object_getClassName(cClassName);
NSLog(@"theclassname is:%s",theClass);
unsigned int outCount;
Method *m = class_copyMethodList([UIView class], &outCount);
NSLog(@"MethodList count = %d",outCount);
for(int i = 0;i < outCount;i++){
SEL a = method_getName(*(m + i));
NSString *sn = NSStringFromSelector(a);
NSLog(@"method_Name%d%@",i,sn);
}