Develop
2015.02.12 11:51
[ios] StoryBoard(xib) 없이 프로젝트 만들기
조회 수 1157 댓글 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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
225 | PPT | [ppt] 네오웹 소프트.. 발표 자료 모음 | hooni | 2003.04.23 | 12594 |
224 | Develop | [c] 문자열 라이브러리 최신버전 | hooni | 2003.04.23 | 7222 |
223 | Develop | [js] 주민번호 생성기.. | hooni | 2003.04.23 | 8177 |
222 | Develop | [c] 문자열 컨트롤 함수로 만든 프로그램들.. | hooni | 2003.04.23 | 6802 |
221 | Develop | [php] 메모장 - 웅지학원 ([c] mysql 백업프로그램 포함) | hooni | 2003.04.23 | 7034 |
220 | System/OS | [linux] root도 삭제하지 못하는 파일 속성 | hooni | 2003.04.23 | 12460 |
219 | System/OS | [linux] 터미널에서 문자 깨질 때 설정 ㅋㅋ | hooni | 2003.04.23 | 13967 |
218 | Database | [mysql] error while loading shared libraries: libmysqlclient.so.10: | hooni | 2003.04.23 | 12735 |
217 | System/OS | [dos] 노트북 백업 스크립트 xcopy 명령 예제 | hooni | 2003.04.23 | 40874 |
216 | Develop | [js] 가운데 새창 뜨는 함수와 이벤트 | hooni | 2003.04.23 | 6744 |
215 | Algorithm | [algorithm] Greedy (탐욕 기법) | hooni | 2003.04.23 | 15182 |
214 | System/OS | [sql] alter table 쿼리 예제 | hooni | 2003.04.23 | 12523 |