Browse Source

added seperator lines

pull/1/head
gme_2 6 years ago
parent
commit
236d6539f6
  1. 6
      GMERemittance/Module/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift
  2. 241
      GMERemittance/Module/SendMoneyVerification/User Interface/View/SendMoneyVerification.storyboard
  3. 46
      GMERemittance/Module/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

6
GMERemittance/Module/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift

@ -37,6 +37,8 @@ class SendMoneyRequestModel {
var bank: SendMoneyBank? var bank: SendMoneyBank?
var branch: SendMoneyBankBranch? var branch: SendMoneyBankBranch?
var accountNumber: String? var accountNumber: String?
var payingAmount: String?
var exchangeRateDetail: SendMoneyExchangeRateModel?
} }
class SendMoneyParentViewController: UIViewController { class SendMoneyParentViewController: UIViewController {
@ -148,6 +150,7 @@ class SendMoneyParentViewController: UIViewController {
let verificationWireframe = SendMoneyVerificationWireframe() let verificationWireframe = SendMoneyVerificationWireframe()
let vvc = verificationWireframe.getMainView() as! SendMoneyVerificationViewController let vvc = verificationWireframe.getMainView() as! SendMoneyVerificationViewController
vvc.reciepient = self.receipient vvc.reciepient = self.receipient
vvc.requestModel = self.requestModel
vvc.hudDelegate = self vvc.hudDelegate = self
self.verificationViewController = vvc self.verificationViewController = vvc
@ -212,7 +215,8 @@ class SendMoneyParentViewController: UIViewController {
} }
func addVerificationViewController() { func addVerificationViewController() {
guard let verificationViewController = self.verificationViewController else {return}
guard let verificationViewController = self.verificationViewController as? SendMoneyVerificationViewController else {return}
verificationViewController.reciepient = self.receipient
self.addChildViewController(verificationViewController) self.addChildViewController(verificationViewController)
UIView.transition(with: self.containerView, duration: 0.33, options: .transitionCrossDissolve, animations: { UIView.transition(with: self.containerView, duration: 0.33, options: .transitionCrossDissolve, animations: {
self.containerView.addSubview(verificationViewController.view) self.containerView.addSubview(verificationViewController.view)

241
GMERemittance/Module/SendMoneyVerification/User Interface/View/SendMoneyVerification.storyboard

@ -25,30 +25,33 @@
<sections> <sections>
<tableViewSection headerTitle="Section-1" id="Wey-Um-syy"> <tableViewSection headerTitle="Section-1" id="Wey-Um-syy">
<cells> <cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="172" id="aZM-RC-Gka">
<rect key="frame" x="0.0" y="28" width="375" height="172"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="209" id="aZM-RC-Gka">
<rect key="frame" x="0.0" y="28" width="375" height="209"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="aZM-RC-Gka" id="psQ-Og-OSa"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="aZM-RC-Gka" id="psQ-Og-OSa">
<rect key="frame" x="0.0" y="0.0" width="375" height="171.5"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="208.5"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="z2K-Ca-fNc"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="z2K-Ca-fNc">
<rect key="frame" x="10" y="20" width="355" height="141.5"/>
<rect key="frame" x="10" y="20" width="355" height="190.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Reciever Details" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t6R-up-3D6"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Reciever Details" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t6R-up-3D6">
<rect key="frame" x="0.0" y="0.0" width="355" height="23.5"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="luh-jj-q5m"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="luh-jj-q5m">
<rect key="frame" x="0.0" y="43.5" width="355" height="98"/>
<rect key="frame" x="0.0" y="40.5" width="355" height="150"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="s7n-kG-RXf">
<rect key="frame" x="0.0" y="0.0" width="355" height="30"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g1t-35-vsY"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g1t-35-vsY">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Full Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8ag-0M-JxI"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Full Name" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8ag-0M-JxI">
<rect key="frame" x="0.0" y="0.0" width="100" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="100" height="29.5"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="100" id="FgS-a2-7V5"/> <constraint firstAttribute="width" constant="100" id="FgS-a2-7V5"/>
</constraints> </constraints>
@ -57,69 +60,120 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="k0c-6q-kn5"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="k0c-6q-kn5">
<rect key="frame" x="100" y="0.0" width="255" height="17"/>
<rect key="frame" x="100" y="0.0" width="255" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wt0-tw-1VF">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="N0o-Xa-nni"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="30" id="dNm-Ds-E0W"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="dj1-Cv-Kob">
<rect key="frame" x="0.0" y="40" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="16c-65-2u3"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="16c-65-2u3">
<rect key="frame" x="0.0" y="27" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <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="NCN-8W-JTM"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Address" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NCN-8W-JTM">
<rect key="frame" x="0.0" y="0.0" width="100" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="100" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dnn-3y-Ufq"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dnn-3y-Ufq">
<rect key="frame" x="100" y="0.0" width="255" height="17"/>
<rect key="frame" x="100" y="0.0" width="255" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UdI-Uf-HLo">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="C7K-dh-Swx"/>
</constraints>
</view>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="3zI-W1-F7C">
<rect key="frame" x="0.0" y="80" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ezO-Gr-nqB"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ezO-Gr-nqB">
<rect key="frame" x="0.0" y="54" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <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="bZM-e8-AXb"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Country" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bZM-e8-AXb">
<rect key="frame" x="0.0" y="0.0" width="100" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="100" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lSX-Wi-zqi"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lSX-Wi-zqi">
<rect key="frame" x="100" y="0.0" width="255" height="17"/>
<rect key="frame" x="100" y="0.0" width="255" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5pB-OE-2cg">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="JCx-Oc-n8S"/>
</constraints>
</view>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="ULU-P1-SnL">
<rect key="frame" x="0.0" y="120" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="evW-x9-e97"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="evW-x9-e97">
<rect key="frame" x="0.0" y="81" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mobile" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Nf4-7d-Ukp"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Mobile" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Nf4-7d-Ukp">
<rect key="frame" x="0.0" y="0.0" width="100" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="100" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PQT-9O-m4H"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PQT-9O-m4H">
<rect key="frame" x="100" y="0.0" width="255" height="17"/>
<rect key="frame" x="100" y="0.0" width="255" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.03364955357142857" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RO6-MW-WFX">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="zb0-t4-HVY"/>
</constraints>
</view>
</subviews>
</stackView>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="NCN-8W-JTM" firstAttribute="width" secondItem="8ag-0M-JxI" secondAttribute="width" id="3GY-UQ-8aq"/>
<constraint firstItem="Nf4-7d-Ukp" firstAttribute="width" secondItem="8ag-0M-JxI" secondAttribute="width" id="U8s-Ky-WWt"/>
<constraint firstItem="bZM-e8-AXb" firstAttribute="width" secondItem="8ag-0M-JxI" secondAttribute="width" id="Wfd-do-BfX"/>
<constraint firstItem="bZM-e8-AXb" firstAttribute="width" secondItem="8ag-0M-JxI" secondAttribute="width" id="AZR-sm-lWS"/>
<constraint firstItem="NCN-8W-JTM" firstAttribute="width" secondItem="8ag-0M-JxI" secondAttribute="width" id="E1R-XH-mq9"/>
<constraint firstItem="ULU-P1-SnL" firstAttribute="height" secondItem="s7n-kG-RXf" secondAttribute="height" id="Pnz-d7-UnH"/>
<constraint firstItem="3zI-W1-F7C" firstAttribute="height" secondItem="s7n-kG-RXf" secondAttribute="height" id="Ylx-ZH-XGo"/>
<constraint firstItem="dj1-Cv-Kob" firstAttribute="height" secondItem="s7n-kG-RXf" secondAttribute="height" id="Yo2-V5-YI1"/>
<constraint firstItem="Nf4-7d-Ukp" firstAttribute="width" secondItem="8ag-0M-JxI" secondAttribute="width" id="im6-ub-qzN"/>
</constraints> </constraints>
</stackView> </stackView>
</subviews> </subviews>
@ -129,7 +183,6 @@
<constraint firstItem="z2K-Ca-fNc" firstAttribute="leading" secondItem="psQ-Og-OSa" secondAttribute="leading" constant="10" id="61C-Li-muE"/> <constraint firstItem="z2K-Ca-fNc" firstAttribute="leading" secondItem="psQ-Og-OSa" secondAttribute="leading" constant="10" id="61C-Li-muE"/>
<constraint firstItem="z2K-Ca-fNc" firstAttribute="top" secondItem="psQ-Og-OSa" secondAttribute="top" constant="20" id="BTR-76-0GM"/> <constraint firstItem="z2K-Ca-fNc" firstAttribute="top" secondItem="psQ-Og-OSa" secondAttribute="top" constant="20" id="BTR-76-0GM"/>
<constraint firstAttribute="trailing" secondItem="z2K-Ca-fNc" secondAttribute="trailing" constant="10" id="hkr-8d-ja2"/> <constraint firstAttribute="trailing" secondItem="z2K-Ca-fNc" secondAttribute="trailing" constant="10" id="hkr-8d-ja2"/>
<constraint firstAttribute="bottom" secondItem="z2K-Ca-fNc" secondAttribute="bottom" constant="10" id="qNX-F7-3O5"/>
</constraints> </constraints>
</tableViewCellContentView> </tableViewCellContentView>
</tableViewCell> </tableViewCell>
@ -137,115 +190,174 @@
</tableViewSection> </tableViewSection>
<tableViewSection headerTitle="Section-2" id="EFe-Dh-LY1"> <tableViewSection headerTitle="Section-2" id="EFe-Dh-LY1">
<cells> <cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="221" id="5Lc-M3-klA">
<rect key="frame" x="0.0" y="228" width="375" height="221"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" rowHeight="369" id="5Lc-M3-klA">
<rect key="frame" x="0.0" y="265" width="375" height="369"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="5Lc-M3-klA" id="yKP-v4-5hH"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="5Lc-M3-klA" id="yKP-v4-5hH">
<rect key="frame" x="0.0" y="0.0" width="375" height="220.5"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="368.5"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="NES-Xy-01t"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="NES-Xy-01t">
<rect key="frame" x="10" y="20" width="355" height="190.5"/>
<rect key="frame" x="10" y="20" width="355" height="270"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Transaction Details" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v0Q-bv-fyO"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Transaction Details" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v0Q-bv-fyO">
<rect key="frame" x="0.0" y="0.0" width="355" height="18.5"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/>
<color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="XUh-zT-I3S"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="XUh-zT-I3S">
<rect key="frame" x="0.0" y="38.5" width="355" height="152"/>
<rect key="frame" x="0.0" y="40.5" width="355" height="229.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="gXi-M0-QGx">
<rect key="frame" x="0.0" y="0.0" width="355" height="30"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hQ9-Ae-NRJ"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hQ9-Ae-NRJ">
<rect key="frame" x="0.0" y="0.0" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Country" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gjw-a5-RqE"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Country" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gjw-a5-RqE">
<rect key="frame" x="0.0" y="0.0" width="120" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="120" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="93F-QW-elO"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="93F-QW-elO">
<rect key="frame" x="120" y="0.0" width="235" height="17"/>
<rect key="frame" x="120" y="0.0" width="235" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5Xr-pQ-O6h">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="AWF-Eb-lt5"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="30" id="SFM-bH-kvZ"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="NcR-bm-5Qa">
<rect key="frame" x="0.0" y="40" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8fT-8K-UU0"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8fT-8K-UU0">
<rect key="frame" x="0.0" y="27" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Mode" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="udF-KR-HFx"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Mode" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="udF-KR-HFx">
<rect key="frame" x="0.0" y="0.0" width="120" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="120" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j6l-ij-Dyr"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j6l-ij-Dyr">
<rect key="frame" x="120" y="0.0" width="235" height="17"/>
<rect key="frame" x="120" y="0.0" width="235" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JSE-DO-GME">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="0T5-QL-R8y"/>
</constraints>
</view>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="c7W-ci-3o9">
<rect key="frame" x="0.0" y="80" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ion-vp-h63"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ion-vp-h63">
<rect key="frame" x="0.0" y="54" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Paying Amount" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o4Y-Pn-8Vc"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Paying Amount" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="o4Y-Pn-8Vc">
<rect key="frame" x="0.0" y="0.0" width="120" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="120" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nO5-yR-ew5"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nO5-yR-ew5">
<rect key="frame" x="120" y="0.0" width="235" height="17"/>
<rect key="frame" x="120" y="0.0" width="235" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eDv-Xv-YfG">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="2wJ-4k-sxk"/>
</constraints>
</view>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="bYP-z7-pdo">
<rect key="frame" x="0.0" y="120" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gi5-r4-dyO"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Gi5-r4-dyO">
<rect key="frame" x="0.0" y="81" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Exchange Rate" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cwe-iS-XYo"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Exchange Rate" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cwe-iS-XYo">
<rect key="frame" x="0.0" y="0.0" width="120" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="120" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gJk-8S-8R0"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gJk-8S-8R0">
<rect key="frame" x="120" y="0.0" width="235" height="17"/>
<rect key="frame" x="120" y="0.0" width="235" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gJS-Az-T8e">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="dWc-uq-aQa"/>
</constraints>
</view>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="IRO-hu-J2s">
<rect key="frame" x="0.0" y="160" width="355" height="29.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cT0-TW-JtH"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="cT0-TW-JtH">
<rect key="frame" x="0.0" y="108" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Service Charge" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="H3A-mN-Mdt"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Service Charge" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="H3A-mN-Mdt">
<rect key="frame" x="0.0" y="0.0" width="120" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="120" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mYq-Uf-g1V"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mYq-Uf-g1V">
<rect key="frame" x="120" y="0.0" width="235" height="17"/>
<rect key="frame" x="120" y="0.0" width="235" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="rk2-Ky-8dn">
<rect key="frame" x="0.0" y="199.5" width="355" height="30"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eR3-EP-Bkf"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eR3-EP-Bkf">
<rect key="frame" x="0.0" y="135" width="355" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="355" height="29.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Agent/Bank" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vzF-GP-Vyz"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Payout Agent/Bank" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vzF-GP-Vyz">
<rect key="frame" x="0.0" y="0.0" width="120" height="17"/>
<rect key="frame" x="0.0" y="0.0" width="120" height="29.5"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="120" id="djk-ZF-0dD"/> <constraint firstAttribute="width" constant="120" id="djk-ZF-0dD"/>
</constraints> </constraints>
@ -254,20 +366,34 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VpB-U7-5VE"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=": Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VpB-U7-5VE">
<rect key="frame" x="120" y="0.0" width="235" height="17"/>
<rect key="frame" x="120" y="0.0" width="235" height="29.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/> <color key="textColor" white="0.033649553569999997" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DQI-ZW-vHk">
<rect key="frame" x="0.0" y="29.5" width="355" height="0.5"/>
<color key="backgroundColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" constant="0.5" id="UJc-AQ-ULo"/>
</constraints>
</view>
</subviews>
</stackView>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="H3A-mN-Mdt" firstAttribute="width" secondItem="vzF-GP-Vyz" secondAttribute="width" id="KaQ-rk-Dsj"/>
<constraint firstItem="gjw-a5-RqE" firstAttribute="width" secondItem="vzF-GP-Vyz" secondAttribute="width" id="Lqa-4B-uIA"/>
<constraint firstItem="udF-KR-HFx" firstAttribute="width" secondItem="vzF-GP-Vyz" secondAttribute="width" id="MI6-Bz-a3N"/>
<constraint firstItem="o4Y-Pn-8Vc" firstAttribute="width" secondItem="vzF-GP-Vyz" secondAttribute="width" id="h6b-Oq-hiM"/>
<constraint firstItem="Cwe-iS-XYo" firstAttribute="width" secondItem="vzF-GP-Vyz" secondAttribute="width" id="n66-nm-WEF"/>
<constraint firstItem="udF-KR-HFx" firstAttribute="width" secondItem="gjw-a5-RqE" secondAttribute="width" id="0Ag-n8-iCu"/>
<constraint firstItem="o4Y-Pn-8Vc" firstAttribute="width" secondItem="gjw-a5-RqE" secondAttribute="width" id="8xE-mv-uBD"/>
<constraint firstItem="bYP-z7-pdo" firstAttribute="height" secondItem="gXi-M0-QGx" secondAttribute="height" id="B2i-KR-DKW"/>
<constraint firstItem="vzF-GP-Vyz" firstAttribute="width" secondItem="gjw-a5-RqE" secondAttribute="width" id="BrZ-8C-UAh"/>
<constraint firstItem="H3A-mN-Mdt" firstAttribute="width" secondItem="gjw-a5-RqE" secondAttribute="width" id="ChI-Ai-7Gy"/>
<constraint firstItem="c7W-ci-3o9" firstAttribute="height" secondItem="gXi-M0-QGx" secondAttribute="height" id="KTs-cU-dZo"/>
<constraint firstItem="Cwe-iS-XYo" firstAttribute="width" secondItem="gjw-a5-RqE" secondAttribute="width" id="PcQ-cW-f3j"/>
<constraint firstItem="IRO-hu-J2s" firstAttribute="height" secondItem="gXi-M0-QGx" secondAttribute="height" id="W3a-BP-mTL"/>
<constraint firstItem="rk2-Ky-8dn" firstAttribute="height" secondItem="gXi-M0-QGx" secondAttribute="height" id="Zof-Ya-uog"/>
<constraint firstItem="NcR-bm-5Qa" firstAttribute="height" secondItem="gXi-M0-QGx" secondAttribute="height" id="mgY-lB-C1A"/>
</constraints> </constraints>
</stackView> </stackView>
</subviews> </subviews>
@ -275,7 +401,6 @@
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="NES-Xy-01t" firstAttribute="leading" secondItem="yKP-v4-5hH" secondAttribute="leading" constant="10" id="Xh0-n9-uQS"/> <constraint firstItem="NES-Xy-01t" firstAttribute="leading" secondItem="yKP-v4-5hH" secondAttribute="leading" constant="10" id="Xh0-n9-uQS"/>
<constraint firstAttribute="bottom" secondItem="NES-Xy-01t" secondAttribute="bottom" constant="10" id="Z8s-Gd-tiW"/>
<constraint firstAttribute="trailing" secondItem="NES-Xy-01t" secondAttribute="trailing" constant="10" id="few-BI-YPa"/> <constraint firstAttribute="trailing" secondItem="NES-Xy-01t" secondAttribute="trailing" constant="10" id="few-BI-YPa"/>
<constraint firstItem="NES-Xy-01t" firstAttribute="top" secondItem="yKP-v4-5hH" secondAttribute="top" constant="20" id="g0r-HS-Hc8"/> <constraint firstItem="NES-Xy-01t" firstAttribute="top" secondItem="yKP-v4-5hH" secondAttribute="top" constant="20" id="g0r-HS-Hc8"/>
</constraints> </constraints>
@ -289,6 +414,18 @@
<outlet property="delegate" destination="z1L-xE-OXS" id="HeW-Du-1Aw"/> <outlet property="delegate" destination="z1L-xE-OXS" id="HeW-Du-1Aw"/>
</connections> </connections>
</tableView> </tableView>
<connections>
<outlet property="addressLabel" destination="dnn-3y-Ufq" id="d1u-dz-rVd"/>
<outlet property="countryLabel" destination="lSX-Wi-zqi" id="xlG-vf-NWi"/>
<outlet property="exchangeRateLabel" destination="gJk-8S-8R0" id="yRZ-WX-BFn"/>
<outlet property="fullNameLabel" destination="k0c-6q-kn5" id="ctQ-0F-vQu"/>
<outlet property="mobileLabel" destination="PQT-9O-m4H" id="Of3-o2-1H9"/>
<outlet property="payingAmountLabel" destination="nO5-yR-ew5" id="t2O-Wh-Ori"/>
<outlet property="payoutAgentBankLabel" destination="VpB-U7-5VE" id="NfN-5Z-5dt"/>
<outlet property="payoutCountryLabel" destination="93F-QW-elO" id="8vS-6e-9Cj"/>
<outlet property="payoutModeLabel" destination="j6l-ij-Dyr" id="DIH-qM-6be"/>
<outlet property="serviceChargeLabel" destination="mYq-Uf-g1V" id="kXQ-7b-afR"/>
</connections>
</tableViewController> </tableViewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="nJV-if-ch6" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="nJV-if-ch6" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects> </objects>

46
GMERemittance/Module/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

@ -12,11 +12,29 @@ class SendMoneyVerificationViewController: UITableViewController {
// MARK: IBOutlets // MARK: IBOutlets
// Recievers Details
@IBOutlet weak var fullNameLabel: UILabel!
@IBOutlet weak var addressLabel: UILabel!
@IBOutlet weak var countryLabel: UILabel!
@IBOutlet weak var mobileLabel: UILabel!
// Transation Details
@IBOutlet weak var payoutCountryLabel: UILabel!
@IBOutlet weak var payoutModeLabel: UILabel!
@IBOutlet weak var payingAmountLabel: UILabel!
@IBOutlet weak var exchangeRateLabel: UILabel!
@IBOutlet weak var serviceChargeLabel: UILabel!
@IBOutlet weak var payoutAgentBankLabel: UILabel!
// MARK: Properties // MARK: Properties
var presenter: SendMoneyVerificationModuleInterface? var presenter: SendMoneyVerificationModuleInterface?
var reciepient: Recipient? var reciepient: Recipient?
var requestModel: SendMoneyRequestModel?
var hudDelegate: HUDStatusDelegate? var hudDelegate: HUDStatusDelegate?
// MARK: VC's Life cycle // MARK: VC's Life cycle
@ -26,6 +44,12 @@ class SendMoneyVerificationViewController: UITableViewController {
self.setup() self.setup()
} }
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
populateRecieversInformations()
populateTransactionDetails()
}
// MARK: IBActions // MARK: IBActions
// MARK: Other Functions // MARK: Other Functions
@ -34,6 +58,22 @@ class SendMoneyVerificationViewController: UITableViewController {
// all setup should be done here // all setup should be done here
} }
private func populateRecieversInformations() {
self.fullNameLabel.text = self.reciepient?.getFullName()
self.addressLabel.text = self.reciepient?.address
self.countryLabel.text = self.reciepient?.country
self.mobileLabel.text = self.reciepient?.mobileNumber
}
private func populateTransactionDetails() {
self.payoutCountryLabel.text = self.reciepient?.country
self.payoutModeLabel.text = self.requestModel?.paymemtMode?.mode
self.payingAmountLabel.text = self.requestModel?.payingAmount
self.exchangeRateLabel.text = self.requestModel?.exchangeRateDetail?.exchangeRate
self.serviceChargeLabel.text = self.requestModel?.exchangeRateDetail?.transferFee
self.payoutModeLabel.text = self.requestModel?.bank?.name
}
} }
// MARK: SendMoneyVerificationViewInterface // MARK: SendMoneyVerificationViewInterface
@ -49,6 +89,10 @@ extension SendMoneyVerificationViewController: SendMoneyVerificationViewInterfac
func hideLoading() { func hideLoading() {
self.hudDelegate?.hideLoading() self.hudDelegate?.hideLoading()
} }
}
extension SendMoneyVerificationViewController {
override func didMove(toParentViewController parent: UIViewController?) {
self.viewWillAppear(true)
}
} }
Loading…
Cancel
Save