Contents

조회 수 1073 댓글 0
Atachment
첨부 '1'
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

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



?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
325 Develop [android] 만화 어플 소스코드 file hooni 2013.04.23 92838
324 Develop [c#] 웹문서 소스(html) 긁어오기 file hooni 2013.04.23 24508
323 Develop [C#] MD5, SHA1 해시 & 인코딩 hooni 2013.04.23 77858
322 Develop [spring] 스프링 IoC/DI hooni 2013.04.23 11349
321 Develop [java] Interface 와 abstract hooni 2013.04.23 8707
320 Develop [ios] 코코아 프레임워크(Cocoa Framework) 기본적인 내용~ hooni 2013.04.23 27684
319 Develop [ios] 참고할만한 좋은 예제 소스.. hooni 2013.04.23 27373
318 Develop [js] 수학 공식을 제공하는 Math 객체 hooni 2013.04.23 15414
317 Develop [js] 간단한 게임 프로토타입 (HTML5 와는 무관) hooni 2013.04.23 15154
316 Develop [android] 자동차 리모컨 소스코드 secret hooni 2013.04.23 17082
315 Develop [android] [번역] 안드로이드 Android Cloud to Device Messaging(C2DM) hooni 2013.04.23 20425
314 Develop [ios] Objective-C 문자열 조작 메서드 hooni 2013.04.23 26459
Board Pagination Prev 1 ... 39 40 41 42 43 44 45 46 47 48 ... 71 Next
/ 71