Views 1063 Votes 0 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

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


?

  1. [ios] @property의 속성 (strong, weak, copy) 사용 경우

  2. [ios] TextField 특정 문자만 사용하도록 하기

  3. [ios] XCode에서 Provisioning Profile 여러개 중복될 때

  4. 알고리즘 성능 분석 기준

  5. 알고리즘 성능분석

  6. [ios] iOS에서 디바이스 종류 알아오기

  7. [ios] 아이폰 GPS 사용하기

  8. [ios] 언어, 지역, 국가 설정 가져오기

  9. [ios] URL 파라미터 파싱~

  10. [ios] 앱 딜리게이트 얻어오기. (AppDelegate)

  11. [ios] 앱딜리게이트 라이프사이클 (AppDelegate Lifecycle)

  12. [ios] 애플 앱스토어 IDFA 리뷰 정책 변경 안내

  13. [ios] NSString URL Encode/Decode (인코딩/디코딩)

  14. [ios] 커스텀 폰트 사용하기 (Custom Fonts)

  15. [ios] iOS 의 인앱구매 소개

  16. [js] Array.splice() 설명

Board Pagination Prev 1 ... 10 11 12 13 14 ... 53 Next
/ 53