PwAnswerViewController.m 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //
  2. // PwAnswerViewController.m
  3. // OneCable
  4. //
  5. // Created by nComz on 2017. 3. 31..
  6. // Copyright © 2017년 ntels. All rights reserved.
  7. //
  8. #import "PwAnswerViewController.h"
  9. #import "CustomLabel.h"
  10. #import "CustomButton.h"
  11. #import "CustomTextField.h"
  12. @interface PwAnswerViewController () <CustomTextFieldDelegate>{
  13. }
  14. @end
  15. @implementation PwAnswerViewController
  16. - (void)viewDidLoad {
  17. [super viewDidLoad];
  18. [self initUI];
  19. }
  20. - (void)didReceiveMemoryWarning {
  21. [super didReceiveMemoryWarning];
  22. }
  23. - (void)initUI {
  24. [self.navigationController.navigationBar setHidden:YES];
  25. self.navigationController.interactivePopGestureRecognizer.enabled = NO;
  26. _txtYear.customTextFieldSuperview = CustomTextFieldSuperviewIsScrollView;
  27. _txtMonth.customTextFieldSuperview = CustomTextFieldSuperviewIsScrollView;
  28. _txtDay.customTextFieldSuperview = CustomTextFieldSuperviewIsScrollView;
  29. _txtYear.keyboardType = UIKeyboardTypeDefault;
  30. _txtMonth.keyboardType = UIKeyboardTypeDefault;
  31. _txtDay.keyboardType = UIKeyboardTypeDefault;
  32. _txtYear.returnKeyType = UIReturnKeyNext;
  33. _txtMonth.returnKeyType = UIReturnKeyNext;
  34. _txtDay.returnKeyType = UIReturnKeyDone;
  35. [_lblStep setColor:kUITextColor03 text:[NSString stringWithFormat:@"%@", @"/ 3"]];
  36. }
  37. - (IBAction)btnCancelTouched:(id)sender {
  38. [self dismissViewControllerAnimated:YES completion:nil];
  39. }
  40. - (IBAction)btnNextTouched:(id)sender {
  41. UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"PwFindCompleteViewController" storyboardName:@"SignUp"];
  42. [self.navigationController pushViewController:vc animated:YES];
  43. }
  44. @end