Updated debugging

This commit is contained in:
Robert Payne 2015-04-11 21:27:46 +12:00
parent 08ff0472b2
commit 7205e043e8
1 changed files with 3 additions and 3 deletions

View File

@ -60,9 +60,9 @@ public extension LayoutConstraint {
override public var description: String { override public var description: String {
var description = "<" var description = "<"
description += descriptionForObject(self) description += snp_descriptionForObject(self)
description += " \(descriptionForObject(self.firstItem))" description += " \(snp_descriptionForObject(self.firstItem))"
if self.firstAttribute != .NotAnAttribute { if self.firstAttribute != .NotAnAttribute {
description += ".\(self.firstAttribute.snp_description)" description += ".\(self.firstAttribute.snp_description)"
} }
@ -70,7 +70,7 @@ public extension LayoutConstraint {
description += " \(self.relation.snp_description)" description += " \(self.relation.snp_description)"
if let secondItem: AnyObject = self.secondItem { if let secondItem: AnyObject = self.secondItem {
description += " \(descriptionForObject(secondItem))" description += " \(snp_descriptionForObject(secondItem))"
} }
if self.secondAttribute != .NotAnAttribute { if self.secondAttribute != .NotAnAttribute {