fix mismatched return type on view category
Showing
1 changed file
with
4 additions
and
1 deletions
@@ -53,7 +53,10 @@ MAS_ATTR_FORWARD(height); | @@ -53,7 +53,10 @@ MAS_ATTR_FORWARD(height); | ||
53 | MAS_ATTR_FORWARD(centerX); | 53 | MAS_ATTR_FORWARD(centerX); |
54 | MAS_ATTR_FORWARD(centerY); | 54 | MAS_ATTR_FORWARD(centerY); |
55 | MAS_ATTR_FORWARD(baseline); | 55 | MAS_ATTR_FORWARD(baseline); |
56 | -MAS_ATTR_FORWARD(attribute); | 56 | + |
57 | +- (MASViewAttribute *(^)(NSLayoutAttribute))attribute { | ||
58 | + return [self mas_attribute]; | ||
59 | +} | ||
57 | 60 | ||
58 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block { | 61 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block { |
59 | return [self mas_makeConstraints:block]; | 62 | return [self mas_makeConstraints:block]; |
-
Please register or login to post a comment