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
번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|---|
745 | Develop | [io] Apple Watch, Today Extension 앱ID 설정 | hooni | 2016.04.20 | 801 |
744 | Develop | [ios] Did UIScrollView End Scrolling? | hooni | 2016.04.19 | 1027 |
743 | Develop | [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Swift) | hooni | 2016.03.23 | 7346 |
742 | Develop | [ios] How To Use UIScrollView to Scroll and Zoom Content (Using Objective-C) | hooni | 2016.03.23 | 1621 |
741 | Develop | [js] AngularJS 란? | hooni | 2015.11.26 | 895 |
740 | Develop | [php] 한글 문자열 자르기 (utf-8) | hooni | 2015.11.10 | 1324 |
739 | Develop | [c] 한글 문자열 출력 | hooni | 2015.11.10 | 1682 |
738 | Develop | [ios] NavigationController 에서 왼쪽(back) 버튼 후킹하기 | hooni | 2015.10.23 | 1188 |
737 | Develop | [ios] ViewController Push할 때 애니메이션 효과 | hooni | 2015.10.23 | 879 |
736 | Develop | [linux] CentOS Apache 웹서버에 HTTPS 적용 | hooni | 2015.10.23 | 790 |
735 | Develop | [c] 기막힌 정렬 코드 ㅋㄷ | hooni | 2015.10.13 | 814 |
734 | Develop | [ios] 상위 ViewController 가져오기 | hooni | 2015.10.12 | 960 |