Xin Wang 9 лет назад
Родитель
Сommit
1cda2c6001
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      YYModel/YYClassInfo.m

+ 1 - 1
YYModel/YYClassInfo.m

@@ -152,7 +152,7 @@ YYEncodingType YYEncodingGetType(const char *typeEncoding) {
 
 - (instancetype)initWithProperty:(objc_property_t)property {
     if (!property) return nil;
-    self = [self init];
+    self = [super init];
     _property = property;
     const char *name = property_getName(property);
     if (name) {