ConstraintBuilder

1.3.0

Convenience Auto Layout methods using result builders
PimCoumans/ConstraintBuilder

What's New

v1.3.0

2023-03-08T10:11:38Z

What's Changed

Full Changelog: 1.2.2...1.3.0

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)
}

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Mar 15 2024 23:06:03 GMT-0900 (Hawaii-Aleutian Daylight Time)