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
-
[js] 점점 커지는 새창..
-
[php] 메모장 - 웅지학원 ([c] mysql 백업프로그램 포함)
-
[c++] 템플릿(Template) 예제 소스..
-
도메인 관련 솔루션 분석할 거.. ㅋㄷ
-
[c] 소켓 프로그래밍 요약..
-
[web] 웹 연동 프로그램 모음..
-
[c++] 트리컨트롤 스텝 2 예제..
-
[c] 단기과정[01/24] 정렬 알고리즘
-
[c] 패킷 에널라이저 예제 소스(성안당)
-
라이브러리에 대한 설명 (static & dynamic library)
-
[js] 네이버, 다음의 플레이어 스킨
-
[js] php의 number_format() 함수와 같은.. ㅋㅋ