//
//  WelcomeViewController.m
//  kneet
//
//  Created by Jason Lee on 4/23/15.
//  Copyright (c) 2015 ntels. All rights reserved.
//

#import "WelcomeViewController.h"
#import "LoginModel.h"
#import "CustomLabel.h"


@interface WelcomeViewController () {

}
@end


#pragma mark - Class Definition

@implementation WelcomeViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    [self initUI];
    [self prepareViewDidLoad];
}


- (void)initUI {
    

    if (IPHONE_HEIGHT == 460.0f) {
        _constraintImgvAvatarTop.constant -= 75.0f;
    }
}

- (void)prepareViewDidLoad {

    _lblDesc.text = [NSString stringWithFormat:NSLocalizedString(@"지금부터 %@님의 홈을 시작합니다", @"지금부터 %@님의 홈을 시작합니다"), [JDFacade facade].loginUser.nickname];
}

#pragma mark - Main Logic



#pragma mark - UI Events
- (IBAction)btnStartTouched:(id)sender {
    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"StartHomeViewController" storyboardName:@"SignUp"];
    [[JDFacade facade] presentViewControllerByPush:vc pvc:self];
}


#pragma mark - MemoryWarning
- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
