mirror of https://github.com/SnapKit/SnapKit
Updated debugging
This commit is contained in:
parent
08ff0472b2
commit
7205e043e8
|
@ -60,9 +60,9 @@ public extension LayoutConstraint {
|
|||
override public var description: String {
|
||||
var description = "<"
|
||||
|
||||
description += descriptionForObject(self)
|
||||
description += snp_descriptionForObject(self)
|
||||
|
||||
description += " \(descriptionForObject(self.firstItem))"
|
||||
description += " \(snp_descriptionForObject(self.firstItem))"
|
||||
if self.firstAttribute != .NotAnAttribute {
|
||||
description += ".\(self.firstAttribute.snp_description)"
|
||||
}
|
||||
|
@ -70,7 +70,7 @@ public extension LayoutConstraint {
|
|||
description += " \(self.relation.snp_description)"
|
||||
|
||||
if let secondItem: AnyObject = self.secondItem {
|
||||
description += " \(descriptionForObject(secondItem))"
|
||||
description += " \(snp_descriptionForObject(secondItem))"
|
||||
}
|
||||
|
||||
if self.secondAttribute != .NotAnAttribute {
|
||||
|
|
Loading…
Reference in New Issue