Browse Source

kyc changed to previous

pull/1/head
Amrit 4 years ago
parent
commit
5c28e54ff5
  1. BIN
      .DS_Store
  2. 16
      GME Remit/Modules/RegisterModules/KYC/Kyc/User Interface/View/KycViewController.swift
  3. 12
      GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep1/User Interface/View/NewRegisterStep1.storyboard

BIN
.DS_Store

16
GME Remit/Modules/RegisterModules/KYC/Kyc/User Interface/View/KycViewController.swift

@ -33,7 +33,7 @@ class KycViewController: ButtonBarPagerTabStripViewController {
enum KycViewControllers: Int {
case form1 = 0
// case form2
case form2
case fomr3
}
@ -51,7 +51,7 @@ class KycViewController: ButtonBarPagerTabStripViewController {
// MARK: Properties
var form1: UIViewController = UIViewController()
// var form2: UIViewController = UIViewController()
var form2: UIViewController = UIViewController()
var form3: UIViewController = UIViewController()
var errorOnForm1 = false
@ -61,9 +61,9 @@ class KycViewController: ButtonBarPagerTabStripViewController {
var requestModel: KYCRequestModel?
var kycModel: KycModel? {
didSet {
// if let vc2 = self.form2 as? KycForm2ViewController {
// vc2.kycModel = self.kycModel
// }
if let vc2 = self.form2 as? KycForm2ViewController {
vc2.kycModel = self.kycModel
}
}
}
@ -102,9 +102,9 @@ class KycViewController: ButtonBarPagerTabStripViewController {
for pagerTabStripController: PagerTabStripViewController
) -> [UIViewController] {
self.form1 = KycForm1Wireframe().getMainViewWithDelegate(delegate: self)
// self.form2 = KycForm2Wireframe().getMainViewWithDelegate(delegate: self)
self.form2 = KycForm2Wireframe().getMainViewWithDelegate(delegate: self)
self.form3 = KycForm3Wireframe().getMainViewWithDelegate(delegate: self)
return [form1, form3]//[form1, form2, form3]
return [form1, form2, form3]
}
// MARK: IBActions
@ -148,7 +148,7 @@ extension KycViewController: KycViewInterface {
extension KycViewController: KYCForm1Delegate {
func `continue`(model: KycForm1Model) {
self.requestModel?.kycForm1 = model
// moveToViewController(at: KycViewControllers.form2.rawValue)
moveToViewController(at: KycViewControllers.form2.rawValue)
moveToViewController(at: KycViewControllers.fomr3.rawValue)
}

12
GME Remit/Modules/RegisterModules/UserAuthentication/NewRegisterStep1/User Interface/View/NewRegisterStep1.storyboard

@ -415,7 +415,7 @@
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Another ID (Optional)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="Knm-yY-Ukr">
<rect key="frame" x="30" y="0.0" width="174.5" height="25"/>
<rect key="frame" x="30" y="0.0" width="177.5" height="25"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="WnD-h7-H27"/>
</constraints>
@ -424,7 +424,7 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="iy7-W8-jRs">
<rect key="frame" x="209.5" y="0.0" width="105.5" height="25"/>
<rect key="frame" x="212.5" y="0.0" width="102.5" height="25"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="08I-N0-npb"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="50" id="Ktu-w7-Rxd"/>
@ -649,16 +649,16 @@
<rect key="frame" x="110" y="2" width="203" height="90"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="top" spacing="11" translatesAutoresizingMaskIntoConstraints="NO" id="5uj-mo-5FF">
<rect key="frame" x="0.0" y="18.5" width="203" height="53"/>
<rect key="frame" x="0.0" y="19" width="203" height="52.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Passport" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cZ9-FO-Ycz">
<rect key="frame" x="0.0" y="0.0" width="59" height="18"/>
<rect key="frame" x="0.0" y="0.0" width="60" height="17.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="right" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5bW-bG-7tS">
<rect key="frame" x="0.0" y="29" width="58" height="24"/>
<rect key="frame" x="0.0" y="28.5" width="58" height="24"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="10"/>
<state key="normal" title="View Sample">
<color key="titleColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
@ -723,7 +723,7 @@
<rect key="frame" x="0.0" y="14.5" width="203" height="61"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Another ID (Optional)" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OEE-Gl-1fp">
<rect key="frame" x="0.0" y="0.0" width="138" height="35"/>
<rect key="frame" x="0.0" y="0.0" width="140.5" height="35"/>
<constraints>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="35" id="RZl-BX-uz4"/>
</constraints>

Loading…
Cancel
Save