mirror of https://github.com/SnapKit/SnapKit
Missing property topMargin on ConstraintMakerExtendable (#393)
This pull request adds the missing property "topMargin" to ConstraintMakerExtendable class.
This commit is contained in:
parent
b313f3e637
commit
1448d71704
|
@ -109,6 +109,12 @@ public class ConstraintMakerExtendable: ConstraintMakerRelatable {
|
||||||
return self
|
return self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@available(iOS 8.0, *)
|
||||||
|
public var topMargin: ConstraintMakerExtendable {
|
||||||
|
self.description.attributes += .topMargin
|
||||||
|
return self
|
||||||
|
}
|
||||||
|
|
||||||
@available(iOS 8.0, *)
|
@available(iOS 8.0, *)
|
||||||
public var bottomMargin: ConstraintMakerExtendable {
|
public var bottomMargin: ConstraintMakerExtendable {
|
||||||
self.description.attributes += .bottomMargin
|
self.description.attributes += .bottomMargin
|
||||||
|
|
Loading…
Reference in New Issue