UserNameSetViewController.m 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // UserNameSetViewController.m
  3. // OneCable
  4. //
  5. // Created by nComz on 2017. 3. 17..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import "UserNameSetViewController.h"
  9. #import "CustomButton.h"
  10. #import "CustomTextField.h"
  11. @interface UserNameSetViewController ()
  12. @end
  13. @implementation UserNameSetViewController
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16. [self initUI];
  17. }
  18. - (void)didReceiveMemoryWarning {
  19. [super didReceiveMemoryWarning];
  20. }
  21. - (void)initUI {
  22. [self.navigationController.navigationBar setHidden:YES];
  23. [_lblStep setColor:kUITextColor03 text:[NSString stringWithFormat:@"%@", @"/ 6"]];
  24. [self.btnCancel setBackgroundImage:[UIImage imageNamed:@"Common_button_left_bg"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  25. [self.btnNext setBackgroundImage:[UIImage imageNamed:@"Common_button_right_bg"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
  26. _txtNickInput.keyboardType = UIKeyboardTypeDefault;
  27. _txtNickInput.returnKeyType = UIReturnKeyDone;
  28. }
  29. - (IBAction)btnNextTouched:(id)sender {
  30. UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"JoinFinishViewController" storyboardName:@"SignUp"];
  31. // vc.providesPresentationContextTransitionStyle = YES;
  32. // vc.definesPresentationContext = YES;
  33. //
  34. // [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
  35. //
  36. // [self presentViewController:vc animated:YES completion:nil];
  37. [self.navigationController pushViewController:vc animated:YES];
  38. }
  39. - (IBAction)btnCancelTouched:(id)sender {
  40. [self dismissViewControllerAnimated:YES completion:nil];
  41. }
  42. @end