Explorar o código

- signUp 5개 page 관련하여 클래스 파일 추가

TaeHyun %!s(int64=8) %!d(string=hai) anos
pai
achega
8ce64b9593

+ 30 - 0
OneCable.xcodeproj/project.pbxproj

@@ -177,6 +177,11 @@
 		A51708471E78E0F900AEF165 /* MoreBtnModel.m in Sources */ = {isa = PBXBuildFile; fileRef = A51708461E78E0F900AEF165 /* MoreBtnModel.m */; };
 		A53C0DAF1E56E2F000E5D9F4 /* SocketServiceHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = A53C0DAE1E56E2F000E5D9F4 /* SocketServiceHandler.m */; };
 		A5F267DA1E544A530096276E /* NSNetService+Util.m in Sources */ = {isa = PBXBuildFile; fileRef = A5F267D91E544A530096276E /* NSNetService+Util.m */; };
+		E2A252121E7F540700B3D007 /* CertificationViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2A252091E7F540700B3D007 /* CertificationViewController.m */; };
+		E2A252131E7F540700B3D007 /* IDSetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2A2520B1E7F540700B3D007 /* IDSetViewController.m */; };
+		E2A252141E7F540700B3D007 /* JoinFinishViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2A2520D1E7F540700B3D007 /* JoinFinishViewController.m */; };
+		E2A252151E7F540700B3D007 /* QuizViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2A2520F1E7F540700B3D007 /* QuizViewController.m */; };
+		E2A252161E7F540700B3D007 /* UserNameSetViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2A252111E7F540700B3D007 /* UserNameSetViewController.m */; };
 		E2AA822D1E6FD652009B8077 /* MorePopOverViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E2AA822C1E6FD652009B8077 /* MorePopOverViewController.m */; };
 /* End PBXBuildFile section */
 
@@ -498,6 +503,16 @@
 		A5F267D81E544A530096276E /* NSNetService+Util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSNetService+Util.h"; sourceTree = "<group>"; };
 		A5F267D91E544A530096276E /* NSNetService+Util.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSNetService+Util.m"; sourceTree = "<group>"; };
 		ADE7CA33EFEB615D1B6CB053 /* Pods-OneCable.adhoc.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneCable.adhoc.xcconfig"; path = "Pods/Target Support Files/Pods-OneCable/Pods-OneCable.adhoc.xcconfig"; sourceTree = "<group>"; };
+		E2A252081E7F540700B3D007 /* CertificationViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CertificationViewController.h; sourceTree = "<group>"; };
+		E2A252091E7F540700B3D007 /* CertificationViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CertificationViewController.m; sourceTree = "<group>"; };
+		E2A2520A1E7F540700B3D007 /* IDSetViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IDSetViewController.h; sourceTree = "<group>"; };
+		E2A2520B1E7F540700B3D007 /* IDSetViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IDSetViewController.m; sourceTree = "<group>"; };
+		E2A2520C1E7F540700B3D007 /* JoinFinishViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JoinFinishViewController.h; sourceTree = "<group>"; };
+		E2A2520D1E7F540700B3D007 /* JoinFinishViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JoinFinishViewController.m; sourceTree = "<group>"; };
+		E2A2520E1E7F540700B3D007 /* QuizViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QuizViewController.h; sourceTree = "<group>"; };
+		E2A2520F1E7F540700B3D007 /* QuizViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QuizViewController.m; sourceTree = "<group>"; };
+		E2A252101E7F540700B3D007 /* UserNameSetViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UserNameSetViewController.h; sourceTree = "<group>"; };
+		E2A252111E7F540700B3D007 /* UserNameSetViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UserNameSetViewController.m; sourceTree = "<group>"; };
 		E2AA822B1E6FD652009B8077 /* MorePopOverViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MorePopOverViewController.h; sourceTree = "<group>"; };
 		E2AA822C1E6FD652009B8077 /* MorePopOverViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MorePopOverViewController.m; sourceTree = "<group>"; };
 		FE2DCDFBF6442768EBBE8107 /* Pods-OneCable.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OneCable.debug.xcconfig"; path = "Pods/Target Support Files/Pods-OneCable/Pods-OneCable.debug.xcconfig"; sourceTree = "<group>"; };
@@ -960,6 +975,16 @@
 		A13BCFA31C3B491400C76527 /* SignUpScreens */ = {
 			isa = PBXGroup;
 			children = (
+				E2A252081E7F540700B3D007 /* CertificationViewController.h */,
+				E2A252091E7F540700B3D007 /* CertificationViewController.m */,
+				E2A2520A1E7F540700B3D007 /* IDSetViewController.h */,
+				E2A2520B1E7F540700B3D007 /* IDSetViewController.m */,
+				E2A2520C1E7F540700B3D007 /* JoinFinishViewController.h */,
+				E2A2520D1E7F540700B3D007 /* JoinFinishViewController.m */,
+				E2A2520E1E7F540700B3D007 /* QuizViewController.h */,
+				E2A2520F1E7F540700B3D007 /* QuizViewController.m */,
+				E2A252101E7F540700B3D007 /* UserNameSetViewController.h */,
+				E2A252111E7F540700B3D007 /* UserNameSetViewController.m */,
 				A13BCFA41C3B491400C76527 /* AgreementViewController.h */,
 				A13BCFA51C3B491400C76527 /* AgreementViewController.m */,
 				A13BCFA81C3B491400C76527 /* SignUpViewController.h */,
@@ -1287,7 +1312,9 @@
 				A13BD02E1C3B491400C76527 /* QRCodeInputPopupView.m in Sources */,
 				A13BD0371C3B491400C76527 /* IntroViewController.m in Sources */,
 				A13BCFE01C3B491400C76527 /* NSString-Addtions.m in Sources */,
+				E2A252151E7F540700B3D007 /* QuizViewController.m in Sources */,
 				A13BD0D51C3B563D00C76527 /* RulesConditionHomeModePopupView.m in Sources */,
+				E2A252141E7F540700B3D007 /* JoinFinishViewController.m in Sources */,
 				A13BD0701C3B491400C76527 /* JDUUID.m in Sources */,
 				A13BD0581C3B491400C76527 /* SignUpViewController.m in Sources */,
 				A13BD03C1C3B491400C76527 /* LoginViewController.m in Sources */,
@@ -1316,6 +1343,7 @@
 				A13BCFF61C3B491400C76527 /* KNTableViewCell.m in Sources */,
 				A13BD0DF1C3B563D00C76527 /* WeatherLocationPopupView.m in Sources */,
 				A13BD0341C3B491400C76527 /* JDViewController.m in Sources */,
+				E2A252121E7F540700B3D007 /* CertificationViewController.m in Sources */,
 				A13BCFFC1C3B491400C76527 /* PopTableView.m in Sources */,
 				A15D2CFF1C588FBB0018D555 /* KNView.m in Sources */,
 				A191B4841C4495AE00DEBA91 /* WelcomeViewController.m in Sources */,
@@ -1330,6 +1358,7 @@
 				A13BD0671C3B491400C76527 /* ThingsAddIncludeViewController.m in Sources */,
 				A13BD00E1C3B491400C76527 /* CustomSwitch.m in Sources */,
 				A13BD0DA1C3B563D00C76527 /* TimePickerPopupView.m in Sources */,
+				E2A252131E7F540700B3D007 /* IDSetViewController.m in Sources */,
 				A13BCFE61C3B491400C76527 /* UIView+AutoLayoutDebugging.m in Sources */,
 				A13BD0251C3B491400C76527 /* WebBrowseViewController.m in Sources */,
 				A13BD0061C3B491400C76527 /* CustomButton.m in Sources */,
@@ -1338,6 +1367,7 @@
 				A16A1CC41C71728400F92BC1 /* NetworkServiceHandler.m in Sources */,
 				A13BD0151C3B491400C76527 /* RequestHandler.m in Sources */,
 				A13BD0041C3B491400C76527 /* CustomAlertView.m in Sources */,
+				E2A252161E7F540700B3D007 /* UserNameSetViewController.m in Sources */,
 				A13BD0441C3B491400C76527 /* RulesDetailViewController.m in Sources */,
 				A13BD0261C3B491400C76527 /* HomeHubChangeViewController.m in Sources */,
 				A13BCFDC1C3B491400C76527 /* NSArray-Addtions.m in Sources */,

+ 25 - 0
OneCable/Classes/ViewControllers/SignUpScreens/CertificationViewController.h

@@ -0,0 +1,25 @@
+//
+//  CertificationViewController.h
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "JDViewController.h"
+
+//@class CustomSignTextField;
+@class CustomButton;
+@class CustomTextField;
+
+@interface CertificationViewController : JDViewController
+
+
+
+@property (weak, nonatomic) IBOutlet CustomTextField *txtPhoneNum;
+@property (weak, nonatomic) IBOutlet CustomTextField *txtCertifyInput;
+@property (weak, nonatomic) IBOutlet CustomButton *btnSend;
+
+
+
+@end

+ 61 - 0
OneCable/Classes/ViewControllers/SignUpScreens/CertificationViewController.m

@@ -0,0 +1,61 @@
+//
+//  CertificationViewController.m
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "CertificationViewController.h"
+#import "CustomButton.h"
+#import "CustomTextField.h"
+
+@interface CertificationViewController ()
+
+@end
+
+@implementation CertificationViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+    [self initUI];
+}
+
+- (void)didReceiveMemoryWarning {
+    [super didReceiveMemoryWarning];
+    
+}
+
+- (void)initUI {
+    [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_active"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
+    
+    [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_press"] forState:UIControlStateHighlighted capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
+    
+    [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_disable"] forState:UIControlStateDisabled capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
+    
+    _txtPhoneNum.returnKeyType = UIReturnKeyDone;
+    _txtCertifyInput.returnKeyType = UIReturnKeyDone;
+    
+}
+
+- (IBAction)btnNextTouched:(id)sender {
+    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"IDSetViewController" storyboardName:@"SignUp"];
+    
+    vc.providesPresentationContextTransitionStyle = YES;
+    vc.definesPresentationContext = YES;
+    
+    [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
+    
+    [self presentViewController:vc animated:YES completion:nil];
+}
+
+- (IBAction)btnCancelTouched:(id)sender {
+
+   [self dismissViewControllerAnimated:YES completion:nil];
+}
+
+- (IBAction)btnSend:(id)sender {
+}
+
+@end

+ 16 - 0
OneCable/Classes/ViewControllers/SignUpScreens/IDSetViewController.h

@@ -0,0 +1,16 @@
+//
+//  IDSetViewController.h
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "JDViewController.h"
+
+@class CustomButton;
+@class CustomTextField;
+
+@interface IDSetViewController : JDViewController
+
+@end

+ 55 - 0
OneCable/Classes/ViewControllers/SignUpScreens/IDSetViewController.m

@@ -0,0 +1,55 @@
+//
+//  IDSetViewController.m
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "IDSetViewController.h"
+#import "CustomButton.h"
+#import "CustomTextField.h"
+
+@interface IDSetViewController ()
+
+@end
+
+@implementation IDSetViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+}
+
+- (void)didReceiveMemoryWarning {
+    [super didReceiveMemoryWarning];
+    
+}
+
+- (void)initUI {
+    [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_active"] forState:UIControlStateNormal capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
+    
+    [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_press"] forState:UIControlStateHighlighted capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
+    
+    [self.btnSend setBackgroundImage:[UIImage imageNamed:@"img_btn_common_disable"] forState:UIControlStateDisabled capInsets:UIEdgeInsetsMake(kfTopInset,kfRightInset,kfBottomInset,kfLeftInset)];
+    
+    _txtPhoneNum.returnKeyType = UIReturnKeyDone;
+    _txtCertifyInput.returnKeyType = UIReturnKeyDone;
+    
+}
+
+- (IBAction)btnNextTouched:(id)sender {
+    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"QuizViewController" storyboardName:@"SignUp"];
+    
+    vc.providesPresentationContextTransitionStyle = YES;
+    vc.definesPresentationContext = YES;
+    
+    [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
+    
+    [self presentViewController:vc animated:YES completion:nil];
+}
+
+- (IBAction)btnCancelTouched:(id)sender {
+       [self dismissViewControllerAnimated:YES completion:nil];
+}
+@end

+ 13 - 0
OneCable/Classes/ViewControllers/SignUpScreens/JoinFinishViewController.h

@@ -0,0 +1,13 @@
+//
+//  JoinFinishViewController.h
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "JDViewController.h"
+
+@interface JoinFinishViewController : JDViewController
+
+@end

+ 31 - 0
OneCable/Classes/ViewControllers/SignUpScreens/JoinFinishViewController.m

@@ -0,0 +1,31 @@
+//
+//  JoinFinishViewController.m
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "JoinFinishViewController.h"
+
+@interface JoinFinishViewController ()
+
+@end
+
+@implementation JoinFinishViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+}
+
+- (void)didReceiveMemoryWarning {
+    [super didReceiveMemoryWarning];
+    
+}
+
+
+- (IBAction)btnConfirmTouched:(id)sender {
+       [self dismissViewControllerAnimated:YES completion:nil];
+}
+@end

+ 13 - 0
OneCable/Classes/ViewControllers/SignUpScreens/QuizViewController.h

@@ -0,0 +1,13 @@
+//
+//  QuizViewController.h
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "JDViewController.h"
+
+@interface QuizViewController : JDViewController
+
+@end

+ 43 - 0
OneCable/Classes/ViewControllers/SignUpScreens/QuizViewController.m

@@ -0,0 +1,43 @@
+//
+//  QuizViewController.m
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "QuizViewController.h"
+
+@interface QuizViewController ()
+
+@end
+
+@implementation QuizViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+}
+
+- (void)didReceiveMemoryWarning {
+    [super didReceiveMemoryWarning];
+    
+}
+
+
+- (IBAction)btnNextTouched:(id)sender {
+    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"UserNameSetViewController" storyboardName:@"SignUp"];
+    
+    vc.providesPresentationContextTransitionStyle = YES;
+    vc.definesPresentationContext = YES;
+    
+    [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
+    
+    [self presentViewController:vc animated:YES completion:nil];
+}
+
+- (IBAction)btnCancelTouched:(id)sender {
+       [self dismissViewControllerAnimated:YES completion:nil];
+}
+
+@end

+ 13 - 0
OneCable/Classes/ViewControllers/SignUpScreens/UserNameSetViewController.h

@@ -0,0 +1,13 @@
+//
+//  UserNameSetViewController.h
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "JDViewController.h"
+
+@interface UserNameSetViewController : JDViewController
+
+@end

+ 42 - 0
OneCable/Classes/ViewControllers/SignUpScreens/UserNameSetViewController.m

@@ -0,0 +1,42 @@
+//
+//  UserNameSetViewController.m
+//  OneCable
+//
+//  Created by nComz on 2017. 3. 17..
+//  Copyright © 2017년 ntels. All rights reserved.
+//
+
+#import "UserNameSetViewController.h"
+
+@interface UserNameSetViewController ()
+
+@end
+
+@implementation UserNameSetViewController
+
+- (void)viewDidLoad {
+    [super viewDidLoad];
+    
+}
+
+- (void)didReceiveMemoryWarning {
+    [super didReceiveMemoryWarning];
+    
+}
+
+- (IBAction)btnNextTouched:(id)sender {
+    UIViewController *vc = [CommonUtil instantiateViewControllerWithIdentifier:@"JoinFinishViewController" storyboardName:@"SignUp"];
+    
+    vc.providesPresentationContextTransitionStyle = YES;
+    vc.definesPresentationContext = YES;
+    
+    [vc setModalPresentationStyle:UIModalPresentationOverCurrentContext];
+    
+    [self presentViewController:vc animated:YES completion:nil];
+}
+
+- (IBAction)btnCancelTouched:(id)sender {
+       [self dismissViewControllerAnimated:YES completion:nil];
+}
+
+@end