summaryrefslogtreecommitdiff
path: root/CyteKit/WebViewController.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-21 16:31:51 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-21 16:31:51 -0700
commit68bd7c60c69be8fbf1d8a5ef7dc8ca62883351a5 (patch)
tree2b429101e03322eabdfa9a3525040ed4e41afbd9 /CyteKit/WebViewController.mm
parentb73d8da0dad38d15ca4ec307cacdebbe092dec5b (diff)
Add initWithRequest: to CyteWebViewController.
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r--CyteKit/WebViewController.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index a38a8d0..3e77a51 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -939,6 +939,12 @@ float CYScrollViewDecelerationRateNormal;
} return self;
}
+- (id) initWithRequest:(NSURLRequest *)request {
+ if ((self = [self init]) != nil) {
+ [self setRequest:request];
+ } return self;
+}
+
- (void) callFunction:(WebScriptObject *)function {
WebThreadLocked lock;