Skip to content

Commit

Permalink
Missing property topMargin on ConstraintMakerExtendable (SnapKit#393)
Browse files Browse the repository at this point in the history
This pull request adds the missing property "topMargin" to ConstraintMakerExtendable class.
  • Loading branch information
Tylerian authored and robertjpayne committed Feb 11, 2017
1 parent b313f3e commit 1448d71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/ConstraintMakerExtendable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1448d71

Please sign in to comment.