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] 객체 머지..
-
[js] 간단한 게임 프로토타입 (HTML5 와는 무관)
-
[js] 가운데 새창 뜨는 함수와 이벤트
-
[js] xsl 강의 자료
-
[js] window.open() 속성 사용 방법
-
[js] URL 파싱하기 (jQuery 안쓰고)
-
[js] Text 중 URL 형식을 인식해 단축 URL로 변경
-
[js] Text 값을 클립보드에 복사하기
-
[js] show/hide 이벤트 감시 (Observing show/hide event)
-
[js] selectbox 선택 후 input 박스에 적용
-
[js] php의 number_format() 함수와 같은.. ㅋㅋ
-
[js] One Time Pad key generatorㅡ.,ㅡ;