From 3479309e59cd912a0be14d6c1c883ae5a87054a4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 11 Mar 2011 11:03:07 -0800 Subject: Add a useful -description for CyteWebView. --- CyteKit/WebView.mm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CyteKit') diff --git a/CyteKit/WebView.mm b/CyteKit/WebView.mm index 608e9e2..363b9cb 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]; } -- cgit v1.2.3