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] 하노이탑 - 재귀함수 | hooni | 2003.04.23 | 9167 |
372 | Develop |
[c] 플러드 필링 (flood filling) 알고리즘..
![]() |
hooni | 2013.04.23 | 7327 |
371 | Develop | [c] 프로세스간의 통신(파이프) | hooni | 2003.04.23 | 6905 |
370 | Develop |
[c] 프로세스 정보 출력하기..
![]() |
hooni | 2003.04.23 | 6932 |
369 | Develop | [c] 프로세스 검사하기 | hooni | 2013.04.23 | 8037 |
368 | Develop |
[c] 프로그램 코드(c/c++)를 html 파일로 변환
![]() |
hooni | 2013.04.23 | 7685 |
367 | Develop |
[c] 프로그래밍의 전반적인 설명 ppt
![]() |
hooni | 2003.04.23 | 7697 |
366 | Develop |
[c] 프로그래밍 과제..(colprint)
![]() |
hooni | 2003.04.23 | 6765 |
365 | Develop |
[c] 프로그래밍 ppt, 스킬업 (비트 수업자료)
![]() |
hooni | 2003.04.23 | 8211 |
364 | Develop | [c] 포인터와 함수포인터에 대해.. | hooni | 2003.04.23 | 8037 |
363 | Develop |
[c] 포인터 학습용 예제 소스 코드
![]() |
hooni | 2013.04.23 | 21072 |
362 | Develop | [c] 팩토리얼.. - 재귀함수 | hooni | 2003.04.23 | 9522 |