isMemberOfClass和isKindOfClass
实例方法对应的A为类
类方法对应的A为元类
//isMemberOfClass 直接判断
//isKindOfClass 调用者可循环 ([a class]->superclass == A)
[a isMemberOfClass:A ];
[a isKindOfClass:A];
Man *man = [Man new];
BOOL a = [man isMemberOfClass:[Man class]]; //1
BOOL b = [man isKindOfClass:[Man class]]; //1
BOOL c = [Man isKindOfClass:[NSObject class]]; //1
BOOL d = [Man isMemberOfClass:[NSObject class]]; //0