目录
目录README.md

ConstraintBuilder

Convenience Auto Layout methods and ability to apply your constraints through a function builder

someView.extendToSuperview()
someOtherView.extendToSuperviewLayoutMargins()
centeredView.center(in: mySpecialLayoutGuide)
someView.applyConstraints {
    $0.leadingAnchor.constraint(equalTo: contentView.layoutMarginsGuide.leadingAnchor)
    $0.centerYAnchor.constraint(equalTo: contentView.layoutMarginsGuide.centerYAnchor)
}
关于
47.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号