Browse Source

change exchange rate like splash screen

pull/1/head
InKwon James Kim 5 years ago
parent
commit
c9f25158ee
  1. 308
      GME Remit/Modules/ExchangeRates/User Interface/View/ExchangeRates.storyboard
  2. 43
      GME Remit/Modules/ExchangeRates/User Interface/View/ExchangeRatesViewController.swift
  3. 352
      GME Remit/Modules/SendMoneyModules/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRate.storyboard
  4. 94
      GME Remit/Modules/SendMoneyModules/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRateViewController.swift
  5. 37
      GME Remit/Modules/SendMoneyModules/SendMoneyVerification/User Interface/View/SendMoneyVerification.storyboard
  6. 4
      GME Remit/Modules/SendMoneyModules/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

308
GME Remit/Modules/ExchangeRates/User Interface/View/ExchangeRates.storyboard

@ -36,7 +36,7 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="EEF-HP-StG"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="EEF-HP-StG">
<rect key="frame" x="10" y="20" width="355" height="388"/>
<rect key="frame" x="10" y="20" width="355" height="395"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="qGh-mt-tYG"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="qGh-mt-tYG">
<rect key="frame" x="0.0" y="0.0" width="355" height="154"/> <rect key="frame" x="0.0" y="0.0" width="355" height="154"/>
@ -135,59 +135,60 @@
<constraint firstAttribute="height" constant="154" id="GgL-cn-eyU"/> <constraint firstAttribute="height" constant="154" id="GgL-cn-eyU"/>
</constraints> </constraints>
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="25L-1L-t4e">
<rect key="frame" x="0.0" y="174" width="355" height="70"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XWa-nh-qMH">
<rect key="frame" x="0.0" y="174" width="355" height="221"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AGt-UA-d1E">
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9vK-lM-Ovi">
<rect key="frame" x="0.0" y="0.0" width="355" height="60.5"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aph-by-xzw">
<rect key="frame" x="8" y="0.0" width="347" height="70"/>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Knd-Dy-lsX">
<rect key="frame" x="8" y="0.0" width="347" height="60.5"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="tLv-zB-NOh">
<rect key="frame" x="0.0" y="0.0" width="222" height="70"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="Y6b-2j-Vrx">
<rect key="frame" x="0.0" y="0.0" width="222" height="60.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jZ5-gd-eBb">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="g3R-4k-Agy">
<rect key="frame" x="0.0" y="0.0" width="222" height="6"/> <rect key="frame" x="0.0" y="0.0" width="222" height="6"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="6" id="Jcf-AU-ztI"/>
<constraint firstAttribute="height" constant="6" id="nLx-T4-NiA"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You Send" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="453-p5-JCH">
<rect key="frame" x="0.0" y="6" width="222" height="14"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You Send" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Xpj-lv-YQd">
<rect key="frame" x="0.0" y="6.5" width="222" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="100,000" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="g3K-Yw-9MX" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="20" width="222" height="50"/>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="1,000,000" placeholder="10,000,000" textAlignment="natural" minimumFontSize="12" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="RqB-KL-VLH" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="20.5" width="222" height="40"/>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="50" id="zxw-hb-bmw"/>
<constraint firstAttribute="height" constant="40" id="YhC-9K-OAY"/>
</constraints> </constraints>
<color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/>
<textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
<textInputTraits key="textInputTraits" keyboardType="numberPad"/>
</textField> </textField>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iu4-4L-RhQ">
<rect key="frame" x="222" y="0.0" width="125" height="70"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ibk-Nt-WCU">
<rect key="frame" x="222" y="0.0" width="125" height="60.5"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="n3f-Vu-f8f">
<rect key="frame" x="25.5" y="22" width="74" height="26"/>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="jYO-er-b2S">
<rect key="frame" x="24" y="17.5" width="77" height="26"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="y0f-Vr-Roy">
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="9Oe-hg-7XR">
<rect key="frame" x="0.0" y="0.0" width="26" height="26"/> <rect key="frame" x="0.0" y="0.0" width="26" height="26"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="26" id="aV1-0h-Jm6"/>
<constraint firstAttribute="width" constant="26" id="gWd-Oa-Km0"/>
<constraint firstAttribute="width" constant="26" id="Kvg-kI-gZc"/>
<constraint firstAttribute="height" constant="26" id="dKa-yI-llx"/>
</constraints> </constraints>
</imageView> </imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bdQ-zf-eZs">
<rect key="frame" x="36" y="0.0" width="38" height="26"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="HcJ-nJ-muV">
<rect key="frame" x="36" y="0.0" width="41" height="26"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -197,9 +198,10 @@
</subviews> </subviews>
<color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstItem="n3f-Vu-f8f" firstAttribute="centerX" secondItem="Iu4-4L-RhQ" secondAttribute="centerX" id="1EE-h6-Him"/>
<constraint firstItem="n3f-Vu-f8f" firstAttribute="centerY" secondItem="Iu4-4L-RhQ" secondAttribute="centerY" id="Gaz-GJ-vKR"/>
<constraint firstAttribute="width" constant="125" id="Q6Y-5r-Zha"/>
<constraint firstItem="jYO-er-b2S" firstAttribute="centerY" secondItem="ibk-Nt-WCU" secondAttribute="centerY" id="LTX-79-uTi"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="60" id="Nku-iB-OVd"/>
<constraint firstItem="jYO-er-b2S" firstAttribute="centerX" secondItem="ibk-Nt-WCU" secondAttribute="centerX" id="S3O-hQ-JuH"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" priority="900" constant="70" id="tJ2-qB-w1f"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
@ -207,120 +209,159 @@
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstAttribute="trailing" secondItem="aph-by-xzw" secondAttribute="trailing" id="JK2-hd-XNG"/>
<constraint firstItem="aph-by-xzw" firstAttribute="top" secondItem="AGt-UA-d1E" secondAttribute="top" id="bY5-K3-md0"/>
<constraint firstItem="aph-by-xzw" firstAttribute="leading" secondItem="AGt-UA-d1E" secondAttribute="leading" constant="8" id="lwt-qL-Scw"/>
<constraint firstAttribute="bottom" secondItem="aph-by-xzw" secondAttribute="bottom" id="zDB-H8-56M"/>
<constraint firstAttribute="bottom" secondItem="Knd-Dy-lsX" secondAttribute="bottom" id="2Ki-4n-Lf7"/>
<constraint firstItem="Knd-Dy-lsX" firstAttribute="top" secondItem="9vK-lM-Ovi" secondAttribute="top" id="DVv-do-eob"/>
<constraint firstAttribute="trailing" secondItem="Knd-Dy-lsX" secondAttribute="trailing" id="FFQ-PG-iHC"/>
<constraint firstItem="Knd-Dy-lsX" firstAttribute="leading" secondItem="9vK-lM-Ovi" secondAttribute="leading" constant="8" id="H3K-c2-Cvl"/>
</constraints> </constraints>
</view> </view>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="70" id="sKB-V9-sb2"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="eZQ-ZM-qFq">
<rect key="frame" x="0.0" y="264" width="355" height="34"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zIZ-e5-h3R">
<rect key="frame" x="0.0" y="0.0" width="355" height="34"/>
<view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KAM-Bd-oYz">
<rect key="frame" x="0.0" y="60.5" width="355" height="100"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mfS-0Z-txA">
<rect key="frame" x="0.0" y="0.0" width="10" height="34"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PBs-xk-mBX">
<rect key="frame" x="24" y="0.0" width="1.5" height="100"/>
<color key="backgroundColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="10" id="Gbl-jd-pgK"/>
<constraint firstAttribute="width" constant="1.5" id="6Qd-Vx-K42"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="QHc-Pr-Clh">
<rect key="frame" x="10" y="0.0" width="345" height="34"/>
</view>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="nTg-yv-X5I">
<rect key="frame" x="20" y="0.0" width="315" height="100"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5j8-YV-UND">
<rect key="frame" x="0.0" y="0.0" width="345" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fEt-T6-kPD">
<rect key="frame" x="0.0" y="19.5" width="345" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="7Gm-hB-sVx">
<rect key="frame" x="0.0" y="0.0" width="315" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="●" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="x9c-Rr-MIl">
<rect key="frame" x="0.0" y="0.0" width="10" height="50"/>
<constraints>
<constraint firstAttribute="width" constant="10" id="db4-Kp-VUr"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="8"/>
<color key="textColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="qnU-bD-qki">
<rect key="frame" x="15" y="0.0" width="300" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text=" -5,000 KRW (Transfer Fees Included)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cpQ-ed-Npr">
<rect key="frame" x="0.0" y="0.0" width="300" height="50"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="9U8-Hg-dv1">
<rect key="frame" x="0.0" y="50" width="315" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="●" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uGi-Dr-9Vu">
<rect key="frame" x="0.0" y="0.0" width="10" height="50"/>
<constraints>
<constraint firstAttribute="width" constant="10" id="o8L-IK-HdY"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="8"/>
<color key="textColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="mks-TA-ycu">
<rect key="frame" x="15" y="0.0" width="300" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" 0.0922 (Current Exchange Rate)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bW4-iy-ugY">
<rect key="frame" x="0.0" y="0.0" width="300" height="50"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="103" id="Pkc-Wr-xAl"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="60" id="eue-Tm-yjS"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" priority="300" constant="100" id="tvP-Ue-Sq3"/>
</constraints>
</stackView> </stackView>
</subviews> </subviews>
</stackView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2dJ-m4-ieK">
<rect key="frame" x="0.0" y="318" width="355" height="70"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xnw-Oo-65c">
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="nTg-yv-X5I" firstAttribute="leading" secondItem="KAM-Bd-oYz" secondAttribute="leading" constant="20" id="DFK-wx-LVp"/>
<constraint firstItem="nTg-yv-X5I" firstAttribute="top" secondItem="KAM-Bd-oYz" secondAttribute="top" id="XV5-xE-vPY"/>
<constraint firstItem="PBs-xk-mBX" firstAttribute="top" secondItem="KAM-Bd-oYz" secondAttribute="top" id="byP-ls-Fbo"/>
<constraint firstItem="PBs-xk-mBX" firstAttribute="leading" secondItem="KAM-Bd-oYz" secondAttribute="leading" constant="24" id="pdc-vk-Nw7"/>
<constraint firstAttribute="bottom" secondItem="PBs-xk-mBX" secondAttribute="bottom" id="v4g-Rh-42o"/>
<constraint firstAttribute="trailing" secondItem="nTg-yv-X5I" secondAttribute="trailing" constant="20" id="vIh-Zh-y7o"/>
<constraint firstAttribute="bottom" secondItem="nTg-yv-X5I" secondAttribute="bottom" id="ypq-da-wJX"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MJV-sy-eP7">
<rect key="frame" x="0.0" y="160.5" width="355" height="60.5"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GaA-e0-GMM">
<rect key="frame" x="8" y="0.0" width="347" height="70"/>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="b9J-Ty-q8f">
<rect key="frame" x="8" y="0.0" width="347" height="60.5"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="hEM-6z-LUa">
<rect key="frame" x="0.0" y="0.0" width="222" height="70"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="Cd8-jC-Nzg">
<rect key="frame" x="0.0" y="0.0" width="222" height="60.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9ee-w5-Wse">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jMx-Qj-uyW">
<rect key="frame" x="0.0" y="0.0" width="222" height="6"/> <rect key="frame" x="0.0" y="0.0" width="222" height="6"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="6" id="bRg-6n-Hdt"/>
<constraint firstAttribute="height" constant="6" id="QVE-QZ-zj9"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recepient Gets" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rgn-Rg-2OF">
<rect key="frame" x="0.0" y="6" width="222" height="14"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recepient Gets" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZLj-5v-cJU">
<rect key="frame" x="0.0" y="6.5" width="222" height="14"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="100,000" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="dTw-1k-6zQ" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="20" width="222" height="50"/>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="1,000,000" placeholder="10,000,000" textAlignment="natural" minimumFontSize="12" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="Pjt-ru-WP5" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="20.5" width="222" height="40"/>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="50" id="trM-sN-aGf"/>
<constraint firstAttribute="height" constant="40" id="8zC-fk-wxH"/>
</constraints> </constraints>
<color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/>
<textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
<textInputTraits key="textInputTraits" keyboardType="numberPad"/>
</textField> </textField>
</subviews> </subviews>
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="XAz-ee-bHP">
<rect key="frame" x="222" y="0.0" width="125" height="70"/>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="BNB-Pc-bNi">
<rect key="frame" x="222" y="0.0" width="125" height="60.5"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xgx-rs-oxc">
<rect key="frame" x="0.0" y="0.0" width="125" height="70"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HNx-hn-Md8">
<rect key="frame" x="0.0" y="0.0" width="125" height="60.5"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="T9h-bm-oDr">
<rect key="frame" x="7.5" y="22" width="110" height="26"/>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="i9R-m1-avp">
<rect key="frame" x="6" y="17.5" width="113" height="26"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="Avu-kr-1cs">
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="rbh-s6-5yG">
<rect key="frame" x="0.0" y="0.0" width="26" height="26"/> <rect key="frame" x="0.0" y="0.0" width="26" height="26"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="26" id="5Z1-pR-6Ja"/>
<constraint firstAttribute="width" constant="26" id="Abb-KQ-tB9"/>
<constraint firstAttribute="height" constant="26" id="cKK-XI-Bxn"/>
<constraint firstAttribute="width" constant="26" id="e4o-2L-Yay"/>
</constraints> </constraints>
</imageView> </imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bLP-Hr-nCw">
<rect key="frame" x="36" y="0.0" width="38" height="26"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="Tu7-d6-vev">
<rect key="frame" x="36" y="0.0" width="41" height="26"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_dropdownSmall" translatesAutoresizingMaskIntoConstraints="NO" id="0wD-4J-JJO">
<rect key="frame" x="84" y="0.0" width="26" height="26"/>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_dropdownSmall" translatesAutoresizingMaskIntoConstraints="NO" id="buU-Ck-s8m">
<rect key="frame" x="87" y="0.0" width="26" height="26"/>
<color key="tintColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="tintColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="26" id="F3m-H7-gXq"/>
<constraint firstAttribute="height" constant="26" id="QCZ-lO-f6V"/>
<constraint firstAttribute="height" constant="26" id="lDj-76-8TX"/>
<constraint firstAttribute="width" constant="26" id="pvO-Fy-avG"/>
</constraints> </constraints>
</imageView> </imageView>
</subviews> </subviews>
@ -329,14 +370,14 @@
<color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<gestureRecognizers/> <gestureRecognizers/>
<constraints> <constraints>
<constraint firstItem="T9h-bm-oDr" firstAttribute="centerY" secondItem="xgx-rs-oxc" secondAttribute="centerY" id="byV-UK-1c9"/>
<constraint firstItem="T9h-bm-oDr" firstAttribute="centerX" secondItem="xgx-rs-oxc" secondAttribute="centerX" id="hbX-CE-nnd"/>
<constraint firstAttribute="width" constant="125" id="qKE-jA-84a"/>
<constraint firstItem="i9R-m1-avp" firstAttribute="centerX" secondItem="HNx-hn-Md8" secondAttribute="centerX" id="GjX-yz-tOC"/>
<constraint firstItem="i9R-m1-avp" firstAttribute="centerY" secondItem="HNx-hn-Md8" secondAttribute="centerY" id="KDP-au-Yel"/>
<constraint firstAttribute="width" relation="lessThanOrEqual" priority="900" constant="125" id="qzP-RW-hZf"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstAttribute="width" constant="125" id="CXI-P0-0hL"/>
<constraint firstAttribute="width" constant="125" id="EjF-1q-efg"/>
</constraints> </constraints>
</stackView> </stackView>
</subviews> </subviews>
@ -344,17 +385,29 @@
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstItem="GaA-e0-GMM" firstAttribute="leading" secondItem="xnw-Oo-65c" secondAttribute="leading" constant="8" id="3gW-q8-LId"/>
<constraint firstAttribute="trailing" secondItem="GaA-e0-GMM" secondAttribute="trailing" id="4uL-ep-qyf"/>
<constraint firstItem="GaA-e0-GMM" firstAttribute="top" secondItem="xnw-Oo-65c" secondAttribute="top" id="IO1-K4-u2r"/>
<constraint firstAttribute="bottom" secondItem="GaA-e0-GMM" secondAttribute="bottom" id="R2B-sM-A3d"/>
<constraint firstItem="b9J-Ty-q8f" firstAttribute="leading" secondItem="MJV-sy-eP7" secondAttribute="leading" constant="8" id="7Yy-El-h9i"/>
<constraint firstAttribute="trailing" secondItem="b9J-Ty-q8f" secondAttribute="trailing" id="C9P-wT-OJG"/>
<constraint firstAttribute="bottom" secondItem="b9J-Ty-q8f" secondAttribute="bottom" id="tOs-gj-oCx"/>
<constraint firstItem="b9J-Ty-q8f" firstAttribute="top" secondItem="MJV-sy-eP7" secondAttribute="top" id="xRb-Cb-w2d"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="70" id="ME8-ck-qSj"/>
<constraint firstItem="9vK-lM-Ovi" firstAttribute="leading" secondItem="XWa-nh-qMH" secondAttribute="leading" id="3O0-nM-ESi"/>
<constraint firstItem="KAM-Bd-oYz" firstAttribute="top" secondItem="9vK-lM-Ovi" secondAttribute="bottom" id="Eo5-HE-aTb"/>
<constraint firstItem="MJV-sy-eP7" firstAttribute="top" secondItem="KAM-Bd-oYz" secondAttribute="bottom" id="UY0-ZF-UTL"/>
<constraint firstAttribute="bottom" secondItem="MJV-sy-eP7" secondAttribute="bottom" id="XpA-N2-0FC"/>
<constraint firstItem="ibk-Nt-WCU" firstAttribute="height" secondItem="HNx-hn-Md8" secondAttribute="height" id="c7E-sw-XjC"/>
<constraint firstItem="9vK-lM-Ovi" firstAttribute="top" secondItem="XWa-nh-qMH" secondAttribute="top" id="l9h-PY-gVk"/>
<constraint firstItem="HNx-hn-Md8" firstAttribute="width" secondItem="ibk-Nt-WCU" secondAttribute="width" id="lzZ-Q3-fI6"/>
<constraint firstItem="MJV-sy-eP7" firstAttribute="leading" secondItem="XWa-nh-qMH" secondAttribute="leading" id="mBy-5V-m37"/>
<constraint firstAttribute="trailing" secondItem="KAM-Bd-oYz" secondAttribute="trailing" id="pfQ-MV-Sl5"/>
<constraint firstAttribute="trailing" secondItem="MJV-sy-eP7" secondAttribute="trailing" id="uAA-Vh-bzW"/>
<constraint firstItem="KAM-Bd-oYz" firstAttribute="leading" secondItem="XWa-nh-qMH" secondAttribute="leading" id="vbU-dW-eRn"/>
<constraint firstAttribute="trailing" secondItem="9vK-lM-Ovi" secondAttribute="trailing" id="vk4-if-Wcz"/>
</constraints> </constraints>
</stackView>
</view>
</subviews> </subviews>
</stackView> </stackView>
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="H6t-AW-Fpn"> <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="H6t-AW-Fpn">
@ -410,26 +463,29 @@
<viewLayoutGuide key="safeArea" id="FaC-4l-e1W"/> <viewLayoutGuide key="safeArea" id="FaC-4l-e1W"/>
</view> </view>
<connections> <connections>
<outlet property="backgroundViewCountryLabel1" destination="Iu4-4L-RhQ" id="GIh-wj-A7u"/>
<outlet property="backgroundViewCountryLabel2" destination="xgx-rs-oxc" id="hMW-MP-ekV"/>
<outlet property="calculateTItleLabel" destination="H6t-AW-Fpn" id="rIe-3l-eeL"/>
<outlet property="backgroundViewCountryLabel1" destination="ibk-Nt-WCU" id="qKy-IN-T1i"/>
<outlet property="backgroundViewCountryLabel2" destination="HNx-hn-Md8" id="AJc-Dh-hPi"/>
<outlet property="calculatedInfoView" destination="KAM-Bd-oYz" id="AdK-tk-1zn"/>
<outlet property="collectionView" destination="ENF-cV-uem" id="AQA-Nn-4yT"/> <outlet property="collectionView" destination="ENF-cV-uem" id="AQA-Nn-4yT"/>
<outlet property="countryCodeLabel" destination="bLP-Hr-nCw" id="OWg-v2-bOW"/>
<outlet property="countryFlagImage" destination="Avu-kr-1cs" id="l2U-kI-kyr"/>
<outlet property="countryListStackView" destination="XAz-ee-bHP" id="ymk-Mh-NHk"/>
<outlet property="dropDownImageView" destination="0wD-4J-JJO" id="4Yl-1Y-EeN"/>
<outlet property="exchangeBackground1" destination="AGt-UA-d1E" id="c55-6M-9FV"/>
<outlet property="exchangeBackground2" destination="xnw-Oo-65c" id="AAp-Qo-9jN"/>
<outlet property="exchangeRateInfoLabel" destination="fEt-T6-kPD" id="KGd-ws-hYl"/>
<outlet property="paymentModeStackView" destination="eZQ-ZM-qFq" id="5S2-5n-A53"/>
<outlet property="countryCodeLabel" destination="Tu7-d6-vev" id="sJ5-Xy-YaS"/>
<outlet property="countryFlagImage" destination="rbh-s6-5yG" id="ydl-NN-MTJ"/>
<outlet property="countryListStackView" destination="BNB-Pc-bNi" id="NHC-gO-Acq"/>
<outlet property="dropDownImageView" destination="buU-Ck-s8m" id="13C-jO-1lI"/>
<outlet property="exchangeBackground1" destination="9vK-lM-Ovi" id="DCF-Pj-iR4"/>
<outlet property="exchangeBackground2" destination="MJV-sy-eP7" id="3iI-qL-sNJ"/>
<outlet property="exchangeRateInfoLabel" destination="bW4-iy-ugY" id="Ljx-XU-Ihs"/>
<outlet property="exchangeRateView" destination="9U8-Hg-dv1" id="6D3-c6-IrS"/>
<outlet property="executeButton" destination="H6t-AW-Fpn" id="rIe-3l-eeL"/>
<outlet property="paymentModeStackView" destination="kS0-ZR-UuV" id="EXD-Mv-Q0x"/>
<outlet property="paymentModeStackViewConstraint" destination="GgL-cn-eyU" id="iNe-p5-0At"/> <outlet property="paymentModeStackViewConstraint" destination="GgL-cn-eyU" id="iNe-p5-0At"/>
<outlet property="recepientGetsTitleLabel" destination="rgn-Rg-2OF" id="1Zd-c4-Tbd"/>
<outlet property="reciepientTextField" destination="dTw-1k-6zQ" id="MRk-KS-OWU"/>
<outlet property="recepientGetsTitleLabel" destination="ZLj-5v-cJU" id="tUY-gS-z2m"/>
<outlet property="reciepientTextField" destination="Pjt-ru-WP5" id="CZv-ew-mr0"/>
<outlet property="scrollView" destination="EcO-VE-kpa" id="LQ0-cc-8In"/> <outlet property="scrollView" destination="EcO-VE-kpa" id="LQ0-cc-8In"/>
<outlet property="selectPaymentModeTitleLabel" destination="NTz-FS-kVn" id="rky-Zl-wNr"/> <outlet property="selectPaymentModeTitleLabel" destination="NTz-FS-kVn" id="rky-Zl-wNr"/>
<outlet property="senderTextField" destination="g3K-Yw-9MX" id="tT2-Dp-c29"/>
<outlet property="transferFeeInfoLabel" destination="5j8-YV-UND" id="Wa0-5G-EXA"/>
<outlet property="youSendTitleLabel" destination="453-p5-JCH" id="kSL-uT-en9"/>
<outlet property="senderTextField" destination="RqB-KL-VLH" id="iID-cm-Vxb"/>
<outlet property="serviceChargeView" destination="7Gm-hB-sVx" id="EwA-WY-WWF"/>
<outlet property="transferFeeInfoLabel" destination="cpQ-ed-Npr" id="10K-B6-9Md"/>
<outlet property="youSendTitleLabel" destination="Xpj-lv-YQd" id="o9a-nI-s9b"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="Y5P-ov-RDj" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="Y5P-ov-RDj" userLabel="First Responder" sceneMemberID="firstResponder"/>

43
GME Remit/Modules/ExchangeRates/User Interface/View/ExchangeRatesViewController.swift

@ -72,7 +72,11 @@ class ExchangeRatesViewController: UIViewController {
@IBOutlet weak var youSendTitleLabel: UILabel! @IBOutlet weak var youSendTitleLabel: UILabel!
@IBOutlet weak var recepientGetsTitleLabel: UILabel! @IBOutlet weak var recepientGetsTitleLabel: UILabel!
@IBOutlet weak var selectPaymentModeTitleLabel: UILabel! @IBOutlet weak var selectPaymentModeTitleLabel: UILabel!
@IBOutlet weak var calculateTItleLabel: UIButton!
@IBOutlet weak var executeButton: UIButton!
@IBOutlet weak var calculatedInfoView: UIView!
@IBOutlet weak var serviceChargeView: UIStackView!
@IBOutlet weak var exchangeRateView: UIStackView!
var presenter: ExchangeRatesModuleInterface? var presenter: ExchangeRatesModuleInterface?
var countryListTapGuesture: UITapGestureRecognizer? var countryListTapGuesture: UITapGestureRecognizer?
@ -204,6 +208,8 @@ class ExchangeRatesViewController: UIViewController {
self.getExchangeRateInformation( self.getExchangeRateInformation(
model: model, model: model,
success: { (exchageRateDetail) in success: { (exchageRateDetail) in
self.showExchangeRateInfomation(isHidden: false)
self.reciepientTextField.text = Utility.getCommaSeperatedStringWithDecimal( self.reciepientTextField.text = Utility.getCommaSeperatedStringWithDecimal(
numberString: exchageRateDetail?.recipientAmount ?? "" numberString: exchageRateDetail?.recipientAmount ?? ""
) )
@ -222,8 +228,10 @@ class ExchangeRatesViewController: UIViewController {
"\(exchangeRate) " + "(" + "current_exchange_rate_text".localized() + ")" "\(exchangeRate) " + "(" + "current_exchange_rate_text".localized() + ")"
self.hideProgressHud() self.hideProgressHud()
self.calculatedInfoView.isHidden = false
}, },
failure: { (error) in failure: { (error) in
self.showExchangeRateInfomation(isHidden: true)
self.hideProgressHud() self.hideProgressHud()
self.view.endEditing(true) self.view.endEditing(true)
self.alert(type: .error, message: error.localizedDescription) self.alert(type: .error, message: error.localizedDescription)
@ -248,6 +256,34 @@ class ExchangeRatesViewController: UIViewController {
// other function // other function
private func showExchangeRateInfomation(isHidden flag: Bool) {
calculatedInfoView.isHidden = flag
calculatedInfoView.alpha = flag ? 0.0 : 1.0
if !flag {
self.serviceChargeView.isHidden = false
self.exchangeRateView.isHidden = false
let animator = UIViewPropertyAnimator(duration: 0.5, curve: .easeIn) {
self.serviceChargeView.alpha = 1.0
}
animator.addCompletion { _ in
let subAnimator = UIViewPropertyAnimator(duration: 0.5, curve: .easeIn) {
self.exchangeRateView.alpha = 1.0
}
subAnimator.startAnimation()
}
animator.startAnimation()
} else {
serviceChargeView.isHidden = true
serviceChargeView.alpha = 0.0
exchangeRateView.isHidden = true
exchangeRateView.alpha = 0.0
}
}
func showPaymentModeView() { func showPaymentModeView() {
UIView.animate(withDuration: 0.33) { UIView.animate(withDuration: 0.33) {
self.paymentModeStackViewConstraint.constant = Constants().paymentModeHeightConstant self.paymentModeStackViewConstraint.constant = Constants().paymentModeHeightConstant
@ -560,7 +596,8 @@ class ExchangeRatesViewController: UIViewController {
}) })
setupLanguage() setupLanguage()
calculateTItleLabel.layer.cornerRadius = 10
executeButton.layer.cornerRadius = 10
executeButton.backgroundColor = .themeRed
} }
private func setupLanguage() { private func setupLanguage() {
@ -568,7 +605,7 @@ class ExchangeRatesViewController: UIViewController {
self.youSendTitleLabel.text = constant.youSendText self.youSendTitleLabel.text = constant.youSendText
self.recepientGetsTitleLabel.text = constant.recepientGetsText self.recepientGetsTitleLabel.text = constant.recepientGetsText
self.selectPaymentModeTitleLabel.text = "select_payment_mode_text".localized() self.selectPaymentModeTitleLabel.text = "select_payment_mode_text".localized()
self.calculateTItleLabel.setTitle(constant.calculate, for: UIControl.State.normal)
self.executeButton.setTitle(constant.calculate, for: UIControl.State.normal)
} }
func show(error: String) { func show(error: String) {

352
GME Remit/Modules/SendMoneyModules/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRate.storyboard

@ -36,42 +36,43 @@
<rect key="frame" x="0.0" y="20" width="375" height="647"/> <rect key="frame" x="0.0" y="20" width="375" height="647"/>
<subviews> <subviews>
<view contentMode="scaleToFill" placeholderIntrinsicWidth="375" placeholderIntrinsicHeight="480" translatesAutoresizingMaskIntoConstraints="NO" id="pmz-vD-vwK"> <view contentMode="scaleToFill" placeholderIntrinsicWidth="375" placeholderIntrinsicHeight="480" translatesAutoresizingMaskIntoConstraints="NO" id="pmz-vD-vwK">
<rect key="frame" x="0.0" y="0.0" width="375" height="487"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="482"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="sHP-5O-mqU"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="sHP-5O-mqU">
<rect key="frame" x="10" y="20" width="355" height="226"/>
<rect key="frame" x="10" y="20" width="355" height="221"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="sCj-Y4-1QK">
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EbU-IJ-J7S">
<rect key="frame" x="0.0" y="0.0" width="355" height="221"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NIQ-jY-bKH">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2Fv-6U-pgY">
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/> <rect key="frame" x="0.0" y="0.0" width="355" height="70"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="r9f-9N-T4W">
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="orG-AI-ufO">
<rect key="frame" x="8" y="0.0" width="347" height="70"/> <rect key="frame" x="8" y="0.0" width="347" height="70"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="aj0-Nh-bdK">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="USe-O0-QFJ">
<rect key="frame" x="0.0" y="0.0" width="222" height="70"/> <rect key="frame" x="0.0" y="0.0" width="222" height="70"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qZt-Xi-hDQ">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dqR-r5-98I">
<rect key="frame" x="0.0" y="0.0" width="222" height="6"/> <rect key="frame" x="0.0" y="0.0" width="222" height="6"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="6" id="YNn-9l-B9A"/>
<constraint firstAttribute="height" constant="6" id="tkm-rx-QGA"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You Send" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="E5A-KR-KWl">
<rect key="frame" x="0.0" y="6" width="222" height="14"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="You Send" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kln-bl-4Dt">
<rect key="frame" x="0.0" y="15.5" width="222" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="10,000,000" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="bIP-Bh-GBC" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="20" width="222" height="50"/>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="1,000,000" textAlignment="natural" minimumFontSize="12" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="CYa-0a-YDa" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="30" width="222" height="40"/>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="50" id="kAI-1o-NdR"/>
<constraint firstAttribute="height" constant="40" id="q9H-98-Xiq"/>
</constraints> </constraints>
<color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/>
@ -79,21 +80,21 @@
</textField> </textField>
</subviews> </subviews>
</stackView> </stackView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="K75-46-fqN">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YDR-WC-SiZ">
<rect key="frame" x="222" y="0.0" width="125" height="70"/> <rect key="frame" x="222" y="0.0" width="125" height="70"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="D8a-kf-6NY">
<rect key="frame" x="24" y="22" width="77" height="26"/>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="lMW-oH-k9P">
<rect key="frame" x="25.5" y="22" width="74" height="26"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="8MB-bv-CXz">
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="MZu-Xt-o7Z">
<rect key="frame" x="0.0" y="0.0" width="26" height="26"/> <rect key="frame" x="0.0" y="0.0" width="26" height="26"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="26" id="BUx-3r-mFb"/>
<constraint firstAttribute="width" constant="26" id="KMh-f1-1jR"/>
<constraint firstAttribute="width" constant="26" id="Ofy-R1-sbo"/>
<constraint firstAttribute="height" constant="26" id="i1I-Zj-NCf"/>
</constraints> </constraints>
</imageView> </imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hzZ-jw-i2t">
<rect key="frame" x="36" y="0.0" width="41" height="26"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="aYr-O8-NKb">
<rect key="frame" x="36" y="0.0" width="38" height="26"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -103,9 +104,10 @@
</subviews> </subviews>
<color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="125" id="0vn-bs-bEy"/>
<constraint firstItem="D8a-kf-6NY" firstAttribute="centerX" secondItem="K75-46-fqN" secondAttribute="centerX" id="RCk-ma-XRr"/>
<constraint firstItem="D8a-kf-6NY" firstAttribute="centerY" secondItem="K75-46-fqN" secondAttribute="centerY" id="riK-qW-3gk"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" priority="900" constant="70" id="GPd-jn-jkK"/>
<constraint firstItem="lMW-oH-k9P" firstAttribute="centerX" secondItem="YDR-WC-SiZ" secondAttribute="centerX" id="Gtp-iA-j1s"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="60" id="K5c-Xq-rEU"/>
<constraint firstItem="lMW-oH-k9P" firstAttribute="centerY" secondItem="YDR-WC-SiZ" secondAttribute="centerY" id="Vv6-uV-grR"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
@ -113,104 +115,123 @@
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstAttribute="trailing" secondItem="r9f-9N-T4W" secondAttribute="trailing" id="GoF-ap-xRW"/>
<constraint firstItem="r9f-9N-T4W" firstAttribute="top" secondItem="NIQ-jY-bKH" secondAttribute="top" id="hTw-bF-TkA"/>
<constraint firstAttribute="bottom" secondItem="r9f-9N-T4W" secondAttribute="bottom" id="iBD-2Y-dMu"/>
<constraint firstItem="r9f-9N-T4W" firstAttribute="leading" secondItem="NIQ-jY-bKH" secondAttribute="leading" constant="8" id="l7U-5K-K1E"/>
<constraint firstAttribute="trailing" secondItem="orG-AI-ufO" secondAttribute="trailing" id="8FG-OV-pdX"/>
<constraint firstAttribute="bottom" secondItem="orG-AI-ufO" secondAttribute="bottom" id="NhB-1d-q0I"/>
<constraint firstItem="orG-AI-ufO" firstAttribute="top" secondItem="2Fv-6U-pgY" secondAttribute="top" id="QXA-PY-s7B"/>
<constraint firstItem="orG-AI-ufO" firstAttribute="leading" secondItem="2Fv-6U-pgY" secondAttribute="leading" constant="8" id="bGR-eP-m6k"/>
</constraints> </constraints>
</view> </view>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="70" id="7aX-4B-zge"/>
</constraints>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="jwn-As-sSE">
<rect key="frame" x="0.0" y="90" width="355" height="46"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="kzR-QC-upj">
<rect key="frame" x="0.0" y="0.0" width="355" height="20.5"/>
<view hidden="YES" opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="X5p-ul-G5u">
<rect key="frame" x="0.0" y="70" width="355" height="81"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9A6-r8-8Ov">
<rect key="frame" x="0.0" y="0.0" width="10" height="20.5"/>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1JX-rD-AgB">
<rect key="frame" x="24" y="0.0" width="1.5" height="81"/>
<color key="backgroundColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="calibratedRGB"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="10" id="4Np-jg-uOg"/>
<constraint firstAttribute="width" constant="1.5" id="ABP-XR-13t"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="dUY-m4-ttO">
<rect key="frame" x="15" y="0.0" width="340" height="20.5"/>
</view>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="oqh-de-uwl">
<rect key="frame" x="20" y="0.0" width="315" height="81"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text=" - (Transfer Fees Included" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2Q2-by-cBq">
<rect key="frame" x="0.0" y="0.0" width="340" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="p1h-Zb-zDy">
<rect key="frame" x="0.0" y="0.0" width="315" height="40.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="●" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oH8-uN-zlf">
<rect key="frame" x="0.0" y="0.0" width="10" height="40.5"/>
<constraints>
<constraint firstAttribute="width" constant="10" id="UzN-BS-cZk"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="8"/>
<color key="textColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="L9O-T2-IyA">
<rect key="frame" x="15" y="0.0" width="300" height="40.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text=" -5,000 KRW (Transfer Fees Included)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="naa-Zl-R4a">
<rect key="frame" x="0.0" y="0.0" width="300" height="40.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="CZk-kM-DNf">
<rect key="frame" x="0.0" y="40.5" width="315" height="40.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="●" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OLf-3e-o2h">
<rect key="frame" x="0.0" y="0.0" width="10" height="40.5"/>
<constraints>
<constraint firstAttribute="width" constant="10" id="7FY-Ze-aaa"/>
</constraints>
<fontDescription key="fontDescription" type="boldSystem" pointSize="8"/>
<color key="textColor" red="0.87843137250000003" green="0.87843137250000003" blue="0.87843137250000003" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="fG0-wF-loz">
<rect key="frame" x="15" y="0.0" width="300" height="40.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" 0.0922 (Current Exchange Rate)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="07v-Ad-HmD">
<rect key="frame" x="0.0" y="0.0" width="300" height="40.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView>
</subviews>
</stackView>
</subviews> </subviews>
</stackView>
</subviews>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="LMk-I5-4pc">
<rect key="frame" x="0.0" y="25.5" width="355" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vLv-vE-TyF">
<rect key="frame" x="0.0" y="0.0" width="10" height="20.5"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="10" id="2Cx-p5-tsV"/>
<constraint firstAttribute="height" relation="greaterThanOrEqual" constant="60" id="7py-uO-UoO"/>
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="103" id="tZc-si-eTr"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="VmG-9n-gQf">
<rect key="frame" x="15" y="0.0" width="340" height="20.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" - (Transfer Fees Included" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yBx-uC-79J">
<rect key="frame" x="0.0" y="0.0" width="340" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
</stackView> </stackView>
</subviews> </subviews>
</stackView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2vf-uc-jsQ">
<rect key="frame" x="0.0" y="156" width="355" height="70"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dQS-XD-HRg">
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="1JX-rD-AgB" firstAttribute="leading" secondItem="X5p-ul-G5u" secondAttribute="leading" constant="24" id="8k8-HP-9UE"/>
<constraint firstAttribute="bottom" secondItem="1JX-rD-AgB" secondAttribute="bottom" id="DTb-iT-WbL"/>
<constraint firstAttribute="trailing" secondItem="oqh-de-uwl" secondAttribute="trailing" constant="20" id="LCT-SU-DTb"/>
<constraint firstItem="oqh-de-uwl" firstAttribute="leading" secondItem="X5p-ul-G5u" secondAttribute="leading" constant="20" id="LzM-UI-LfM"/>
<constraint firstItem="oqh-de-uwl" firstAttribute="top" secondItem="X5p-ul-G5u" secondAttribute="top" id="Y1d-3F-alv"/>
<constraint firstAttribute="bottom" secondItem="oqh-de-uwl" secondAttribute="bottom" id="ifQ-9D-HZ9"/>
<constraint firstItem="1JX-rD-AgB" firstAttribute="top" secondItem="X5p-ul-G5u" secondAttribute="top" id="oqY-Tm-5ST"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7NX-i6-shM">
<rect key="frame" x="0.0" y="151" width="355" height="70"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="N2X-R4-0o1">
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="NPH-lh-qWs">
<rect key="frame" x="8" y="0.0" width="347" height="70"/> <rect key="frame" x="8" y="0.0" width="347" height="70"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="WUQ-5H-Jbs">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="CTh-Bh-q8P">
<rect key="frame" x="0.0" y="0.0" width="222" height="70"/> <rect key="frame" x="0.0" y="0.0" width="222" height="70"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="daY-gh-f5z">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w50-Zd-qH0">
<rect key="frame" x="0.0" y="0.0" width="222" height="6"/> <rect key="frame" x="0.0" y="0.0" width="222" height="6"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="6" id="vwh-h9-gcC"/>
<constraint firstAttribute="height" constant="6" id="t6Z-pZ-xMZ"/>
</constraints> </constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recepient Gets" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eU0-MF-CtY">
<rect key="frame" x="0.0" y="6" width="222" height="14"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recepient Gets" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="32Q-XR-KdD">
<rect key="frame" x="0.0" y="15.5" width="222" height="14.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="12"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="10,000,000" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="GQa-1w-7Uz" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="20" width="222" height="50"/>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="1,000,000" textAlignment="natural" minimumFontSize="12" clearButtonMode="whileEditing" translatesAutoresizingMaskIntoConstraints="NO" id="LPC-6S-Yvp" customClass="GMENumberTextField" customModule="GME_Remit" customModuleProvider="target">
<rect key="frame" x="0.0" y="30" width="222" height="40"/>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="50" id="PBJ-ZP-E9h"/>
<constraint firstAttribute="height" constant="40" id="m03-cw-aYz"/>
</constraints> </constraints>
<color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="textColor" red="0.92941176469999998" green="0.1137254902" blue="0.1960784314" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Semibold" family="San Francisco Display" pointSize="33"/>
@ -218,34 +239,34 @@
</textField> </textField>
</subviews> </subviews>
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="u3H-in-pKR">
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="7j1-gW-5kX">
<rect key="frame" x="222" y="0.0" width="125" height="70"/> <rect key="frame" x="222" y="0.0" width="125" height="70"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uw9-Za-23R">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="pZG-MS-ppS">
<rect key="frame" x="0.0" y="0.0" width="125" height="70"/> <rect key="frame" x="0.0" y="0.0" width="125" height="70"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="tjZ-9f-eMI">
<rect key="frame" x="6" y="22" width="113" height="26"/>
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="CKW-9d-1Ho">
<rect key="frame" x="7.5" y="22" width="110" height="26"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="PqL-FQ-Cs6">
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="oYc-fg-M6w">
<rect key="frame" x="0.0" y="0.0" width="26" height="26"/> <rect key="frame" x="0.0" y="0.0" width="26" height="26"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="26" id="J6i-cj-EAl"/>
<constraint firstAttribute="width" constant="26" id="Utr-Qh-FfP"/>
<constraint firstAttribute="width" constant="26" id="TQZ-Pw-4kz"/>
<constraint firstAttribute="height" constant="26" id="r6p-fT-1v1"/>
</constraints> </constraints>
</imageView> </imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MCZ-I5-c8K">
<rect key="frame" x="36" y="0.0" width="41" height="26"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="R7t-Q7-r4x">
<rect key="frame" x="36" y="0.0" width="38" height="26"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_dropdownSmall" translatesAutoresizingMaskIntoConstraints="NO" id="yse-tN-0lF">
<rect key="frame" x="87" y="0.0" width="26" height="26"/>
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_dropdownSmall" translatesAutoresizingMaskIntoConstraints="NO" id="r5K-bC-tQq">
<rect key="frame" x="84" y="0.0" width="26" height="26"/>
<color key="tintColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="tintColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="26" id="fUc-3j-NnB"/>
<constraint firstAttribute="height" constant="26" id="oDh-SV-kVo"/>
<constraint firstAttribute="width" constant="26" id="Wbg-dC-j4G"/>
<constraint firstAttribute="height" constant="26" id="nyV-Br-mzH"/>
</constraints> </constraints>
</imageView> </imageView>
</subviews> </subviews>
@ -254,14 +275,14 @@
<color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<gestureRecognizers/> <gestureRecognizers/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="125" id="0Ib-bM-u9L"/>
<constraint firstItem="tjZ-9f-eMI" firstAttribute="centerY" secondItem="uw9-Za-23R" secondAttribute="centerY" id="x7d-uB-pGx"/>
<constraint firstItem="tjZ-9f-eMI" firstAttribute="centerX" secondItem="uw9-Za-23R" secondAttribute="centerX" id="xXa-43-Fop"/>
<constraint firstItem="CKW-9d-1Ho" firstAttribute="centerX" secondItem="pZG-MS-ppS" secondAttribute="centerX" id="ahr-t8-KKZ"/>
<constraint firstAttribute="width" relation="lessThanOrEqual" priority="900" constant="125" id="sL0-84-uWp"/>
<constraint firstItem="CKW-9d-1Ho" firstAttribute="centerY" secondItem="pZG-MS-ppS" secondAttribute="centerY" id="uV9-qt-SJj"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstAttribute="width" constant="125" id="zGF-jK-LwA"/>
<constraint firstAttribute="width" constant="125" id="PJk-3L-x2r"/>
</constraints> </constraints>
</stackView> </stackView>
</subviews> </subviews>
@ -269,41 +290,33 @@
</subviews> </subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstItem="N2X-R4-0o1" firstAttribute="leading" secondItem="dQS-XD-HRg" secondAttribute="leading" constant="8" id="5cH-qm-J9W"/>
<constraint firstItem="N2X-R4-0o1" firstAttribute="top" secondItem="dQS-XD-HRg" secondAttribute="top" id="Iga-Mb-z9u"/>
<constraint firstAttribute="trailing" secondItem="N2X-R4-0o1" secondAttribute="trailing" id="rlz-Z6-jnE"/>
<constraint firstAttribute="bottom" secondItem="N2X-R4-0o1" secondAttribute="bottom" id="u6w-MB-dY4"/>
<constraint firstItem="NPH-lh-qWs" firstAttribute="top" secondItem="7NX-i6-shM" secondAttribute="top" id="UyZ-29-qD4"/>
<constraint firstAttribute="bottom" secondItem="NPH-lh-qWs" secondAttribute="bottom" id="XLZ-Uk-xh8"/>
<constraint firstAttribute="trailing" secondItem="NPH-lh-qWs" secondAttribute="trailing" id="pWY-sv-YUs"/>
<constraint firstItem="NPH-lh-qWs" firstAttribute="leading" secondItem="7NX-i6-shM" secondAttribute="leading" constant="8" id="t39-Uc-777"/>
</constraints> </constraints>
</view> </view>
</subviews> </subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="70" id="Gtb-gT-2sP"/>
<constraint firstAttribute="trailing" secondItem="X5p-ul-G5u" secondAttribute="trailing" id="5m8-ef-FJD"/>
<constraint firstItem="2Fv-6U-pgY" firstAttribute="top" secondItem="EbU-IJ-J7S" secondAttribute="top" id="BFs-Jr-2d2"/>
<constraint firstItem="YDR-WC-SiZ" firstAttribute="height" secondItem="pZG-MS-ppS" secondAttribute="height" id="Ee4-Yt-0FV"/>
<constraint firstItem="X5p-ul-G5u" firstAttribute="top" secondItem="2Fv-6U-pgY" secondAttribute="bottom" id="Mew-vs-kj9"/>
<constraint firstItem="7NX-i6-shM" firstAttribute="top" secondItem="X5p-ul-G5u" secondAttribute="bottom" id="RJG-dg-fRD"/>
<constraint firstAttribute="bottom" secondItem="7NX-i6-shM" secondAttribute="bottom" id="S6w-z1-FPb"/>
<constraint firstAttribute="trailing" secondItem="2Fv-6U-pgY" secondAttribute="trailing" id="S8R-AG-jdN"/>
<constraint firstAttribute="trailing" secondItem="7NX-i6-shM" secondAttribute="trailing" id="cq0-S4-St7"/>
<constraint firstItem="X5p-ul-G5u" firstAttribute="leading" secondItem="EbU-IJ-J7S" secondAttribute="leading" id="hCe-L7-Ye3"/>
<constraint firstItem="7NX-i6-shM" firstAttribute="leading" secondItem="EbU-IJ-J7S" secondAttribute="leading" id="n79-ao-WBe"/>
<constraint firstItem="2Fv-6U-pgY" firstAttribute="leading" secondItem="EbU-IJ-J7S" secondAttribute="leading" id="obl-CJ-Oha"/>
<constraint firstItem="pZG-MS-ppS" firstAttribute="width" secondItem="YDR-WC-SiZ" secondAttribute="width" id="pBE-ei-Yev"/>
</constraints> </constraints>
</stackView>
</view>
</subviews> </subviews>
</stackView> </stackView>
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mLq-cC-0T4">
<rect key="frame" x="87.5" y="407" 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="QvC-tl-7ln"/>
<constraint firstAttribute="width" constant="200" id="qyA-1P-YAH"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="18"/>
<state key="normal" title="Calculate">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<integer key="value" value="25"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="continueButton:" destination="SBO-Ku-vj1" eventType="touchUpInside" id="1Du-oy-LR1"/>
</connections>
</button>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="COc-yo-3SS"> <view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="COc-yo-3SS">
<rect key="frame" x="10" y="276" width="355" height="101"/>
<rect key="frame" x="10" y="271" width="355" height="101"/>
<subviews> <subviews>
<stackView opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="ct1-3d-Pcl"> <stackView opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="ct1-3d-Pcl">
<rect key="frame" x="0.0" y="0.0" width="355" height="101"/> <rect key="frame" x="0.0" y="0.0" width="355" height="101"/>
@ -393,13 +406,13 @@
<rect key="frame" x="0.0" y="0.0" width="206" height="50"/> <rect key="frame" x="0.0" y="0.0" width="206" height="50"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Applied Amount" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9ZA-HW-AyA"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Applied Amount" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9ZA-HW-AyA">
<rect key="frame" x="0.0" y="15" width="206" height="20"/>
<rect key="frame" x="0.0" y="15" width="206" height="20.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="17"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="17"/>
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Khd-5b-Meu"> <view opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Khd-5b-Meu">
<rect key="frame" x="0.0" y="30" width="206" height="5"/>
<rect key="frame" x="0.0" y="30.5" width="206" height="5"/>
<color key="backgroundColor" red="0.0" green="0.58980089430000004" blue="1" alpha="0.36601027397260272" colorSpace="custom" customColorSpace="sRGB"/> <color key="backgroundColor" red="0.0" green="0.58980089430000004" blue="1" alpha="0.36601027397260272" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="5" id="Mlb-jF-KYK"/> <constraint firstAttribute="height" constant="5" id="Mlb-jF-KYK"/>
@ -422,7 +435,7 @@
<color key="textColor" red="0.92941176470588238" green="0.11372549019607843" blue="0.19607843137254902" alpha="1" colorSpace="calibratedRGB"/> <color key="textColor" red="0.92941176470588238" green="0.11372549019607843" blue="0.19607843137254902" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lef-GG-PkG">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="KRW" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="lef-GG-PkG">
<rect key="frame" x="305" y="0.0" width="34" height="50"/> <rect key="frame" x="305" y="0.0" width="34" height="50"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="34" id="hFR-P9-sTw"/> <constraint firstAttribute="width" constant="34" id="hFR-P9-sTw"/>
@ -457,16 +470,31 @@
<constraint firstItem="ct1-3d-Pcl" firstAttribute="leading" secondItem="COc-yo-3SS" secondAttribute="leading" id="yqM-uj-YUL"/> <constraint firstItem="ct1-3d-Pcl" firstAttribute="leading" secondItem="COc-yo-3SS" secondAttribute="leading" id="yqM-uj-YUL"/>
</constraints> </constraints>
</view> </view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Y2T-0J-Buu">
<rect key="frame" x="10" y="402" width="355" height="50"/>
<color key="backgroundColor" red="0.92941176469999998" green="0.1058823529" blue="0.14117647059999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="9As-6t-adO"/>
</constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="18"/>
<state key="normal" title="Calculate">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="continueButton:" destination="SBO-Ku-vj1" eventType="touchUpInside" id="e7m-v7-HME"/>
</connections>
</button>
</subviews> </subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints> <constraints>
<constraint firstItem="Y2T-0J-Buu" firstAttribute="leading" secondItem="pmz-vD-vwK" secondAttribute="leading" constant="10" id="0Rw-Bf-kaf"/>
<constraint firstAttribute="trailing" secondItem="COc-yo-3SS" secondAttribute="trailing" constant="10" id="1x6-c4-MhG"/> <constraint firstAttribute="trailing" secondItem="COc-yo-3SS" secondAttribute="trailing" constant="10" id="1x6-c4-MhG"/>
<constraint firstItem="COc-yo-3SS" firstAttribute="top" secondItem="sHP-5O-mqU" secondAttribute="bottom" constant="30" id="3Eh-vx-Iip"/> <constraint firstItem="COc-yo-3SS" firstAttribute="top" secondItem="sHP-5O-mqU" secondAttribute="bottom" constant="30" id="3Eh-vx-Iip"/>
<constraint firstAttribute="bottom" secondItem="mLq-cC-0T4" secondAttribute="bottom" constant="30" id="EBb-OG-ODp"/>
<constraint firstItem="mLq-cC-0T4" firstAttribute="top" secondItem="COc-yo-3SS" secondAttribute="bottom" constant="30" id="Gsg-Yo-8fe"/>
<constraint firstItem="mLq-cC-0T4" firstAttribute="centerX" secondItem="pmz-vD-vwK" secondAttribute="centerX" id="ZDJ-Ay-vfI"/>
<constraint firstAttribute="trailing" secondItem="Y2T-0J-Buu" secondAttribute="trailing" constant="10" id="SGR-tC-4hJ"/>
<constraint firstItem="sHP-5O-mqU" firstAttribute="top" secondItem="pmz-vD-vwK" secondAttribute="top" constant="20" id="fhw-gw-LEG"/> <constraint firstItem="sHP-5O-mqU" firstAttribute="top" secondItem="pmz-vD-vwK" secondAttribute="top" constant="20" id="fhw-gw-LEG"/>
<constraint firstAttribute="trailing" secondItem="sHP-5O-mqU" secondAttribute="trailing" constant="10" id="jiN-fq-3fT"/> <constraint firstAttribute="trailing" secondItem="sHP-5O-mqU" secondAttribute="trailing" constant="10" id="jiN-fq-3fT"/>
<constraint firstItem="Y2T-0J-Buu" firstAttribute="top" secondItem="COc-yo-3SS" secondAttribute="bottom" constant="30" id="lBA-TI-oKy"/>
<constraint firstAttribute="bottom" secondItem="Y2T-0J-Buu" secondAttribute="bottom" constant="30" id="pcw-mS-jeT"/>
<constraint firstItem="sHP-5O-mqU" firstAttribute="leading" secondItem="pmz-vD-vwK" secondAttribute="leading" constant="10" id="q6O-Xy-oLm"/> <constraint firstItem="sHP-5O-mqU" firstAttribute="leading" secondItem="pmz-vD-vwK" secondAttribute="leading" constant="10" id="q6O-Xy-oLm"/>
<constraint firstItem="COc-yo-3SS" firstAttribute="leading" secondItem="pmz-vD-vwK" secondAttribute="leading" constant="10" id="qVW-ho-KZP"/> <constraint firstItem="COc-yo-3SS" firstAttribute="leading" secondItem="pmz-vD-vwK" secondAttribute="leading" constant="10" id="qVW-ho-KZP"/>
</constraints> </constraints>
@ -492,29 +520,31 @@
<viewLayoutGuide key="safeArea" id="N0v-fL-JiI"/> <viewLayoutGuide key="safeArea" id="N0v-fL-JiI"/>
</view> </view>
<connections> <connections>
<outlet property="backgroundViewCountryLabel1" destination="K75-46-fqN" id="WuC-I1-HAt"/>
<outlet property="backgroundViewCountryLabel2" destination="uw9-Za-23R" id="vB5-8I-PvT"/>
<outlet property="continueButton" destination="mLq-cC-0T4" id="rcT-fX-v51"/>
<outlet property="countryCodeLabel" destination="MCZ-I5-c8K" id="Lf6-aG-UUl"/>
<outlet property="countryFlagImage" destination="PqL-FQ-Cs6" id="LvX-6S-o7D"/>
<outlet property="countryListStackView" destination="u3H-in-pKR" id="kMd-lB-6PM"/>
<outlet property="backgroundViewCountryLabel1" destination="YDR-WC-SiZ" id="tEp-4Z-V56"/>
<outlet property="backgroundViewCountryLabel2" destination="pZG-MS-ppS" id="oJv-JA-4Df"/>
<outlet property="calculatedInfoView" destination="X5p-ul-G5u" id="uGz-uV-yDk"/>
<outlet property="continueButton" destination="Y2T-0J-Buu" id="JAp-jW-eIU"/>
<outlet property="countryCodeLabel" destination="R7t-Q7-r4x" id="lV4-Z2-d7p"/>
<outlet property="countryFlagImage" destination="oYc-fg-M6w" id="1Go-nm-Bs8"/>
<outlet property="countryListStackView" destination="7j1-gW-5kX" id="Qyb-3I-XsK"/>
<outlet property="couponBackgroundView" destination="COc-yo-3SS" id="eLT-7S-aaY"/> <outlet property="couponBackgroundView" destination="COc-yo-3SS" id="eLT-7S-aaY"/>
<outlet property="couponDropDownImageView" destination="PAF-NC-ewP" id="OeH-gh-UWL"/> <outlet property="couponDropDownImageView" destination="PAF-NC-ewP" id="OeH-gh-UWL"/>
<outlet property="couponNameLabel" destination="Z5y-QS-qrM" id="Wyw-we-ozx"/> <outlet property="couponNameLabel" destination="Z5y-QS-qrM" id="Wyw-we-ozx"/>
<outlet property="couponNameTitleLabel" destination="x86-f6-MH2" id="1KR-h8-mwm"/> <outlet property="couponNameTitleLabel" destination="x86-f6-MH2" id="1KR-h8-mwm"/>
<outlet property="dropDownImageView" destination="yse-tN-0lF" id="lrF-Tb-pcr"/>
<outlet property="exchangeBackground1" destination="NIQ-jY-bKH" id="ZEi-Ow-x8E"/>
<outlet property="exchangeBackground2" destination="dQS-XD-HRg" id="nlh-z0-BDR"/>
<outlet property="exchangeInfoStackView" destination="jwn-As-sSE" id="4TM-jZ-7V6"/>
<outlet property="exchangeRateLabel" destination="yBx-uC-79J" id="UvZ-cd-2nJ"/>
<outlet property="dropDownImageView" destination="r5K-bC-tQq" id="LMp-2z-MKd"/>
<outlet property="exchangeBackground1" destination="2Fv-6U-pgY" id="CvG-JR-WZr"/>
<outlet property="exchangeBackground2" destination="7NX-i6-shM" id="C4Q-Qj-ejS"/>
<outlet property="exchangeRateLabel" destination="07v-Ad-HmD" id="N3v-wK-b4o"/>
<outlet property="exchangeRateView" destination="CZk-kM-DNf" id="o3D-eU-9QH"/>
<outlet property="realSenderLabel" destination="AKo-3T-zDY" id="HP0-AU-ueY"/> <outlet property="realSenderLabel" destination="AKo-3T-zDY" id="HP0-AU-ueY"/>
<outlet property="realSenderTitleLabel" destination="9ZA-HW-AyA" id="0Ml-RI-lQN"/> <outlet property="realSenderTitleLabel" destination="9ZA-HW-AyA" id="0Ml-RI-lQN"/>
<outlet property="realSenderView" destination="9yG-nm-XCw" id="qYz-a6-jkT"/> <outlet property="realSenderView" destination="9yG-nm-XCw" id="qYz-a6-jkT"/>
<outlet property="reciepientTextField" destination="GQa-1w-7Uz" id="VB6-ha-GxL"/>
<outlet property="recipientGetsTitleLabel" destination="eU0-MF-CtY" id="fn6-Rp-5rs"/>
<outlet property="senderTextField" destination="bIP-Bh-GBC" id="7gw-Te-FZg"/>
<outlet property="transferFeeInfoLabel" destination="2Q2-by-cBq" id="vbO-l1-saO"/>
<outlet property="youSendTitleLabel" destination="E5A-KR-KWl" id="Hed-XS-Uo2"/>
<outlet property="reciepientTextField" destination="LPC-6S-Yvp" id="CTz-cp-Vyv"/>
<outlet property="recipientGetsTitleLabel" destination="32Q-XR-KdD" id="RhW-HR-T2N"/>
<outlet property="senderTextField" destination="CYa-0a-YDa" id="GBB-SQ-1v2"/>
<outlet property="serviceChargeView" destination="p1h-Zb-zDy" id="dnN-En-8Ez"/>
<outlet property="transferFeeInfoLabel" destination="naa-Zl-R4a" id="zuq-vu-a37"/>
<outlet property="youSendTitleLabel" destination="Kln-bl-4Dt" id="cz1-A8-WmL"/>
</connections> </connections>
</viewController> </viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="NtY-m3-JdG" userLabel="First Responder" sceneMemberID="firstResponder"/> <placeholder placeholderIdentifier="IBFirstResponder" id="NtY-m3-JdG" userLabel="First Responder" sceneMemberID="firstResponder"/>

94
GME Remit/Modules/SendMoneyModules/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRateViewController.swift

@ -46,7 +46,6 @@ class SendMoneyExchangeRateViewController: UIViewController {
@IBOutlet private weak var transferFeeInfoLabel: UILabel! @IBOutlet private weak var transferFeeInfoLabel: UILabel!
@IBOutlet private weak var exchangeRateLabel: UILabel! @IBOutlet private weak var exchangeRateLabel: UILabel!
@IBOutlet private weak var exchangeInfoStackView: UIStackView!
@IBOutlet private weak var youSendTitleLabel: UILabel! @IBOutlet private weak var youSendTitleLabel: UILabel!
@IBOutlet private weak var recipientGetsTitleLabel: UILabel! @IBOutlet private weak var recipientGetsTitleLabel: UILabel!
@ -59,6 +58,10 @@ class SendMoneyExchangeRateViewController: UIViewController {
@IBOutlet private weak var realSenderTitleLabel: UILabel! @IBOutlet private weak var realSenderTitleLabel: UILabel!
@IBOutlet private weak var realSenderLabel: UILabel! @IBOutlet private weak var realSenderLabel: UILabel!
@IBOutlet weak var calculatedInfoView: UIView!
@IBOutlet weak var serviceChargeView: UIStackView!
@IBOutlet weak var exchangeRateView: UIStackView!
// MARK: Properties // MARK: Properties
var presenter: SendMoneyExchangeRateModuleInterface? var presenter: SendMoneyExchangeRateModuleInterface?
var requestModel: SendMoneyRequestModel? var requestModel: SendMoneyRequestModel?
@ -89,41 +92,32 @@ class SendMoneyExchangeRateViewController: UIViewController {
private var exchangeRateModel: SendMoneyExchangeRateModel? { private var exchangeRateModel: SendMoneyExchangeRateModel? {
didSet { didSet {
guard let model = exchangeRateModel else {
self.showExchangeRateInfomation(isHidden: true)
return
}
reciepientTextField.text = Utility.getCommaSeperatedStringWithDecimal( reciepientTextField.text = Utility.getCommaSeperatedStringWithDecimal(
numberString: exchangeRateModel?.recipientAmount ?? ""
numberString: model.recipientAmount ?? ""
) )
senderTextField.text = Utility.getCommaSeperatedStringWithDecimal( senderTextField.text = Utility.getCommaSeperatedStringWithDecimal(
numberString: exchangeRateModel?.senderAmount ?? ""
numberString: model.senderAmount ?? ""
) )
let serviceCharge = exchangeRateModel?.transferFee?.likeCommaMoney() ??
exchangeRateModel?.transferFee ??
let serviceCharge = model.transferFee?.likeCommaMoney() ??
model.transferFee ??
"0.00" "0.00"
let transferFee = serviceCharge != "0.00" ? "-\(serviceCharge)" : "\(serviceCharge)" let transferFee = serviceCharge != "0.00" ? "-\(serviceCharge)" : "\(serviceCharge)"
transferFeeInfoLabel.text = "\(transferFee) (\("transfer_fee_included_text".localized()))" transferFeeInfoLabel.text = "\(transferFee) (\("transfer_fee_included_text".localized()))"
exchangeRateLabel.text = exchangeRateLabel.text =
"\(exchangeRateModel?.exchangeRate ?? "") (\("current_exchange_rate_text".localized()))"
"\(model.exchangeRate ?? "") (\("current_exchange_rate_text".localized()))"
setCoupon()
self.showExchangeRateInfomation(isHidden: false)
UIView.animate(withDuration: 0.33) {[weak self] in
guard let `self` = self else {
return
}
self.transferFeeInfoLabel.isHidden = false
self.exchangeRateLabel.isHidden = false
self.exchangeInfoStackView.isHidden = false
self.transferFeeInfoLabel.alpha = 1
self.exchangeRateLabel.alpha = 1
self.exchangeInfoStackView.alpha = 1
self.couponBackgroundView.isHidden = false
self.couponBackgroundView.alpha = 1
}
setCoupon()
action = .continue action = .continue
} }
@ -173,6 +167,9 @@ class SendMoneyExchangeRateViewController: UIViewController {
senderTextField.receiverNativeCountry = reciepient?.countryCode ?? "" senderTextField.receiverNativeCountry = reciepient?.countryCode ?? ""
reciepientTextField.receiverNativeCountry = reciepient?.countryCode ?? "" reciepientTextField.receiverNativeCountry = reciepient?.countryCode ?? ""
if senderTextField.text != "" || reciepientTextField.text != "" {
calculate()
}
} }
override func viewDidAppear(_ animated: Bool) { override func viewDidAppear(_ animated: Bool) {
@ -214,6 +211,50 @@ class SendMoneyExchangeRateViewController: UIViewController {
} }
configureLanguage() configureLanguage()
continueButton.layer.cornerRadius = 10
continueButton.backgroundColor = .themeRed
continueButton.titleLabel?.font = .sanfrancisco(.medium, size: 18)
}
private func showExchangeRateInfomation(isHidden flag: Bool) {
calculatedInfoView.isHidden = flag
calculatedInfoView.alpha = flag ? 0.0 : 1.0
if !flag {
self.serviceChargeView.isHidden = false
self.exchangeRateView.isHidden = false
self.couponBackgroundView.isHidden = false
let animator = UIViewPropertyAnimator(duration: 0.5, curve: .easeIn) {
self.serviceChargeView.alpha = 1.0
}
animator.addCompletion { _ in
let subAnimator = UIViewPropertyAnimator(duration: 0.5, curve: .easeIn) {
self.exchangeRateView.alpha = 1.0
}
subAnimator.addCompletion { _ in
let subSubAnimator = UIViewPropertyAnimator(duration: 0.5, curve: .easeIn) {
self.couponBackgroundView.alpha = 1.0
}
subSubAnimator.startAnimation()
}
subAnimator.startAnimation()
}
animator.startAnimation()
} else {
serviceChargeView.isHidden = true
serviceChargeView.alpha = 0.0
exchangeRateView.isHidden = true
exchangeRateView.alpha = 0.0
couponBackgroundView.isHidden = true
couponBackgroundView.alpha = 0.0
}
} }
private func configureLanguage() { private func configureLanguage() {
@ -258,13 +299,7 @@ class SendMoneyExchangeRateViewController: UIViewController {
private func configureViews() { private func configureViews() {
exchangeRateModel = nil exchangeRateModel = nil
exchangeRateLabel.isHidden = true
exchangeRateLabel.alpha = 0
transferFeeInfoLabel.isHidden = true
transferFeeInfoLabel.alpha = 0
exchangeInfoStackView.isHidden = true
exchangeInfoStackView.alpha = 0
let dropDownImage = #imageLiteral(resourceName: "dropdown_white").withRenderingMode(UIImage.RenderingMode.alwaysTemplate) let dropDownImage = #imageLiteral(resourceName: "dropdown_white").withRenderingMode(UIImage.RenderingMode.alwaysTemplate)
let image = dropDownImage let image = dropDownImage
@ -416,6 +451,7 @@ extension SendMoneyExchangeRateViewController: SendMoneyExchangeRateViewInterfac
} }
func show(error: String) { func show(error: String) {
showExchangeRateInfomation(isHidden: true)
alert(type: .error, message: error) alert(type: .error, message: error)
} }

37
GME Remit/Modules/SendMoneyModules/SendMoneyVerification/User Interface/View/SendMoneyVerification.storyboard

@ -481,11 +481,11 @@
</tableViewSection> </tableViewSection>
<tableViewSection id="vyS-RZ-Ial"> <tableViewSection id="vyS-RZ-Ial">
<cells> <cells>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="164" id="k3W-d2-6CE">
<rect key="frame" x="0.0" y="405" width="375" height="164"/>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" rowHeight="180" id="k3W-d2-6CE">
<rect key="frame" x="0.0" y="405" width="375" height="180"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="k3W-d2-6CE" id="YgP-8M-2Bx"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="k3W-d2-6CE" id="YgP-8M-2Bx">
<rect key="frame" x="0.0" y="0.0" width="375" height="164"/>
<rect key="frame" x="0.0" y="0.0" width="375" height="180"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="QPQ-CD-dbK"> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="QPQ-CD-dbK">
@ -515,33 +515,28 @@
</button> </button>
</subviews> </subviews>
</stackView> </stackView>
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aK1-qf-WzM">
<rect key="frame" x="87.5" y="91" width="200" height="50"/>
<color key="backgroundColor" red="0.92941176469999998" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xqI-8I-x6g">
<rect key="frame" x="10" y="101" width="355" height="50"/>
<color key="backgroundColor" red="0.92941176469999998" green="0.1058823529" blue="0.14117647059999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints> <constraints>
<constraint firstAttribute="height" constant="50" id="JGe-cn-QAS"/>
<constraint firstAttribute="width" constant="200" id="c7O-3e-7sV"/>
<constraint firstAttribute="height" constant="50" id="iBW-jF-gkN"/>
</constraints> </constraints>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="18"/>
<state key="normal" title="Agree And Send">
<color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
<fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
<state key="normal" title="Button">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state> </state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<integer key="value" value="25"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections> <connections>
<action selector="submit:" destination="z1L-xE-OXS" eventType="touchUpInside" id="lwC-LB-z0t"/>
<action selector="submit:" destination="z1L-xE-OXS" eventType="touchUpInside" id="FFJ-XW-ktg"/>
</connections> </connections>
</button> </button>
</subviews> </subviews>
<constraints> <constraints>
<constraint firstItem="xqI-8I-x6g" firstAttribute="top" secondItem="QPQ-CD-dbK" secondAttribute="bottom" constant="30" id="ALy-FR-GbX"/>
<constraint firstItem="QPQ-CD-dbK" firstAttribute="centerX" secondItem="YgP-8M-2Bx" secondAttribute="centerX" id="CZq-yH-kW6"/> <constraint firstItem="QPQ-CD-dbK" firstAttribute="centerX" secondItem="YgP-8M-2Bx" secondAttribute="centerX" id="CZq-yH-kW6"/>
<constraint firstAttribute="trailing" secondItem="xqI-8I-x6g" secondAttribute="trailing" constant="10" id="JMI-ZI-bLV"/>
<constraint firstAttribute="bottom" secondItem="xqI-8I-x6g" secondAttribute="bottom" constant="29" id="Ob1-0g-z4k"/>
<constraint firstItem="QPQ-CD-dbK" firstAttribute="top" secondItem="YgP-8M-2Bx" secondAttribute="top" constant="15" id="bfB-48-2qZ"/> <constraint firstItem="QPQ-CD-dbK" firstAttribute="top" secondItem="YgP-8M-2Bx" secondAttribute="top" constant="15" id="bfB-48-2qZ"/>
<constraint firstAttribute="bottom" secondItem="aK1-qf-WzM" secondAttribute="bottom" constant="23" id="eus-Cd-K6I"/>
<constraint firstItem="aK1-qf-WzM" firstAttribute="centerX" secondItem="YgP-8M-2Bx" secondAttribute="centerX" id="lrd-S2-Jpv"/>
<constraint firstItem="aK1-qf-WzM" firstAttribute="top" secondItem="jdB-M7-bxd" secondAttribute="bottom" constant="20" id="pmo-gd-Tfn"/>
<constraint firstItem="xqI-8I-x6g" firstAttribute="leading" secondItem="YgP-8M-2Bx" secondAttribute="leading" constant="10" id="huB-3l-5Fh"/>
</constraints> </constraints>
</tableViewCellContentView> </tableViewCellContentView>
</tableViewCell> </tableViewCell>
@ -559,7 +554,7 @@
<outlet property="accountNumberStackView" destination="E7Y-bp-5jS" id="SDb-ID-9XP"/> <outlet property="accountNumberStackView" destination="E7Y-bp-5jS" id="SDb-ID-9XP"/>
<outlet property="addressLabel" destination="dnn-3y-Ufq" id="d1u-dz-rVd"/> <outlet property="addressLabel" destination="dnn-3y-Ufq" id="d1u-dz-rVd"/>
<outlet property="addressTitleLabel" destination="NCN-8W-JTM" id="fMF-wD-HPW"/> <outlet property="addressTitleLabel" destination="NCN-8W-JTM" id="fMF-wD-HPW"/>
<outlet property="agreeAndSendButton" destination="aK1-qf-WzM" id="5qv-xw-xJd"/>
<outlet property="agreeAndSendButton" destination="xqI-8I-x6g" id="M2m-pj-0io"/>
<outlet property="bankNameStackView" destination="rk2-Ky-8dn" id="eJV-JZ-udP"/> <outlet property="bankNameStackView" destination="rk2-Ky-8dn" id="eJV-JZ-udP"/>
<outlet property="countryLabel" destination="lSX-Wi-zqi" id="xlG-vf-NWi"/> <outlet property="countryLabel" destination="lSX-Wi-zqi" id="xlG-vf-NWi"/>
<outlet property="countryTitleLabel" destination="bZM-e8-AXb" id="eFL-V8-DjN"/> <outlet property="countryTitleLabel" destination="bZM-e8-AXb" id="eFL-V8-DjN"/>

4
GME Remit/Modules/SendMoneyModules/SendMoneyVerification/User Interface/View/SendMoneyVerificationViewController.swift

@ -135,6 +135,10 @@ class SendMoneyVerificationViewController: UITableViewController {
private func setup() { private func setup() {
configureLanguage() configureLanguage()
agreeAndSendButton.layer.cornerRadius = 10
agreeAndSendButton.backgroundColor = .themeRed
agreeAndSendButton.titleLabel?.font = .sanfrancisco(.medium, size: 18)
} }
private func configureLanguage() { private func configureLanguage() {

Loading…
Cancel
Save