diff --git a/Source/ConstraintMaker.swift b/Source/ConstraintMaker.swift index 94f1556..cefa31f 100644 --- a/Source/ConstraintMaker.swift +++ b/Source/ConstraintMaker.swift @@ -124,6 +124,9 @@ public class ConstraintMaker { public var size: ConstraintMakerExtendable { return self.makeExtendableWithAttributes(.size) } + public var center: ConstraintMakerExtendable { + return self.makeExtendableWithAttributes(.center) + } @available(iOS 8.0, *) public var margins: ConstraintMakerExtendable {