123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #import "PureLayoutDefines.h"
- PL__ASSUME_NONNULL_BEGIN
- #pragma mark NSLayoutConstraint+PureLayout
- @interface NSLayoutConstraint (PureLayout)
- #pragma mark Batch Constraint Creation
- + (PL__NSArray_of(NSLayoutConstraint *) *)autoCreateAndInstallConstraints:(__attribute__((noescape)) ALConstraintsBlock)block;
- + (PL__NSArray_of(NSLayoutConstraint *) *)autoCreateConstraintsWithoutInstalling:(__attribute__((noescape)) ALConstraintsBlock)block;
- #pragma mark Set Priority For Constraints
- + (void)autoSetPriority:(ALLayoutPriority)priority forConstraints:(__attribute__((noescape)) ALConstraintsBlock)block;
- #pragma mark Identify Constraints
- #if PL__PureLayout_MinBaseSDK_iOS_8_0 || PL__PureLayout_MinBaseSDK_OSX_10_10
- + (void)autoSetIdentifier:(NSString *)identifier forConstraints:(__attribute__((noescape)) ALConstraintsBlock)block;
- - (instancetype)autoIdentify:(NSString *)identifier;
- #endif
- #pragma mark Install & Remove Constraints
- - (void)autoInstall;
- - (void)autoRemove;
- @end
- PL__ASSUME_NONNULL_END
|