Contents

Views 1157 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



?

List of Articles
No. Category Subject Author Date Views
373 Develop [android] SurfaceView를 이용한 애니메이션 ㅎㅎ file hooni 2013.04.23 57776
372 Develop [android] Canvas를 이용해 이미지 확대/축소 하기 hooni 2013.04.23 60797
371 Develop [java] 입출력 스트림 1부 (문자) file hooni 2013.04.23 15355
370 Develop [java] 입출력 스트림 2부 (바이트) file hooni 2013.04.23 10314
369 Develop [java] 입출력 스트림 3부 (오브젝트) hooni 2013.04.23 17181
368 Develop [android] 디바이스(시뮬레이터) hosts 파일 수정하기 hooni 2013.04.23 31131
367 Develop [android] 개발 환경 세팅 따라하기 ㅋㅋ file hooni 2013.04.23 40462
366 Develop [ios] 아이폰용 앱 오픈 소스들 hooni 2013.04.23 469738
365 Develop [doc] Json Framework 설치와 사용 file hooni 2013.04.23 21961
364 Develop [ios] UDID와 UUID (디바이스의 Unique Identifier) file hooni 2013.04.23 27403
363 Develop [ios] 푸시알림(APNS)에 대한 php 라이브러리 ㅋㅋ hooni 2013.04.23 16670
362 Develop [winmobile] 윈도우 모바일 간단한 테스트 코드 ㅋㅋ file hooni 2013.04.23 17121
Board Pagination Prev 1 ... 35 36 37 38 39 40 41 42 43 44 ... 71 Next
/ 71