Add `center` to constraint maker

This commit is contained in:
Robert Payne 2016-08-06 23:25:03 +12:00
parent 1b712cde8c
commit 6aca61ac93
1 changed files with 3 additions and 0 deletions

View File

@ -124,6 +124,9 @@ public class ConstraintMaker {
public var size: ConstraintMakerExtendable { public var size: ConstraintMakerExtendable {
return self.makeExtendableWithAttributes(.size) return self.makeExtendableWithAttributes(.size)
} }
public var center: ConstraintMakerExtendable {
return self.makeExtendableWithAttributes(.center)
}
@available(iOS 8.0, *) @available(iOS 8.0, *)
public var margins: ConstraintMakerExtendable { public var margins: ConstraintMakerExtendable {