Contents

Views 1150 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

AppDelegate.h

#import <UIKit/UIKit.h>
#import "MainViewController.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) UINavigationController *navigationController;
@property (strong, nonatomic) MainViewController *mainViewController;

@end


AppDelegate.m

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application
    didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Override point for customization after application launch.

    self.window = [[UIWindow alloc]
        initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    
    self.mainViewController = [[MainViewController alloc] init];
    self.navigationController = [[UINavigationController alloc]
        initWithRootViewController:_mainViewController];
    //[self.navigationController setNavigationBarHidden:YES];
    self.window.rootViewController = _navigationController;
    [self.window makeKeyAndVisible];
    
    return YES;
}

...

@end



?

  1. RSVP 란?

  2. [mac] VirtualBox 실행 스크립트와 bash_profile 설정

  3. [ppt] 정보보호관리 발표내용 #2

  4. [ppt] 정보보호관리 발표내용

  5. [ios][swift] 초간단 To-do Memo

  6. [mac] Homebrew/rvm/cocoapod setting

  7. [ios] Did UIScrollView End Scrolling?

  8. [mac] OS X 엘 캐피탄에서 Soudflower 사용하기

  9. [ppt] iOS 플라랩#03(2015.04.27) 발표 자료

  10. 캘리포니아 운전면허 문제

  11. [ios] 상위 ViewController 가져오기

  12. [svn] Can't convert string from native encoding to 'UTF-8' 메시지가 나오는 경우

Board Pagination Prev 1 ... 83 84 85 86 87 88 89 90 91 92 ... 98 Next
/ 98