From: Jay Freeman (saurik) Date: Fri, 11 Mar 2011 19:03:07 +0000 (-0800) Subject: Add a useful -description for CyteWebView. X-Git-Tag: v1.1.0%b6~2 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/3479309e59cd912a0be14d6c1c883ae5a87054a4 Add a useful -description for CyteWebView. --- diff --git a/CyteKit/WebView.mm b/CyteKit/WebView.mm index 608e9e29..363b9cb2 100644 --- a/CyteKit/WebView.mm +++ b/CyteKit/WebView.mm @@ -121,6 +121,10 @@ [super dealloc]; } +- (NSString *) description { + return [NSString stringWithFormat:@"<%s: %p, %@>", class_getName([self class]), self, [[[self request] URL] absoluteString]]; +} + - (id) delegate { return (id) [super delegate]; }