NSLayoutEquations 0.2.1

NSLayoutEquations 0.2.1

测试测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新发布2014 年 12 月

Morgan Harris 维护。



  • 作者:
  • gormster

将 NSLayoutConstraint 设计得就像 y = mx + b 那样简单。

非常简单:它就是 y=mx+b。那么平均的 NSLayoutConstraint 初始化为什么需要 200 多个字符呢?

添加了两个新的方法

  • +[NSLayoutConstraint constraintWithFormula:LHS:RHS:]
  • -[UIView constrain:to:]

让自动布局像一句话一样简单。

安装

pod 'NSLayoutEquations'

作者

gormster

许可证

MIT