gme_2
6 years ago
12 changed files with 714 additions and 0 deletions
-
124GME Remit.xcodeproj/project.pbxproj
-
31GMERemittance/Module/ResendExchange/Application Logic/Interactor/ResendExchangeInteractor.swift
-
15GMERemittance/Module/ResendExchange/Application Logic/Interactor/ResendExchangeInteractorIO.swift
-
18GMERemittance/Module/ResendExchange/Application Logic/Service/ResendExchangeService.swift
-
13GMERemittance/Module/ResendExchange/Application Logic/Service/ResendExchangeServiceType.swift
-
11GMERemittance/Module/ResendExchange/Module Interface/ResendExchangeModuleInterface.swift
-
32GMERemittance/Module/ResendExchange/User Interface/Presenter/ResendExchangePresenter.swift
-
372GMERemittance/Module/ResendExchange/User Interface/View/ResendExchange.storyboard
-
41GMERemittance/Module/ResendExchange/User Interface/View/ResendExchangeViewController.swift
-
10GMERemittance/Module/ResendExchange/User Interface/View/ResendExchangeViewInterface.swift
-
34GMERemittance/Module/ResendExchange/User Interface/Wireframe/ResendExchangeWireframe.swift
-
13GMERemittance/Module/ResendExchange/User Interface/Wireframe/ResendExchangeWireframeInput.swift
@ -0,0 +1,31 @@ |
|||
// |
|||
// ResendExchangeInteractor.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
class ResendExchangeInteractor { |
|||
|
|||
// MARK: Properties |
|||
|
|||
weak var output: ResendExchangeInteractorOutput? |
|||
private let service: ResendExchangeServiceType |
|||
|
|||
// MARK: Initialization |
|||
|
|||
init(service: ResendExchangeServiceType) { |
|||
self.service = service |
|||
} |
|||
|
|||
// MARK: Converting entities |
|||
} |
|||
|
|||
// MARK: ResendExchange interactor input interface |
|||
|
|||
extension ResendExchangeInteractor: ResendExchangeInteractorInput { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
// |
|||
// ResendExchangeInteractorIO.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
protocol ResendExchangeInteractorInput: class { |
|||
|
|||
} |
|||
|
|||
protocol ResendExchangeInteractorOutput: class { |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
// |
|||
// ResendExchangeService.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
class ResendExchangeService: ResendExchangeServiceType { |
|||
|
|||
// MARK: Properties |
|||
|
|||
// MARK: Initialization |
|||
|
|||
// MARK: Data management |
|||
} |
@ -0,0 +1,13 @@ |
|||
// |
|||
// ResendExchangeServiceType.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
protocol ResendExchangeServiceType: class { |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
// |
|||
// ResendExchangeModuleInterface.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
protocol ResendExchangeModuleInterface: class { |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
// |
|||
// ResendExchangePresenter.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
class ResendExchangePresenter { |
|||
|
|||
// MARK: Properties |
|||
|
|||
weak var view: ResendExchangeViewInterface? |
|||
var interactor: ResendExchangeInteractorInput? |
|||
var wireframe: ResendExchangeWireframeInput? |
|||
|
|||
// MARK: Converting entities |
|||
} |
|||
|
|||
// MARK: ResendExchange module interface |
|||
|
|||
extension ResendExchangePresenter: ResendExchangeModuleInterface { |
|||
|
|||
} |
|||
|
|||
// MARK: ResendExchange interactor output interface |
|||
|
|||
extension ResendExchangePresenter: ResendExchangeInteractorOutput { |
|||
|
|||
} |
@ -0,0 +1,372 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14460.31" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> |
|||
<device id="retina4_7" orientation="portrait"> |
|||
<adaptation id="fullscreen"/> |
|||
</device> |
|||
<dependencies> |
|||
<deployment identifier="iOS"/> |
|||
<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> |
|||
<customFonts key="customFonts"> |
|||
<array key="SanFranciscoDisplay-Bold.otf"> |
|||
<string>SanFranciscoDisplay-Bold</string> |
|||
</array> |
|||
<array key="SanFranciscoDisplay-Regular.otf"> |
|||
<string>SanFranciscoDisplay-Regular</string> |
|||
</array> |
|||
<array key="SanFranciscoDisplay-Semibold.otf"> |
|||
<string>SanFranciscoDisplay-Semibold</string> |
|||
</array> |
|||
</customFonts> |
|||
<scenes> |
|||
<!--Resend Exchange View Controller--> |
|||
<scene sceneID="SMX-ZZ-P09"> |
|||
<objects> |
|||
<viewController storyboardIdentifier="ResendExchangeViewController" id="ipk-bU-HJJ" customClass="ResendExchangeViewController" customModule="GME_Remit" customModuleProvider="target" sceneMemberID="viewController"> |
|||
<view key="view" contentMode="scaleToFill" id="bAP-qa-4a0"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
|||
<subviews> |
|||
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" keyboardDismissMode="onDrag" translatesAutoresizingMaskIntoConstraints="NO" id="UOX-Rk-d2G"> |
|||
<rect key="frame" x="0.0" y="64" width="375" height="603"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ORT-Zx-YgH"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="20" translatesAutoresizingMaskIntoConstraints="NO" id="0dp-2J-x5o"> |
|||
<rect key="frame" x="10" y="20" width="355" height="226"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="QGT-uB-WH5"> |
|||
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dAt-Rq-Gck"> |
|||
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="S5s-oa-wDv"> |
|||
<rect key="frame" x="8" y="0.0" width="347" height="70"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="DKF-dM-GNV"> |
|||
<rect key="frame" x="0.0" y="0.0" width="222" height="70"/> |
|||
<subviews> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="05G-VD-aSJ"> |
|||
<rect key="frame" x="0.0" y="0.0" width="222" height="6"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="6" id="SXi-GB-bCQ"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" type="system" pointSize="17"/> |
|||
<nil key="textColor"/> |
|||
<nil key="highlightedColor"/> |
|||
</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="cUO-HA-FGN"> |
|||
<rect key="frame" x="0.0" y="6" width="222" height="14"/> |
|||
<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> |
|||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="10,000,000" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="RrL-Ia-5PK"> |
|||
<rect key="frame" x="0.0" y="20" width="222" height="50"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="50" id="w3x-rA-gte"/> |
|||
</constraints> |
|||
<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"/> |
|||
<textInputTraits key="textInputTraits" keyboardType="decimalPad"/> |
|||
</textField> |
|||
</subviews> |
|||
</stackView> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YmT-Dq-eHM"> |
|||
<rect key="frame" x="222" y="0.0" width="125" height="70"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="3QA-ou-Zac"> |
|||
<rect key="frame" x="25.5" y="22" width="74" height="26"/> |
|||
<subviews> |
|||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="vZD-fe-l60"> |
|||
<rect key="frame" x="0.0" y="0.0" width="26" height="26"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="26" id="pcX-b5-a5b"/> |
|||
<constraint firstAttribute="height" constant="26" id="zLT-Gu-MXx"/> |
|||
</constraints> |
|||
</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="fWD-kn-5nM"> |
|||
<rect key="frame" x="36" y="0.0" width="38" height="26"/> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/> |
|||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
</subviews> |
|||
</stackView> |
|||
</subviews> |
|||
<color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="125" id="0Bb-Sn-ij1"/> |
|||
<constraint firstItem="3QA-ou-Zac" firstAttribute="centerX" secondItem="YmT-Dq-eHM" secondAttribute="centerX" id="9ab-PX-Wvx"/> |
|||
<constraint firstItem="3QA-ou-Zac" firstAttribute="centerY" secondItem="YmT-Dq-eHM" secondAttribute="centerY" id="zht-Al-MpX"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
</stackView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="S5s-oa-wDv" firstAttribute="leading" secondItem="dAt-Rq-Gck" secondAttribute="leading" constant="8" id="IeD-Oe-4eK"/> |
|||
<constraint firstAttribute="trailing" secondItem="S5s-oa-wDv" secondAttribute="trailing" id="Ngf-uj-axX"/> |
|||
<constraint firstItem="S5s-oa-wDv" firstAttribute="top" secondItem="dAt-Rq-Gck" secondAttribute="top" id="Q3Y-YN-ACx"/> |
|||
<constraint firstAttribute="bottom" secondItem="S5s-oa-wDv" secondAttribute="bottom" id="nqY-jx-pm2"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="70" id="7bz-Ac-p8S"/> |
|||
</constraints> |
|||
</stackView> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="AFY-c1-G3T"> |
|||
<rect key="frame" x="0.0" y="90" width="355" height="46"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gUz-OR-U8R"> |
|||
<rect key="frame" x="0.0" y="0.0" 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="p6j-Bv-gbe"> |
|||
<rect key="frame" x="0.0" y="0.0" width="10" height="20.5"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="10" id="CDs-Lk-Zzo"/> |
|||
</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="ZOr-JN-fja"> |
|||
<rect key="frame" x="10" y="0.0" width="345" 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="PoS-xP-r27"> |
|||
<rect key="frame" x="0.0" y="0.0" width="345" 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> |
|||
</subviews> |
|||
</stackView> |
|||
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="shr-2X-JiH"> |
|||
<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="Djh-8V-b3T"> |
|||
<rect key="frame" x="0.0" y="0.0" width="10" height="20.5"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="10" id="6da-cM-UmC"/> |
|||
</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="2Bk-Q8-XyZ"> |
|||
<rect key="frame" x="10" y="0.0" width="345" 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="Lpd-5g-qAX"> |
|||
<rect key="frame" x="0.0" y="0.0" width="345" 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> |
|||
</subviews> |
|||
</stackView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
</stackView> |
|||
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="txz-Z2-j95"> |
|||
<rect key="frame" x="0.0" y="156" width="355" height="70"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gsA-E3-L0L"> |
|||
<rect key="frame" x="0.0" y="0.0" width="355" height="70"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CEP-Tt-tXC"> |
|||
<rect key="frame" x="8" y="0.0" width="347" height="70"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="equalCentering" translatesAutoresizingMaskIntoConstraints="NO" id="3gg-1Z-NH4"> |
|||
<rect key="frame" x="0.0" y="0.0" width="222" height="70"/> |
|||
<subviews> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" " textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vH0-7i-K9L"> |
|||
<rect key="frame" x="0.0" y="0.0" width="222" height="6"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="6" id="140-1X-yk5"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" type="system" pointSize="17"/> |
|||
<nil key="textColor"/> |
|||
<nil key="highlightedColor"/> |
|||
</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="D6K-jA-ARY"> |
|||
<rect key="frame" x="0.0" y="6" width="222" height="14"/> |
|||
<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> |
|||
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="10,00,000" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="3yD-t0-8ha"> |
|||
<rect key="frame" x="0.0" y="20" width="222" height="50"/> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="50" id="bLT-gY-yAB"/> |
|||
</constraints> |
|||
<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"/> |
|||
<textInputTraits key="textInputTraits" keyboardType="decimalPad"/> |
|||
</textField> |
|||
</subviews> |
|||
</stackView> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="mh1-Er-p1u"> |
|||
<rect key="frame" x="222" y="0.0" width="125" height="70"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iPE-sj-Qsu"> |
|||
<rect key="frame" x="0.0" y="0.0" width="125" height="70"/> |
|||
<subviews> |
|||
<stackView opaque="NO" contentMode="scaleToFill" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="Js4-zb-lBt"> |
|||
<rect key="frame" x="25.5" y="22" width="74" height="26"/> |
|||
<subviews> |
|||
<imageView userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Korea" translatesAutoresizingMaskIntoConstraints="NO" id="lZL-MP-MUI"> |
|||
<rect key="frame" x="0.0" y="0.0" width="26" height="26"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="26" id="mG0-tZ-KhA"/> |
|||
<constraint firstAttribute="height" constant="26" id="mGg-C4-taF"/> |
|||
</constraints> |
|||
</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="VUq-zy-pIx"> |
|||
<rect key="frame" x="36" y="0.0" width="38" height="26"/> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Bold" family="San Francisco Display" pointSize="18"/> |
|||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
</subviews> |
|||
</stackView> |
|||
</subviews> |
|||
<color key="backgroundColor" red="0.1764705882" green="0.21176470589999999" blue="0.56078431370000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
<gestureRecognizers/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="125" id="Rez-4a-vc4"/> |
|||
<constraint firstItem="Js4-zb-lBt" firstAttribute="centerX" secondItem="iPE-sj-Qsu" secondAttribute="centerX" id="TwQ-eD-wnp"/> |
|||
<constraint firstItem="Js4-zb-lBt" firstAttribute="centerY" secondItem="iPE-sj-Qsu" secondAttribute="centerY" id="urS-2e-gxp"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="125" id="zDU-y1-WDk"/> |
|||
</constraints> |
|||
</stackView> |
|||
</subviews> |
|||
</stackView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="CEP-Tt-tXC" firstAttribute="top" secondItem="gsA-E3-L0L" secondAttribute="top" id="Gv1-CZ-8iF"/> |
|||
<constraint firstItem="CEP-Tt-tXC" firstAttribute="leading" secondItem="gsA-E3-L0L" secondAttribute="leading" constant="8" id="i4H-mu-EJC"/> |
|||
<constraint firstAttribute="trailing" secondItem="CEP-Tt-tXC" secondAttribute="trailing" id="leb-Vx-cZe"/> |
|||
<constraint firstAttribute="bottom" secondItem="CEP-Tt-tXC" secondAttribute="bottom" id="zCj-dA-acL"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<constraints> |
|||
<constraint firstAttribute="height" constant="70" id="0WI-rG-nWq"/> |
|||
</constraints> |
|||
</stackView> |
|||
</subviews> |
|||
</stackView> |
|||
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="lj4-R8-JCO"> |
|||
<rect key="frame" x="87.5" y="270" width="200" height="50"/> |
|||
<color key="backgroundColor" red="0.92941176469999998" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="calibratedRGB"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="200" id="Pc3-2B-fh6"/> |
|||
<constraint firstAttribute="height" constant="50" id="gi1-Me-gOb"/> |
|||
</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="ipk-bU-HJJ" eventType="touchUpInside" id="ag8-ct-uvy"/> |
|||
</connections> |
|||
</button> |
|||
</subviews> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="lj4-R8-JCO" firstAttribute="centerX" secondItem="ORT-Zx-YgH" secondAttribute="centerX" id="1rQ-Te-Tc2"/> |
|||
<constraint firstItem="lj4-R8-JCO" firstAttribute="top" secondItem="0dp-2J-x5o" secondAttribute="bottom" constant="24" id="AS6-JU-Kqq"/> |
|||
<constraint firstAttribute="trailing" secondItem="0dp-2J-x5o" secondAttribute="trailing" constant="10" id="XpX-rY-Tkz"/> |
|||
<constraint firstItem="0dp-2J-x5o" firstAttribute="top" secondItem="ORT-Zx-YgH" secondAttribute="top" constant="20" id="cra-Vv-yvJ"/> |
|||
<constraint firstItem="0dp-2J-x5o" firstAttribute="leading" secondItem="ORT-Zx-YgH" secondAttribute="leading" constant="10" id="qPu-pO-RIt"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstAttribute="trailing" secondItem="ORT-Zx-YgH" secondAttribute="trailing" id="Oap-ih-xjc"/> |
|||
<constraint firstItem="ORT-Zx-YgH" firstAttribute="leading" secondItem="UOX-Rk-d2G" secondAttribute="leading" id="XW4-zi-G8A"/> |
|||
<constraint firstAttribute="bottom" secondItem="ORT-Zx-YgH" secondAttribute="bottom" id="Y3V-bL-5T9"/> |
|||
<constraint firstItem="ORT-Zx-YgH" firstAttribute="top" secondItem="UOX-Rk-d2G" secondAttribute="top" id="a18-DW-IUE"/> |
|||
<constraint firstAttribute="bottom" secondItem="ORT-Zx-YgH" secondAttribute="bottom" id="mpp-ab-osB"/> |
|||
</constraints> |
|||
</scrollView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="Ywq-XZ-hJD" firstAttribute="trailing" secondItem="UOX-Rk-d2G" secondAttribute="trailing" id="0Zo-hc-Ale"/> |
|||
<constraint firstItem="Ywq-XZ-hJD" firstAttribute="bottom" secondItem="UOX-Rk-d2G" secondAttribute="bottom" id="1gS-qs-aeu"/> |
|||
<constraint firstItem="ORT-Zx-YgH" firstAttribute="height" secondItem="bAP-qa-4a0" secondAttribute="height" id="Hh3-xH-4S8"/> |
|||
<constraint firstItem="UOX-Rk-d2G" firstAttribute="top" secondItem="Ywq-XZ-hJD" secondAttribute="top" id="RGg-ak-3GB"/> |
|||
<constraint firstItem="UOX-Rk-d2G" firstAttribute="leading" secondItem="Ywq-XZ-hJD" secondAttribute="leading" id="Xfb-Ll-IxY"/> |
|||
<constraint firstItem="ORT-Zx-YgH" firstAttribute="width" secondItem="bAP-qa-4a0" secondAttribute="width" id="zpn-DG-veu"/> |
|||
</constraints> |
|||
<viewLayoutGuide key="safeArea" id="Ywq-XZ-hJD"/> |
|||
</view> |
|||
<navigationItem key="navigationItem" id="KSv-F1-hGm"/> |
|||
<connections> |
|||
<outlet property="backgroundViewCountryLabel1" destination="YmT-Dq-eHM" id="37u-Xd-TNL"/> |
|||
<outlet property="backgroundViewCountryLabel2" destination="iPE-sj-Qsu" id="yLp-Uc-xx3"/> |
|||
<outlet property="continueButton" destination="lj4-R8-JCO" id="9vU-Fc-bC8"/> |
|||
<outlet property="countryCodeLabel" destination="VUq-zy-pIx" id="SFm-9W-HMx"/> |
|||
<outlet property="countryFlagImage" destination="lZL-MP-MUI" id="7mc-z6-Ush"/> |
|||
<outlet property="countryListStackView" destination="mh1-Er-p1u" id="LoB-Hw-hj9"/> |
|||
<outlet property="exchangeBackground1" destination="dAt-Rq-Gck" id="1zO-bH-rdx"/> |
|||
<outlet property="exchangeBackground2" destination="gsA-E3-L0L" id="o7l-Uc-dCS"/> |
|||
<outlet property="exchangeInfoStackView" destination="AFY-c1-G3T" id="8ro-yb-2wQ"/> |
|||
<outlet property="exchangeRateLabel" destination="Lpd-5g-qAX" id="DsQ-1u-31H"/> |
|||
<outlet property="reciepientTextField" destination="3yD-t0-8ha" id="ZYV-4K-A47"/> |
|||
<outlet property="recipientGetsTitleLabel" destination="D6K-jA-ARY" id="vMC-Eb-LRK"/> |
|||
<outlet property="senderTextField" destination="RrL-Ia-5PK" id="jbG-Od-mna"/> |
|||
<outlet property="transferFeeInfoLabel" destination="PoS-xP-r27" id="eu0-6H-stO"/> |
|||
<outlet property="youSendTitleLabel" destination="cUO-HA-FGN" id="HUC-Co-c9Y"/> |
|||
</connections> |
|||
</viewController> |
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="4am-Xm-AE7" userLabel="First Responder" sceneMemberID="firstResponder"/> |
|||
</objects> |
|||
<point key="canvasLocation" x="1181.5999999999999" y="-42.728635682158924"/> |
|||
</scene> |
|||
<!--Navigation Controller--> |
|||
<scene sceneID="Mn8-yH-U12"> |
|||
<objects> |
|||
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="faB-ae-ahc" sceneMemberID="viewController"> |
|||
<toolbarItems/> |
|||
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="atM-sS-DEv"> |
|||
<rect key="frame" x="0.0" y="20" width="375" height="44"/> |
|||
<autoresizingMask key="autoresizingMask"/> |
|||
</navigationBar> |
|||
<nil name="viewControllers"/> |
|||
<connections> |
|||
<segue destination="ipk-bU-HJJ" kind="relationship" relationship="rootViewController" id="U6Q-DF-oVD"/> |
|||
</connections> |
|||
</navigationController> |
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="RN1-zh-MZl" userLabel="First Responder" sceneMemberID="firstResponder"/> |
|||
</objects> |
|||
<point key="canvasLocation" x="240.80000000000001" y="-43.628185907046479"/> |
|||
</scene> |
|||
</scenes> |
|||
<resources> |
|||
<image name="Korea" width="40" height="40"/> |
|||
</resources> |
|||
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
</document> |
@ -0,0 +1,41 @@ |
|||
// |
|||
// ResendExchangeViewController.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
|||
class ResendExchangeViewController: UIViewController { |
|||
|
|||
// MARK: IBOutlets |
|||
|
|||
|
|||
// MARK: Properties |
|||
|
|||
var presenter: ResendExchangeModuleInterface? |
|||
|
|||
|
|||
// MARK: VC's Life cycle |
|||
|
|||
override func viewDidLoad() { |
|||
super.viewDidLoad() |
|||
self.setup() |
|||
} |
|||
|
|||
// MARK: IBActions |
|||
|
|||
// MARK: Other Functions |
|||
|
|||
private func setup() { |
|||
// all setup should be done here |
|||
|
|||
} |
|||
} |
|||
|
|||
// MARK: ResendExchangeViewInterface |
|||
extension ResendExchangeViewController: ResendExchangeViewInterface { |
|||
|
|||
} |
@ -0,0 +1,10 @@ |
|||
// |
|||
// ResendExchangeViewInterface.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
protocol ResendExchangeViewInterface: class { |
|||
} |
@ -0,0 +1,34 @@ |
|||
// |
|||
// ResendExchangeWireframe.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
|||
class ResendExchangeWireframe { |
|||
weak var view: UIViewController! |
|||
} |
|||
|
|||
extension ResendExchangeWireframe: ResendExchangeWireframeInput { |
|||
|
|||
var storyboardName: String {return "ResendExchange"} |
|||
|
|||
func getMainView() -> UIViewController { |
|||
let service = ResendExchangeService() |
|||
let interactor = ResendExchangeInteractor(service: service) |
|||
let presenter = ResendExchangePresenter() |
|||
let viewController = viewControllerFromStoryboard(of: ResendExchangeViewController.self) |
|||
|
|||
viewController.presenter = presenter |
|||
interactor.output = presenter |
|||
presenter.interactor = interactor |
|||
presenter.wireframe = self |
|||
presenter.view = viewController |
|||
|
|||
self.view = viewController |
|||
return viewController |
|||
} |
|||
} |
@ -0,0 +1,13 @@ |
|||
// |
|||
// ResendExchangeWireframeInput.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 18/03/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
protocol ResendExchangeWireframeInput: WireframeInput { |
|||
|
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue