old mode 100644
new mode 100755
| | |
| | | /** |
| | | * Modifies the NSLayoutConstraint constant, |
| | | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following |
| | | * NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight |
| | | */ |
| | | - (MASConstraint * (^)(CGFloat inset))inset; |
| | | |
| | | /** |
| | | * Modifies the NSLayoutConstraint constant, |
| | | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following |
| | | * NSLayoutAttributeWidth, NSLayoutAttributeHeight |
| | | */ |
| | | - (MASConstraint * (^)(CGSize offset))sizeOffset; |
| | |
| | | /** |
| | | * Sets the NSLayoutConstraint priority to MASLayoutPriorityLow |
| | | */ |
| | | - (MASConstraint * (^)())priorityLow; |
| | | - (MASConstraint * (^)(void))priorityLow; |
| | | |
| | | /** |
| | | * Sets the NSLayoutConstraint priority to MASLayoutPriorityMedium |
| | | */ |
| | | - (MASConstraint * (^)())priorityMedium; |
| | | - (MASConstraint * (^)(void))priorityMedium; |
| | | |
| | | /** |
| | | * Sets the NSLayoutConstraint priority to MASLayoutPriorityHigh |
| | | */ |
| | | - (MASConstraint * (^)())priorityHigh; |
| | | - (MASConstraint * (^)(void))priorityHigh; |
| | | |
| | | /** |
| | | * Sets the constraint relation to NSLayoutRelationEqual |
| | |
| | | - (MASConstraint *)centerY; |
| | | - (MASConstraint *)baseline; |
| | | |
| | | #if TARGET_OS_IPHONE |
| | | #if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) || (__MAC_OS_X_VERSION_MIN_REQUIRED >= 101100) |
| | | |
| | | - (MASConstraint *)firstBaseline; |
| | | - (MASConstraint *)lastBaseline; |
| | | |
| | | #endif |
| | | |
| | | #if (__IPHONE_OS_VERSION_MIN_REQUIRED >= 80000) || (__TV_OS_VERSION_MIN_REQUIRED >= 9000) |
| | | |
| | | - (MASConstraint *)leftMargin; |
| | | - (MASConstraint *)rightMargin; |
| | |
| | | /** |
| | | * Modifies the NSLayoutConstraint constant, |
| | | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following |
| | | * NSLayoutAttributeTop, NSLayoutAttributeLeft, NSLayoutAttributeBottom, NSLayoutAttributeRight |
| | | */ |
| | | - (void)setInset:(CGFloat)inset; |
| | | |
| | | /** |
| | | * Modifies the NSLayoutConstraint constant, |
| | | * only affects MASConstraints in which the first item's NSLayoutAttribute is one of the following |
| | | * NSLayoutAttributeWidth, NSLayoutAttributeHeight |
| | | */ |
| | | - (void)setSizeOffset:(CGSize)sizeOffset; |
| | |
| | | |
| | | // NSLayoutConstraint Installation support |
| | | |
| | | #if TARGET_OS_MAC && !TARGET_OS_IPHONE |
| | | #if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV) |
| | | /** |
| | | * Whether or not to go through the animator proxy when modifying the constraint |
| | | */ |