diff --git a/Source/LayoutConstraint.swift b/Source/LayoutConstraint.swift index 14ec1ed..87aaad9 100644 --- a/Source/LayoutConstraint.swift +++ b/Source/LayoutConstraint.swift @@ -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 {