Skip to content

Commit

Permalink
Load our cover.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dannygreg committed Feb 18, 2012
1 parent 220f437 commit b05e94e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AppDelegate.m
Expand Up @@ -51,6 +51,12 @@ -(void) setTheLoopCount:(int)theLoopCount
[self.loopCountStepper setIntValue:[self loopCount]]; [self.loopCountStepper setIntValue:[self loopCount]];
} }


- (void)awakeFromNib
{
NSURL *htmlFileURL = [[NSBundle mainBundle] URLForResource:@"cover" withExtension:@"html"];
[self.coverWebView setMainFrameURL:[htmlFileURL absoluteString]];
}

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification - (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{ {
[[self window] setTitleBarHeight:40.0]; [[self window] setTitleBarHeight:40.0];
Expand Down
4 changes: 4 additions & 0 deletions cover.html
@@ -0,0 +1,4 @@
<html>
<body>
<p>Hello World!</p>
</body>

0 comments on commit b05e94e

Please sign in to comment.