Expose location as part of LayoutConstraint for public access

This commit is contained in:
Akiva Leffert 2015-10-13 21:32:42 -04:00
parent 0fe4ad005b
commit 7ae143c3ac
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ public class LayoutConstraint: NSLayoutConstraint {
internal var snp_constraint: Constraint? = nil
public var snp_location: SourceLocation? {
return snp_constraint?.location
}
}
internal func ==(left: LayoutConstraint, right: LayoutConstraint) -> Bool {