Last active
August 29, 2015 14:26
-
-
Save shnhrrsn/6ab02e1d4f7f41a4408e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension CGRect: DebugPrintable { | |
var debugDescription: String { | |
return NSStringFromCGRect(self) | |
} | |
} | |
extension CGSize: DebugPrintable { | |
var debugDescription: String { | |
return NSStringFromCGSize(self) | |
} | |
} | |
extension CGPoint: DebugPrintable { | |
var debugDescription: String { | |
return NSStringFromCGPoint(self) | |
} | |
} | |
extension CGAffineTransform: DebugPrintable { | |
var debugDescription: String { | |
return NSStringFromCGAffineTransform(self) | |
} | |
} | |
extension UIEdgeInsets: DebugPrintable { | |
var debugDescription: String { | |
return NSStringFromUIEdgeInsets(self) | |
} | |
} | |
extension UIOffset: DebugPrintable { | |
var debugDescription: String { | |
return NSStringFromUIOffset(self) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment