Skip to content

Commit a946561

Browse files
committed
NSObject should adopt CustomStringConvertable and CustomDebugStringConvertible
1 parent 75dc2d0 commit a946561

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Foundation/NSObject.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,9 @@ extension NSObject : Equatable, Hashable {
127127
public func ==(lhs: NSObject, rhs: NSObject) -> Bool {
128128
return lhs.isEqual(rhs)
129129
}
130+
131+
extension NSObject : CustomDebugStringConvertible {
132+
}
133+
134+
extension NSObject : CustomStringConvertible {
135+
}

0 commit comments

Comments
 (0)