Missing property topMargin on ConstraintMakerExtendable (#393)

This pull request adds the missing property "topMargin" to ConstraintMakerExtendable class.
This commit is contained in:
Jairo Tylera 2017-02-11 10:31:59 +01:00 committed by Robert Payne
parent b313f3e637
commit 1448d71704
1 changed files with 6 additions and 0 deletions

View File

@ -109,6 +109,12 @@ public class ConstraintMakerExtendable: ConstraintMakerRelatable {
return self
}
@available(iOS 8.0, *)
public var topMargin: ConstraintMakerExtendable {
self.description.attributes += .topMargin
return self
}
@available(iOS 8.0, *)
public var bottomMargin: ConstraintMakerExtendable {
self.description.attributes += .bottomMargin