Develop
2015.02.12 11:51
[ios] StoryBoard(xib) 없이 프로젝트 만들기
조회 수 1059 댓글 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
-
[ios] StoryBoard(xib) 없이 프로젝트 만들기
-
[ios] 동영상 플레이어 샘플 (for Local File)
-
[ios] FlckrFeed Example App (Swift)
-
[js] 문자열에서 숫자만 걸러내기 (jQuery 안쓰고 정규표현식)
-
[maven] Mac OS에 메이븐(maven) 설치하기
-
[ios] UIView 계층구조
-
[coding] Find all anagrams in a string
-
macOS에 node, npm 설치하기 (homebrew)
-
GPL, AGPL, MPL,.. 한눈에 보는 오픈소스SW 라이선스
-
[ios] Objective-C Types & Storage Capacity
-
[android] Calling activity function from separate class
-
[ios] Facebook SDK 로그인 설명