Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (24 sloc) 0.967 kB
/*
This code is licensed under a Simplified BSD License. See LICENSE for details.
If you find this code useful, please consider downloading a copy of the app that spawned it ( http://itunes.com/apps/VERVM ) and leaving a review.
My thanks,
-Joshua Emmons
@jemmons
*/
#import "VCAppDelegate.h"
#import "VCBookViewController.h"
@implementation VCAppDelegate
@synthesize window, viewController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[window addSubview:viewController.view];
[window makeKeyAndVisible];
//We have to call this after a loop because it relies on orientation (which is "unknown" until after a go through the run loop).
[viewController performSelector:@selector(selectedPageDidChange:) withObject:nil afterDelay:0];
return YES;
}
-(void)dealloc {
[viewController release]; viewController=nil;
[window release];window=nil;
[super dealloc];
}
@end
Jump to Line
Something went wrong with that request. Please try again.