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) }
ConstraintBuilder
Convenience Auto Layout methods and ability to apply your constraints through a function builder