Auxiliary 0.1.0

Auxiliary 0.1.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by aimobier.



Auxiliary 0.1.0

  • By
  • WenZheng Jing

Auxiliary

一款轻量级的约束设置框架,你从未想到设置修改约束还能这么简单

Use

let playerView = UIView()
self.view.addSubview(playerView)

self.view.addSubview(playerView)
playerView.aux.top.constant(toItem: self.topLayoutGuide.aux.bottom)
playerView.aux.left.constant()
playerView.aux.right.constant()
playerView.aux.height.constant(constant: 200)

See More

Document here