summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-10 16:36:09 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-10 16:57:01 -0800
commite3e0246d0547a209e632c817bef81c813477acf9 (patch)
tree87325936421a20b3a42278813b9a8078c4ca384b
parentd35bcbbfbafdb9217f3dbad30f0d20a7841d6916 (diff)
Helpful override of description on CyteWebViewController.
-rw-r--r--CyteKit/WebViewController.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index 76379fb..6263faf 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -147,6 +147,10 @@ float CYScrollViewDecelerationRateNormal;
[super dealloc];
}
+- (NSString *) description {
+ return [NSString stringWithFormat:@"<%s: %p, %@>", class_getName([self class]), self, [[request_ URL] absoluteString]];
+}
+
- (CyteWebView *) webView {
return (CyteWebView *) [self view];
}