Permalink
Browse files

Load our cover.html

  • Loading branch information...
1 parent 220f437 commit b05e94e7e7354abdbe8ffebe7a2b12c4b954c172 @dannygreg committed Feb 18, 2012
Showing with 10 additions and 0 deletions.
  1. +6 −0 AppDelegate.m
  2. +4 −0 cover.html
View
@@ -51,6 +51,12 @@ -(void) setTheLoopCount:(int)theLoopCount
[self.loopCountStepper setIntValue:[self loopCount]];
}
+- (void)awakeFromNib
+{
+ NSURL *htmlFileURL = [[NSBundle mainBundle] URLForResource:@"cover" withExtension:@"html"];
+ [self.coverWebView setMainFrameURL:[htmlFileURL absoluteString]];
+}
+
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
[[self window] setTitleBarHeight:40.0];
View
@@ -0,0 +1,4 @@
+<html>
+<body>
+<p>Hello World!</p>
+</body>

0 comments on commit b05e94e

Please sign in to comment.