Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout
18.05k
stars
3.14k
forks
source link
How can I get NSLayoutConstraint constant? #509
Open
Beyond-Chao opened 6 years ago
There is only setter method. But How can I get a specific NSLayoutConstraint`s constant? /**
MASViewConstraint.m file @property (nonatomic, assign) CGFloat layoutConstant;
pragma mark - Private
if TARGET_OS_MAC && !(TARGET_OS_IPHONE || TARGET_OS_TV)
else
endif
}
How can I get it?