Browse Source

ui optimize & add referralCode

pull/1/head
james 6 years ago
parent
commit
4650321be2
  1. 2
      GMERemittance/AppDelegate.swift
  2. 4
      GMERemittance/Module/AddReciepient/User Interface/View/AddReciepient.storyboard
  3. 97
      GMERemittance/Module/AddReciepient/User Interface/View/AddReciepientViewController.swift
  4. 585
      GMERemittance/Module/EditReciepient/User Interface/View/EditReciepient.storyboard
  5. 2
      GMERemittance/Module/New Group/Kyc/Application Logic/Interactor/KycInteractor.swift
  6. 13
      GMERemittance/Module/New Group/kycForm1/User Interface/View/kycForm1ViewController.swift

2
GMERemittance/AppDelegate.swift

@ -20,7 +20,7 @@ import IQKeyboardManagerSwift
import LGSideMenuController
import Localize_Swift
let server: Server = .live
let server: Server = .stagging
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, MessagingDelegate {

4
GMERemittance/Module/AddReciepient/User Interface/View/AddReciepient.storyboard

@ -38,7 +38,7 @@
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Lsn-v9-r4g">
<rect key="frame" x="0.0" y="0.0" width="355" height="758"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Fgq-xq-dmN">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Fgq-xq-dmN" userLabel="TitleStackView">
<rect key="frame" x="0.0" y="0.0" width="355" height="63"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Who are you sending money to?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5JE-5D-wSW">
@ -53,7 +53,7 @@
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4GX-ko-nbw">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="4GX-ko-nbw" userLabel="ContentStackView">
<rect key="frame" x="0.0" y="68" width="355" height="690"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="e8u-s3-fVl">

97
GMERemittance/Module/AddReciepient/User Interface/View/AddReciepientViewController.swift

@ -7,10 +7,11 @@
//
import UIKit
import IQKeyboardManagerSwift
class AddReciepientViewController: UIViewController {
struct StringConstants {
private struct StringConstants {
let headerText = "who_to_send_text".localized()
let firstNameText = "first_name_text".localized()
let middleNameText = "enter_receiver_middlename_text".localized()
@ -38,45 +39,46 @@ class AddReciepientViewController: UIViewController {
}
// MARK: IBOutlets
@IBOutlet weak var scrollView: UIScrollView!
@IBOutlet weak var firstNameTextField: UITextField!
@IBOutlet weak var middleNameTextField: UITextField!
@IBOutlet weak var lastNameTextField: UITextField!
@IBOutlet weak var countryTextField: UITextField!
@IBOutlet weak var stateProvinceTextField: UITextField!
@IBOutlet weak var districtTextField: UITextField!
@IBOutlet weak var addressTextField: UITextField!
@IBOutlet weak var relationTextField: UITextField!
@IBOutlet weak var mobileTextField: UITextField!
@IBOutlet weak var emailTextField: UITextField!
@IBOutlet weak var transferReasonTextField: UITextField!
@IBOutlet weak var saveButton: UIButton!
@IBOutlet weak var provienceStackView: UIStackView!
@IBOutlet weak var districtStackView: UIStackView!
@IBOutlet private weak var scrollView: UIScrollView!
@IBOutlet private weak var firstNameTextField: UITextField!
@IBOutlet private weak var middleNameTextField: UITextField!
@IBOutlet private weak var lastNameTextField: UITextField!
@IBOutlet private weak var countryTextField: UITextField!
@IBOutlet private weak var stateProvinceTextField: UITextField!
@IBOutlet private weak var districtTextField: UITextField!
@IBOutlet private weak var addressTextField: UITextField!
@IBOutlet private weak var relationTextField: UITextField!
@IBOutlet private weak var mobileTextField: UITextField!
@IBOutlet private weak var emailTextField: UITextField!
@IBOutlet private weak var transferReasonTextField: UITextField!
@IBOutlet private weak var saveButton: UIButton!
@IBOutlet private weak var provienceStackView: UIStackView!
@IBOutlet private weak var districtStackView: UIStackView!
// titles
@IBOutlet weak var headerTItleLabel: UILabel!
@IBOutlet weak var firstNameTitleLabel: UILabel!
@IBOutlet weak var middleNameTitleLabel: UILabel!
@IBOutlet weak var lastNametitleLabel: UILabel!
@IBOutlet weak var countryNameTitleLabel: UILabel!
@IBOutlet weak var stateTitleLabel: UILabel!
@IBOutlet weak var districtTitleLabel: UILabel!
@IBOutlet weak var addressTitleLabel: UILabel!
@IBOutlet weak var relationTitleLabel: UILabel!
@IBOutlet weak var mobileTitleLabel: UILabel!
@IBOutlet weak var transferTitleLabel: UILabel!
@IBOutlet private weak var headerTItleLabel: UILabel!
@IBOutlet private weak var firstNameTitleLabel: UILabel!
@IBOutlet private weak var middleNameTitleLabel: UILabel!
@IBOutlet private weak var lastNametitleLabel: UILabel!
@IBOutlet private weak var countryNameTitleLabel: UILabel!
@IBOutlet private weak var stateTitleLabel: UILabel!
@IBOutlet private weak var districtTitleLabel: UILabel!
@IBOutlet private weak var addressTitleLabel: UILabel!
@IBOutlet private weak var relationTitleLabel: UILabel!
@IBOutlet private weak var mobileTitleLabel: UILabel!
@IBOutlet private weak var transferTitleLabel: UILabel!
// MARK: Properties
var presenter: AddReciepientModuleInterface?
var countries: [SendMoneyCountryViewModel]?
var transferReasons: [SendMoneyTransferReasonViewModel]?
var relations: [SendMoneyRelationViewModel]?
var reciepient: ReceipientViewModel?
var selectedCountry: SendMoneyCountryViewModel? {
private var countries: [SendMoneyCountryViewModel]?
private var transferReasons: [SendMoneyTransferReasonViewModel]?
private var relations: [SendMoneyRelationViewModel]?
private var reciepient: ReceipientViewModel?
private var selectedCountry: SendMoneyCountryViewModel? {
didSet {
self.countryTextField.text = selectedCountry?.name
let shouldShowProvienceField = (selectedCountry?.proviencesRequired ?? "" ) == "true"
@ -86,28 +88,28 @@ class AddReciepientViewController: UIViewController {
}
}
var selectedProvience: SendMoneyProvienceViewModel? {
private var selectedProvience: SendMoneyProvienceViewModel? {
didSet {
self.stateProvinceTextField.text = selectedProvience?.name
self.reciepient?.stateId = self.selectedProvience?.id
}
}
var selectedDistrict: SendMoneyDistrictViewModel? {
private var selectedDistrict: SendMoneyDistrictViewModel? {
didSet {
self.districtTextField.text = selectedDistrict?.name
self.reciepient?.districtId = self.selectedDistrict?.id
}
}
var selectedRelation: SendMoneyRelationViewModel? {
private var selectedRelation: SendMoneyRelationViewModel? {
didSet {
self.relationTextField.text = selectedRelation?.title
self.reciepient?.relationId = self.selectedRelation?.id
}
}
var selectedTransferReason: SendMoneyTransferReasonViewModel? {
private var selectedTransferReason: SendMoneyTransferReasonViewModel? {
didSet {
self.transferReasonTextField.text = selectedTransferReason?.title
self.reciepient?.reasonId = selectedTransferReason?.id
@ -131,7 +133,6 @@ class AddReciepientViewController: UIViewController {
self.navigationItem.title = StringConstants().addRecipientTitle
}
// Trying to show keyboard from viewDidLoad where the view might not be loaded fully.
// So try to move becomeFirstResponse related code to viewDidAppear where view loaded fully.
override func viewDidAppear(_ animated: Bool) {
@ -146,7 +147,7 @@ class AddReciepientViewController: UIViewController {
// MARK: IBActions
@IBAction func save(_ sender: UIButton) {
@IBAction private func save(_ sender: UIButton) {
if let reciepient = self.reciepient {
self.presenter?.save(model: reciepient)
}
@ -178,6 +179,8 @@ class AddReciepientViewController: UIViewController {
self.configureView()
self.configureLanguage()
self.setTextField()
}
private func configureLanguage() {
@ -320,18 +323,18 @@ class AddReciepientViewController: UIViewController {
self.present(viewcontroller, animated: true, completion: nil)
}
func transferReasonSelected(reasons: [String]) {
private func transferReasonSelected(reasons: [String]) {
let _reason = self.transferReasons?.filter({($0.title ?? "") == (reasons.first ?? "") }).first
self.selectedTransferReason = _reason
}
func relationSelected(relations: [String]) {
private func relationSelected(relations: [String]) {
let _relations = self.relations?.filter({($0.title ?? "") == (relations.first ?? "") }).first
self.selectedRelation = _relations
mobileTextField.becomeFirstResponder()
}
func districtSelected(district: [String]) {
private func districtSelected(district: [String]) {
let _district = (self.selectedProvience?.districts ?? []).filter({
( $0.name ?? "" ) == ( district.first ?? "" )
}).first
@ -339,27 +342,27 @@ class AddReciepientViewController: UIViewController {
}
func provienceSelected(provience: [String]) {
private func provienceSelected(provience: [String]) {
let _provience = (self.selectedCountry?.proviences ?? []).filter({
($0.name ?? "") == (provience.first ?? "")
})
self.selectedProvience = _provience.first
}
func countrySelected(models: [SendMoneyCountryViewModel]) {
private func countrySelected(models: [SendMoneyCountryViewModel]) {
self.selectedCountry = models.first
self.addressTextField.becomeFirstResponder()
}
func showLoading() {
internal func showLoading() {
self.showProgressHud()
}
func hideLoading() {
internal func hideLoading() {
self.hideProgressHud()
}
func show(error: String) {
internal func show(error: String) {
self.alert(message: error)
}
}

585
GMERemittance/Module/EditReciepient/User Interface/View/EditReciepient.storyboard

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@ -23,331 +23,340 @@
<objects>
<viewController storyboardIdentifier="EditReciepientViewController" id="kMF-hK-7F1" customClass="EditReciepientViewController" customModule="GME_Remit" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="yoy-Sr-xLN">
<rect key="frame" x="0.0" y="0.0" width="375" height="1143"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="1100"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3nW-iI-E46">
<rect key="frame" x="0.0" y="20" width="375" height="1123"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="1100"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M1b-5m-MXH">
<rect key="frame" x="0.0" y="0.0" width="375" height="1000"/>
<view contentMode="scaleToFill" placeholderIntrinsicWidth="375" placeholderIntrinsicHeight="1100" translatesAutoresizingMaskIntoConstraints="NO" id="M1b-5m-MXH">
<rect key="frame" x="0.0" y="0.0" width="375" height="1100"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="z9e-FF-DG8">
<rect key="frame" x="10" y="0.0" width="355" height="828"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="30" translatesAutoresizingMaskIntoConstraints="NO" id="akh-17-UFk">
<rect key="frame" x="10" y="0.0" width="355" height="1070"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="pjd-YW-ZnH">
<rect key="frame" x="0.0" y="0.0" width="355" height="63"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="z9e-FF-DG8">
<rect key="frame" x="0.0" y="0.0" width="355" height="990"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Who are you sending money to?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gt4-fi-XBm">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="pjd-YW-ZnH">
<rect key="frame" x="0.0" y="0.0" width="355" height="63"/>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="63" id="JEL-6w-EYR"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="e9s-tP-DdN">
<rect key="frame" x="0.0" y="68" width="355" height="760"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="a7v-9T-Kcl">
<rect key="frame" x="0.0" y="0.0" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="First Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uA5-jW-mEK">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's first name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="9Hx-oK-GHi">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="BFc-f4-Df9"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="XxH-Jy-JZG">
<rect key="frame" x="0.0" y="70" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Middle Name (Optional)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K3e-7G-CJy">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's middle name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Eej-kG-wrd">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="hyU-Gu-CK0"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="5rx-Wn-cUa">
<rect key="frame" x="0.0" y="140" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Last Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tkw-bR-Oy9">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's last name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Wd8-zG-klN">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="uAd-ed-1fn"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="QCh-a4-Tx8">
<rect key="frame" x="0.0" y="210" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Country" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="alw-ys-yay">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DdO-f1-13k">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="dF5-bD-WvK"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Ju9-Yd-QNB">
<rect key="frame" x="0.0" y="280" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="State/Province" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Ta-4K-fuz">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="3aF-XI-LRm">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="L5Y-xb-hga"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="3v6-GM-odc">
<rect key="frame" x="0.0" y="350" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="District" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Oh-OJ-MbF">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="c9l-2n-RJY">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="7dg-OF-1iL"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView hidden="YES" opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="bzY-A3-FCG">
<rect key="frame" x="0.0" y="415" width="355" height="43"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="City" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qfo-M5-t8w">
<rect key="frame" x="0.0" y="0.0" width="355" height="0.0"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's City" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="N3C-4L-Ki7">
<rect key="frame" x="0.0" y="0.0" width="355" height="43"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Who are you sending money to?" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Gt4-fi-XBm">
<rect key="frame" x="0.0" y="0.0" width="355" height="63"/>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="ZJj-ea-FF9"/>
<constraint firstAttribute="height" constant="63" id="JEL-6w-EYR"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="9F3-Xx-a4b">
<rect key="frame" x="0.0" y="420" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Address" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LNf-pd-Eek">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's Address" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vGP-fz-jbt">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="aT8-I4-gb5"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="gkA-0g-al0">
<rect key="frame" x="0.0" y="490" width="355" height="60"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="e9s-tP-DdN">
<rect key="frame" x="0.0" y="68" width="355" height="922"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Relation" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cpR-Ig-Yjj">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="cpV-EL-0Z1">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="4Mm-K7-RVg"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="tiu-zQ-uyv">
<rect key="frame" x="0.0" y="560" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mobile No." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0EU-CA-Xqg">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's mobile number" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="I91-DE-eBH">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="foA-9z-yu9"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardType="phonePad"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="0Pw-sK-dSz">
<rect key="frame" x="0.0" y="630" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Email (Optional)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VuB-gh-lpj">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's email address" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="9ed-NF-4Bh">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="gjZ-nr-ohs"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardType="emailAddress"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="LKF-1o-Pqq">
<rect key="frame" x="0.0" y="700" width="355" height="60"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Transfer Reason" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lea-V1-U7a">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="mXe-ay-5tu">
<rect key="frame" x="0.0" y="17" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="TWh-Sv-GdZ"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="a7v-9T-Kcl">
<rect key="frame" x="0.0" y="0.0" width="355" height="74.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="First Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uA5-jW-mEK">
<rect key="frame" x="0.0" y="0.0" width="355" height="31.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's first name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="9Hx-oK-GHi">
<rect key="frame" x="0.0" y="31.5" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="BFc-f4-Df9"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="XxH-Jy-JZG">
<rect key="frame" x="0.0" y="84.5" width="355" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Middle Name (Optional)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K3e-7G-CJy">
<rect key="frame" x="0.0" y="0.0" width="355" height="32"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's middle name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Eej-kG-wrd">
<rect key="frame" x="0.0" y="32" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="hyU-Gu-CK0"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="5rx-Wn-cUa">
<rect key="frame" x="0.0" y="169.5" width="355" height="74.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Last Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tkw-bR-Oy9">
<rect key="frame" x="0.0" y="0.0" width="355" height="31.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's last name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Wd8-zG-klN">
<rect key="frame" x="0.0" y="31.5" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="uAd-ed-1fn"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="QCh-a4-Tx8">
<rect key="frame" x="0.0" y="254" width="355" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Country" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="alw-ys-yay">
<rect key="frame" x="0.0" y="0.0" width="355" height="32"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DdO-f1-13k">
<rect key="frame" x="0.0" y="32" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="dF5-bD-WvK"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Ju9-Yd-QNB">
<rect key="frame" x="0.0" y="339" width="355" height="74.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="State/Province" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Ta-4K-fuz">
<rect key="frame" x="0.0" y="0.0" width="355" height="31.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="3aF-XI-LRm">
<rect key="frame" x="0.0" y="31.5" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="L5Y-xb-hga"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="3v6-GM-odc">
<rect key="frame" x="0.0" y="423.5" width="355" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="District" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1Oh-OJ-MbF">
<rect key="frame" x="0.0" y="0.0" width="355" height="32"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="c9l-2n-RJY">
<rect key="frame" x="0.0" y="32" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="7dg-OF-1iL"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView hidden="YES" opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="bzY-A3-FCG">
<rect key="frame" x="0.0" y="503.5" width="355" height="43"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="City" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qfo-M5-t8w">
<rect key="frame" x="0.0" y="0.0" width="355" height="0.0"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's City" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="N3C-4L-Ki7">
<rect key="frame" x="0.0" y="0.0" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="ZJj-ea-FF9"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="9F3-Xx-a4b">
<rect key="frame" x="0.0" y="508.5" width="355" height="74.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Address" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LNf-pd-Eek">
<rect key="frame" x="0.0" y="0.0" width="355" height="31.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's Address" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vGP-fz-jbt">
<rect key="frame" x="0.0" y="31.5" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="aT8-I4-gb5"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="gkA-0g-al0">
<rect key="frame" x="0.0" y="593" width="355" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Relation" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cpR-Ig-Yjj">
<rect key="frame" x="0.0" y="0.0" width="355" height="32"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="cpV-EL-0Z1">
<rect key="frame" x="0.0" y="32" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="4Mm-K7-RVg"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="tiu-zQ-uyv">
<rect key="frame" x="0.0" y="678" width="355" height="74.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mobile No." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0EU-CA-Xqg">
<rect key="frame" x="0.0" y="0.0" width="355" height="31.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's mobile number" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="I91-DE-eBH">
<rect key="frame" x="0.0" y="31.5" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="foA-9z-yu9"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardType="phonePad"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="0Pw-sK-dSz">
<rect key="frame" x="0.0" y="762.5" width="355" height="75"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Email (Optional)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VuB-gh-lpj">
<rect key="frame" x="0.0" y="0.0" width="355" height="32"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter receiver's email address" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="9ed-NF-4Bh">
<rect key="frame" x="0.0" y="32" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="gjZ-nr-ohs"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits" keyboardType="emailAddress"/>
</textField>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="LKF-1o-Pqq">
<rect key="frame" x="0.0" y="847.5" width="355" height="74.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Transfer Reason" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lea-V1-U7a">
<rect key="frame" x="0.0" y="0.0" width="355" height="31.5"/>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="14"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Select" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="mXe-ay-5tu">
<rect key="frame" x="0.0" y="31.5" width="355" height="43"/>
<constraints>
<constraint firstAttribute="height" constant="43" id="TWh-Sv-GdZ"/>
</constraints>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hBn-N7-WLX">
<rect key="frame" x="77.5" y="1020" width="200" height="50"/>
<color key="backgroundColor" red="0.92941176469999998" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="Pf2-eV-pfK"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="200" id="Vvb-MP-l4m"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<state key="normal" title="Save ">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
<integer key="value" value="25"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="save:" destination="kMF-hK-7F1" eventType="touchUpInside" id="D6V-Ym-MO4"/>
</connections>
</button>
</subviews>
</stackView>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hBn-N7-WLX">
<rect key="frame" x="87.5" y="858" width="200" height="50"/>
<color key="backgroundColor" red="0.92941176469999998" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="Pf2-eV-pfK"/>
<constraint firstAttribute="width" relation="greaterThanOrEqual" constant="200" id="Vvb-MP-l4m"/>
<constraint firstItem="z9e-FF-DG8" firstAttribute="top" secondItem="akh-17-UFk" secondAttribute="top" id="35H-UP-oGI"/>
<constraint firstAttribute="trailing" secondItem="z9e-FF-DG8" secondAttribute="trailing" id="EtU-2z-bzD"/>
<constraint firstItem="hBn-N7-WLX" firstAttribute="top" secondItem="z9e-FF-DG8" secondAttribute="bottom" constant="30" id="REn-Yx-r0i"/>
<constraint firstItem="z9e-FF-DG8" firstAttribute="leading" secondItem="akh-17-UFk" secondAttribute="leading" id="gZR-eI-pdM"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoText-Regular" family="San Francisco Text" pointSize="18"/>
<state key="normal" title="Save ">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
<integer key="value" value="25"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="save:" destination="kMF-hK-7F1" eventType="touchUpInside" id="D6V-Ym-MO4"/>
</connections>
</button>
</stackView>
</subviews>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="z9e-FF-DG8" firstAttribute="top" secondItem="M1b-5m-MXH" secondAttribute="top" id="FYq-VE-C5d"/>
<constraint firstItem="z9e-FF-DG8" firstAttribute="leading" secondItem="M1b-5m-MXH" secondAttribute="leading" constant="10" id="OJF-Bw-1BS"/>
<constraint firstAttribute="height" constant="1000" id="bXx-uw-JtG"/>
<constraint firstItem="hBn-N7-WLX" firstAttribute="centerX" secondItem="M1b-5m-MXH" secondAttribute="centerX" id="khL-fq-Fte"/>
<constraint firstItem="hBn-N7-WLX" firstAttribute="top" secondItem="z9e-FF-DG8" secondAttribute="bottom" constant="30" id="r2C-BU-ta5"/>
<constraint firstAttribute="trailing" secondItem="z9e-FF-DG8" secondAttribute="trailing" constant="10" id="z5t-F7-IIu"/>
<constraint firstItem="akh-17-UFk" firstAttribute="top" secondItem="M1b-5m-MXH" secondAttribute="top" id="Jcl-xd-Byn"/>
<constraint firstAttribute="trailing" secondItem="akh-17-UFk" secondAttribute="trailing" constant="10" id="Ld3-Yf-MaS"/>
<constraint firstItem="akh-17-UFk" firstAttribute="leading" secondItem="M1b-5m-MXH" secondAttribute="leading" constant="10" id="SdE-uQ-cgJ"/>
<constraint firstAttribute="bottom" secondItem="akh-17-UFk" secondAttribute="bottom" constant="30" id="ZJE-3z-IvH"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="M1b-5m-MXH" firstAttribute="leading" secondItem="3nW-iI-E46" secondAttribute="leading" id="A4m-Y7-BVn"/>
<constraint firstAttribute="trailing" secondItem="M1b-5m-MXH" secondAttribute="trailing" id="FSN-Py-5JX"/>
<constraint firstItem="M1b-5m-MXH" firstAttribute="top" secondItem="3nW-iI-E46" secondAttribute="top" id="dbb-ca-Hyc"/>
<constraint firstAttribute="bottom" secondItem="M1b-5m-MXH" secondAttribute="bottom" id="gB9-Bh-n4C"/>
<constraint firstItem="M1b-5m-MXH" firstAttribute="width" secondItem="3nW-iI-E46" secondAttribute="width" id="OJH-xN-4FE"/>
<constraint firstAttribute="trailing" secondItem="M1b-5m-MXH" secondAttribute="trailing" id="RCv-dS-Gyh"/>
<constraint firstItem="M1b-5m-MXH" firstAttribute="top" secondItem="3nW-iI-E46" secondAttribute="top" id="Sr9-ko-AKR"/>
<constraint firstAttribute="bottom" secondItem="M1b-5m-MXH" secondAttribute="bottom" constant="1" id="lR1-0V-0z4"/>
<constraint firstItem="M1b-5m-MXH" firstAttribute="leading" secondItem="3nW-iI-E46" secondAttribute="leading" id="pg5-Ph-Mxb"/>
</constraints>
</scrollView>
</subviews>
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="3nW-iI-E46" firstAttribute="trailing" secondItem="3Iv-qS-bw4" secondAttribute="trailing" id="1sh-CD-PKD"/>
<constraint firstItem="3nW-iI-E46" firstAttribute="top" secondItem="3Iv-qS-bw4" secondAttribute="top" id="7wY-aP-mdQ"/>
<constraint firstItem="3nW-iI-E46" firstAttribute="leading" secondItem="3Iv-qS-bw4" secondAttribute="leading" id="Hmp-Uc-oOq"/>
<constraint firstItem="3nW-iI-E46" firstAttribute="bottom" secondItem="3Iv-qS-bw4" secondAttribute="bottom" id="Kxi-YZ-jlI"/>
<constraint firstItem="M1b-5m-MXH" firstAttribute="width" secondItem="yoy-Sr-xLN" secondAttribute="width" id="fiY-Q8-keR"/>
<constraint firstItem="3nW-iI-E46" firstAttribute="leading" secondItem="3Iv-qS-bw4" secondAttribute="leading" id="Cm8-Qj-P3n"/>
<constraint firstItem="3nW-iI-E46" firstAttribute="trailing" secondItem="3Iv-qS-bw4" secondAttribute="trailing" id="Fzh-Lq-bo0"/>
<constraint firstItem="3Iv-qS-bw4" firstAttribute="bottom" secondItem="3nW-iI-E46" secondAttribute="bottom" id="U86-gg-H9I"/>
<constraint firstItem="3nW-iI-E46" firstAttribute="top" secondItem="yoy-Sr-xLN" secondAttribute="top" id="YB6-t2-bit"/>
</constraints>
<viewLayoutGuide key="safeArea" id="3Iv-qS-bw4"/>
</view>
<size key="freeformSize" width="375" height="1143"/>
<size key="freeformSize" width="375" height="1100"/>
<connections>
<outlet property="addressTextField" destination="vGP-fz-jbt" id="1pN-zR-qH8"/>
<outlet property="addressTitleLabel" destination="LNf-pd-Eek" id="fa3-08-4RQ"/>
@ -378,7 +387,7 @@
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="L82-2L-Rzd" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="5229.6000000000004" y="98.50074962518741"/>
<point key="canvasLocation" x="5229.6000000000004" y="100.74962518740631"/>
</scene>
</scenes>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

2
GMERemittance/Module/New Group/Kyc/Application Logic/Interactor/KycInteractor.swift

@ -306,10 +306,10 @@ class KycInteractor {
"mobileNumber": model.kycForm1?.mobile ?? "",
"email": model.kycForm1?.email ?? "",
"gender": _gender,
"nativeCountry": model.kycForm1?.nativeCountry ?? "",
"ProvinceId": model.kycForm1?.province ?? "",
"occupation": model.kycForm1?.occupation ?? "",
"referralCode": model.kycForm1?.referralCode ?? "",
"primaryBankName": model.kycForm2?.bank ?? "",
"primaryAccountNumber": model.kycForm2?.accountNumber ?? "",
"verificationIdType": model.kycForm2?.verificationId ?? "",

13
GMERemittance/Module/New Group/kycForm1/User Interface/View/kycForm1ViewController.swift

@ -24,6 +24,7 @@ class KycForm1Model {
var country = ""
var province = ""
var occupation = ""
var referralCode = ""
}
class Occupation {
@ -40,6 +41,7 @@ struct KycForm1FieldKeys {
static let country = "address"
static let province = "province"
static let occupation = "occupation"
static let referralCode = "referralCode"
}
class KycForm1ViewController: UIViewController {
@ -92,7 +94,8 @@ class KycForm1ViewController: UIViewController {
@IBOutlet weak var countryErrorLabel: UILabel!
@IBOutlet weak var provinceErrorLabel: UILabel!
@IBOutlet weak var occupationErrorLabel: UILabel!
@IBOutlet weak var referralCodeErrorLabel: UILabel!
// textfields
@IBOutlet weak var firstNameTextField: UITextField!
@IBOutlet weak var middleNmaeTextField: UITextField!
@ -105,7 +108,8 @@ class KycForm1ViewController: UIViewController {
@IBOutlet weak var countryTextField: UITextField!
@IBOutlet weak var provinceTextField: UITextField!
@IBOutlet weak var occupationTextField: UITextField!
@IBOutlet weak var referralCodeTextField: UITextField!
// title labels
@IBOutlet weak var fullnameTitleLabel: UILabel!
@ -217,6 +221,7 @@ class KycForm1ViewController: UIViewController {
self.kycForm1Model.mobile = self.mobileNumberTextField.text!
self.kycForm1Model.email = self.emailTextField.text!
self.kycForm1Model.country = self.countryTextField.text! // this is addres field
self.kycForm1Model.referralCode = self.referralCodeTextField.text ?? ""
}
@ -294,13 +299,13 @@ class KycForm1ViewController: UIViewController {
}
private func hideErrorLabels() {
[firstNameErrorLabel, middleNameErrorLabel, lastNameErrorLabel, genderErrorLabel, dobErrorLabel, mobileNumberErrorLabel, emailErrorLabel, nativeCountryErrorLabel, countryErrorLabel, provinceErrorLabel, occupationErrorLabel].forEach({
[firstNameErrorLabel, middleNameErrorLabel, lastNameErrorLabel, genderErrorLabel, dobErrorLabel, mobileNumberErrorLabel, emailErrorLabel, nativeCountryErrorLabel, countryErrorLabel, provinceErrorLabel, occupationErrorLabel, referralCodeErrorLabel].forEach({
$0?.isHidden = true
})
}
private func setupErrorLabels() {
self.errorLabels = [firstNameErrorLabel, middleNameErrorLabel, lastNameErrorLabel, genderErrorLabel, dobErrorLabel, mobileNumberErrorLabel, emailErrorLabel, nativeCountryErrorLabel, nativeCountryErrorLabel, provinceErrorLabel, occupationErrorLabel, countryErrorLabel]
self.errorLabels = [firstNameErrorLabel, middleNameErrorLabel, lastNameErrorLabel, genderErrorLabel, dobErrorLabel, mobileNumberErrorLabel, emailErrorLabel, nativeCountryErrorLabel, nativeCountryErrorLabel, provinceErrorLabel, occupationErrorLabel, countryErrorLabel, referralCodeErrorLabel]
self.errorLabels.forEach({
$0.font = Constants.errorLabelFont

Loading…
Cancel
Save