old mode 100644
new mode 100755
| | |
| | | }; |
| | | } |
| | | |
| | | #if TARGET_OS_IPHONE |
| | | #if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) |
| | | |
| | | - (MASViewAttribute *)mas_firstBaseline { |
| | | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeFirstBaseline]; |
| | | } |
| | | - (MASViewAttribute *)mas_lastBaseline { |
| | | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLastBaseline]; |
| | | } |
| | | |
| | | #endif |
| | | |
| | | #if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) |
| | | |
| | | - (MASViewAttribute *)mas_leftMargin { |
| | | return [[MASViewAttribute alloc] initWithView:self layoutAttribute:NSLayoutAttributeLeftMargin]; |
| | |
| | | |
| | | #endif |
| | | |
| | | #if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 110000) || (__TV_OS_VERSION_MAX_ALLOWED >= 110000) |
| | | |
| | | - (MASViewAttribute *)mas_safeAreaLayoutGuide { |
| | | return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; |
| | | } |
| | | - (MASViewAttribute *)mas_safeAreaLayoutGuideTop { |
| | | return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeTop]; |
| | | } |
| | | - (MASViewAttribute *)mas_safeAreaLayoutGuideBottom { |
| | | return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeBottom]; |
| | | } |
| | | - (MASViewAttribute *)mas_safeAreaLayoutGuideLeft { |
| | | return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeLeft]; |
| | | } |
| | | - (MASViewAttribute *)mas_safeAreaLayoutGuideRight { |
| | | return [[MASViewAttribute alloc] initWithView:self item:self.safeAreaLayoutGuide layoutAttribute:NSLayoutAttributeRight]; |
| | | } |
| | | |
| | | #endif |
| | | |
| | | #pragma mark - associated properties |
| | | |
| | | - (id)mas_key { |