Merge pull request #3 from PimCoumans/feature/improved-generics Improved generics
Merge pull request #3 from PimCoumans/feature/improved-generics
Improved generics
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) }
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
ConstraintBuilder
Convenience Auto Layout methods and ability to apply your constraints through a function builder