ibireme/YYModel

继承关系的子类不会继承父类的modelCustomPropertyMapper配置

flypigrmvb opened this issue · 1 comments

继承关系的子类不会继承父类的modelCustomPropertyMapper配置,是否可以支持呢?

  • (NSDictionary *)modelCustomPropertyMapper {
    Class pclss = [self superclass];
    NSDictionary *pmap = nil;
    if ([pclss respondsToSelector:@selector(modelCustomPropertyMapper)]) {
    pmap = [(id)pclss modelCustomPropertyMapper];
    }
    ...