diff --git a/Source/ConstraintMaker.swift b/Source/ConstraintMaker.swift index 73bc3cd..63c1be4 100644 --- a/Source/ConstraintMaker.swift +++ b/Source/ConstraintMaker.swift @@ -93,6 +93,11 @@ public class ConstraintMaker { return self.makeExtendableWithAttributes(.rightMargin) } + @available(iOS 8.0, *) + public var topMargin: ConstraintMakerExtendable { + return self.makeExtendableWithAttributes(.topMargin) + } + @available(iOS 8.0, *) public var bottomMargin: ConstraintMakerExtendable { return self.makeExtendableWithAttributes(.bottomMargin)