Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: static-lib
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (27 sloc) 0.758 kB
//
// AppDelegate.m
// node-shell-lib
//
// Created by Joel Brandt on 5/29/12.
// Copyright (c) 2012 Adobe Systems. All rights reserved.
//
#import "AppDelegate.h"
#import "NodeWrapper.h"
@implementation AppDelegate
@synthesize window = _window;
@synthesize theWebView = _theWebView;
- (void)dealloc
{
[super dealloc];
}
- (void) goToURL:(NSString*) url
{
NSURLRequest* myRequest = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:url]];
[[_theWebView mainFrame] loadRequest:myRequest];
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
// Insert code here to initialize your application
[NSThread detachNewThreadSelector:@selector(startNode:) toTarget:[NodeWrapper class] withObject:nil];
}
@end
Jump to Line
Something went wrong with that request. Please try again.