moved javascript to own files

This commit is contained in:
Jeena Paradies 2010-04-24 22:12:31 +02:00
parent 705ce5d3f3
commit 1e92b50515
7 changed files with 752 additions and 745 deletions

View file

@ -53,6 +53,7 @@
NSString *path = [[NSBundle mainBundle] resourcePath];
NSURL *url = [NSURL fileURLWithPath:path];
NSString *index_string = [NSString stringWithContentsOfFile:[NSString stringWithFormat:@"%@/index.html", path] encoding:NSUTF8StringEncoding error:nil];
NSLog(@"%@", url);
[[webView mainFrame] loadHTMLString:index_string baseURL:url];
viewDelegate = [[ViewDelegate alloc] initWithWebView:webView];