mirror of
https://github.com/zhigang1992/IOS7ScrollViews.git
synced 2026-06-10 23:49:23 +08:00
32 lines
824 B
Objective-C
32 lines
824 B
Objective-C
//
|
|
// SVAppDelegate.m
|
|
// iOS7ScrollViews
|
|
//
|
|
// Created by Pierre Felgines on 20/06/13.
|
|
// Copyright (c) 2013 Pierre Felgines. All rights reserved.
|
|
//
|
|
|
|
#import "SVAppDelegate.h"
|
|
#import "SVViewController.h"
|
|
|
|
@implementation SVAppDelegate
|
|
|
|
- (void)dealloc {
|
|
[_window release];
|
|
[super dealloc];
|
|
}
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
|
|
|
|
SVViewController * viewController = [[SVViewController alloc] initWithNibName:nil bundle:nil];
|
|
self.window.rootViewController = viewController;
|
|
[viewController release];
|
|
|
|
self.window.backgroundColor = [UIColor whiteColor];
|
|
[self.window makeKeyAndVisible];
|
|
return YES;
|
|
}
|
|
|
|
@end
|