Develop
2015.02.12 11:51
[ios] StoryBoard(xib) 없이 프로젝트 만들기
조회 수 1073 댓글 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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
537 | Develop | [c] 약수/최대공약수/완전수 알고리즘 | hooni | 2003.04.23 | 8867 |
536 | Develop | [c] 최대공약수 알고리즘 (유클릿) | hooni | 2003.04.23 | 8873 |
535 | Develop | [js] jQjuery $ 활용 | hooni | 2013.12.17 | 8876 |
534 | Develop | [c++] 채팅로봇 소스.. ㅋㄷㅋㄷ | hooni | 2013.04.23 | 8880 |
533 | Develop | [c++] 바탕화면 테두리에 자석처럼 붙는 스냅효과.. | hooni | 2013.04.23 | 8906 |
532 | Develop | [js] 밀리터리 프로그램(전역일 계산) 7 | hooni | 2013.04.23 | 8910 |
531 | Develop | [js] 객체 머지.. | hooni | 2013.12.17 | 8965 |
530 | Develop | [c][java] 주사선 채우기 알고리즘(scan line filling algorithm) 구현 | hooni | 2013.04.23 | 8967 |
529 | Develop | [c] 간단한 채팅(클라이언트/서버) 프로그램 소스 | hooni | 2003.04.23 | 9068 |
528 | Develop | [c] OpenGL 직사각형(2D) 크기 확대/축소 | hooni | 2003.04.23 | 9069 |
527 | Develop | [c] 디피-헬만 키교환(Diffie–Hellman key exchange) 샘플 코드.. ㅋㄷ | hooni | 2013.04.23 | 9111 |
526 | System/OS | [linux] 간단한 find 명령어 설명(업데이트 해야 함) | hooni | 2013.04.23 | 9111 |