mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-06-10 15:59:34 +08:00
25 lines
790 B
Objective-C
25 lines
790 B
Objective-C
//
|
|
// AppDelegate.m
|
|
// RETableViewManagerExample
|
|
//
|
|
// Created by Roman Efimov on 2/28/13.
|
|
// Copyright (c) 2013 Roman Efimov. All rights reserved.
|
|
//
|
|
|
|
#import "AppDelegate.h"
|
|
#import "RootViewController.h"
|
|
|
|
@implementation AppDelegate
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
|
{
|
|
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
|
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:[[RootViewController alloc] initWithStyle:UITableViewStyleGrouped]];
|
|
self.window.rootViewController = navigationController;
|
|
self.window.backgroundColor = [UIColor whiteColor];
|
|
[self.window makeKeyAndVisible];
|
|
return YES;
|
|
}
|
|
|
|
@end
|