Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b83e24b4c9
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (26 sloc) 0.994 kb
//
// SCAppDelegate.m
// SSCatalog
//
// Created by Sam Soffes on 9/21/09.
// Copyright 2009 Sam Soffes, Inc. All rights reserved.
//
#import "SCAppDelegate.h"
#import "SCRootViewController.h"
@implementation SCAppDelegate {
UIWindow *_window;
UINavigationController *_navigationController;
}
#pragma mark - Accessors
@synthesize window = _window;
@synthesize navigationController = _navigationController;
#pragma mark - UIApplicationDelegate
- (void)applicationDidFinishLaunching:(UIApplication *)application {
_window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
SCRootViewController *viewController = [[SCRootViewController alloc] initWithStyle:UITableViewStyleGrouped];
UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:viewController];
self.navigationController = aNavigationController;
[_window addSubview:_navigationController.view];
[_window makeKeyAndVisible];
}
@end
Jump to Line
Something went wrong with that request. Please try again.