Skip to content

Commit

Permalink
Merge pull request ibireme#114 from sutar/patch-init
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Jun 5, 2016
2 parents c53f3bb + 1cda2c6 commit 0ae5e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YYModel/YYClassInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ @implementation YYClassPropertyInfo

- (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) {
Expand Down

0 comments on commit 0ae5e6c

Please sign in to comment.