Masonry(约束安装过程):

2016-06-08  本文已影响140人  GodyZ

View+MASAdditions (入口)

MASConstraintMaker

MASViewConstraint

MASViewAttribute

MASLayoutConstraint : NSLayoutConstraint

 [MASLayoutConstraint constraintWithItem:firstView  (约束的创建)
                                        attribute:firstViewAttribute
                                        relatedBy:self.layoutRelation
                                           toItem:secondView
                                        attribute:secondViewAttribute
                                       multiplier:self.layoutMultiplier
                                         constant:self.layoutConstant]
上一篇下一篇

猜你喜欢

热点阅读