Xin Wang 9 жил өмнө
parent
commit
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) {