Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (32 sloc) 1.015 kb
// GistAppDelegate.m
// Gist
// Created by David Nolen on 4/14/10.
// Copyright David Nolen 2010. All rights reserved.
#import "GistAppDelegate.h"
#import "RootViewController.h"
#import "DetailViewController.h"
@implementation GistAppDelegate
@synthesize window, splitViewController, rootViewController, detailViewController;
#pragma mark -
#pragma mark Application lifecycle
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after app launch
// Add the split view controller's view to the window and display.
[window addSubview:splitViewController.view];
[window makeKeyAndVisible];
return YES;
- (void)applicationWillTerminate:(UIApplication *)application {
// Save data if appropriate
#pragma mark -
#pragma mark Memory management
- (void)dealloc {
[splitViewController release];
[window release];
[super dealloc];
Jump to Line
Something went wrong with that request. Please try again.