Browse Source

send money exchange rate strinc managed

pull/1/head
gme_2 6 years ago
parent
commit
6deb133a37
  1. 6
      GMERemittance/Module/SendMoney/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRate.storyboard
  2. 15
      GMERemittance/Module/SendMoney/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRateViewController.swift

6
GMERemittance/Module/SendMoney/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRate.storyboard

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
<device id="retina4_7" orientation="portrait">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14460.20"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
@ -344,8 +344,10 @@
<outlet property="exchangeInfoStackView" destination="jwn-As-sSE" id="4TM-jZ-7V6"/>
<outlet property="exchangeRateLabel" destination="yBx-uC-79J" id="UvZ-cd-2nJ"/>
<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"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="NtY-m3-JdG" userLabel="First Responder" sceneMemberID="firstResponder"/>

15
GMERemittance/Module/SendMoney/SendMoneyExchangeRate/User Interface/View/SendMoneyExchangeRateViewController.swift

@ -20,6 +20,12 @@ class SendMoneyExchangeRateViewController: UIViewController {
case _continue
}
struct StringConstants {
static let youSendText = "You Send"
static let reciepientGetsText = "Recepient Gets"
static let calculateText = "Calculate"
}
// MARK: IBOutlets
@IBOutlet weak var exchangeBackground1: UIView!
@ -40,6 +46,8 @@ class SendMoneyExchangeRateViewController: UIViewController {
@IBOutlet weak var exchangeRateLabel: UILabel!
@IBOutlet weak var exchangeInfoStackView: UIStackView!
@IBOutlet weak var youSendTitleLabel: UILabel!
@IBOutlet weak var recipientGetsTitleLabel: UILabel!
var countryListTapGuesture: UITapGestureRecognizer?
@ -197,6 +205,13 @@ class SendMoneyExchangeRateViewController: UIViewController {
$0?.layer.borderColor = UIColor.init(hex: "#E0E0E0").cgColor
$0?.layer.cornerRadius = 5
})
configureLanguage()
}
private func configureLanguage() {
self.youSendTitleLabel.text = StringConstants.youSendText
self.recipientGetsTitleLabel.text = StringConstants.reciepientGetsText
self.continueButton.setTitle(StringConstants.calculateText, for: .normal)
}
private func setCountryFlag(countryCode: String) {

Loading…
Cancel
Save