Develop
2015.02.12 11:51
[ios] StoryBoard(xib) 없이 프로젝트 만들기
조회 수 1146 댓글 0
첨부 '1' |
---|
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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
373 | Develop | [c++][mfc] 파일 입출력 샘플 (한줄씩 읽어서 다른 파일에 쓰기) | hooni | 2013.04.23 | 15018 |
372 | Develop | [c++] mfc 파일 한줄씩 읽기.. ㅋㅋ | hooni | 2013.04.23 | 28584 |
371 | Develop | [c++] mfc 간단한 파일 입출력 예제 | hooni | 2013.04.23 | 13545 |
370 | Develop |
[c++] mfc 조건별 파일 검색 프로그램 소스 ㅋㅋ
19 ![]() |
hooni | 2013.04.23 | 11429 |
369 | Develop |
[c#] 본현이형 논문 자료 (HIDS)ㅋㅋ
![]() |
hooni | 2013.04.23 | 8176 |
368 | Develop |
참고하고 지울 자료.. 집에서 바야지.. ㅋㅋ
![]() |
hooni | 2013.04.23 | 12157 |
367 | Develop |
[vb] 64bit RSA 프로그램 소스 ㅋㅋ
![]() |
hooni | 2013.04.23 | 8222 |
366 | Develop | [c++] MFC 모든 헤더와 라이브러리 설명 | [교류]Programming | hooni | 2013.04.23 | 7448 |
365 | Develop | [c] 기본 자료형(int)이 표현할 수 없는 큰 수(Big number)를 덧셈하는 코드. 1 | hooni | 2013.04.23 | 13473 |
364 | Develop | 다양한 방법으로 아주 큰 수(Big Number) 계산.. ㅋㅋ | hooni | 2013.04.23 | 8391 |
363 | Develop | [c] 소수 구하기 #2 (입력한 숫자가 소수인지 판별하기..) | hooni | 2013.04.23 | 10994 |
362 | Develop |
[c++] 레지스트리 등록 예제
1 ![]() |
hooni | 2013.04.23 | 8802 |