//
//  AppDelegate.m
//  WSFSlideTitlesView
//
//  Created by WangShengFeng on 3/7/16.
//  Copyright 漏 2016 WangShengFeng. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate

- (UIWindow *)window
{
    if (!_window) {
        _window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
        [_window makeKeyAndVisible];
    }
    return _window;
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    ViewController *slideVC = [[ViewController alloc] init];
    slideVC.title = @"WSFSlideTitlesView";
    slideVC.view.backgroundColor = [UIColor orangeColor];
    
    UINavigationController *navVC = [[UINavigationController alloc] initWithRootViewController:slideVC];
    
    self.window.rootViewController = navVC;
    
    return YES;
}

@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// 链接已屏蔽
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com