gme_2
6 years ago
17 changed files with 683 additions and 10 deletions
-
144GME Remit.xcodeproj/project.pbxproj
-
6GMERemittance/Module/AutoDebit/User Interface/View/AutoDebit.storyboard
-
31GMERemittance/Module/PaymentSelection/Application Logic/Interactor/PaymentSelectionInteractor.swift
-
15GMERemittance/Module/PaymentSelection/Application Logic/Interactor/PaymentSelectionInteractorIO.swift
-
18GMERemittance/Module/PaymentSelection/Application Logic/Service/PaymentSelectionService.swift
-
13GMERemittance/Module/PaymentSelection/Application Logic/Service/PaymentSelectionServiceType.swift
-
11GMERemittance/Module/PaymentSelection/Module Interface/PaymentSelectionModuleInterface.swift
-
32GMERemittance/Module/PaymentSelection/User Interface/Presenter/PaymentSelectionPresenter.swift
-
20GMERemittance/Module/PaymentSelection/User Interface/View/Cells/PaymentSelectionTableViewCell.swift
-
129GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelection.storyboard
-
41GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelectionViewController.swift
-
10GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelectionViewInterface.swift
-
34GMERemittance/Module/PaymentSelection/User Interface/Wireframe/PaymentSelectionWireframe.swift
-
13GMERemittance/Module/PaymentSelection/User Interface/Wireframe/PaymentSelectionWireframeInput.swift
-
133GMERemittance/Recipient/PaymentSelections.storyboard
-
30GMERemittance/Recipient/PaymentSelectionsViewController.swift
-
13GMERemittance/Recipient/RecipientListViewController.swift
@ -0,0 +1,31 @@ |
|||
// |
|||
// PaymentSelectionInteractor.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
class PaymentSelectionInteractor { |
|||
|
|||
// MARK: Properties |
|||
|
|||
weak var output: PaymentSelectionInteractorOutput? |
|||
private let service: PaymentSelectionServiceType |
|||
|
|||
// MARK: Initialization |
|||
|
|||
init(service: PaymentSelectionServiceType) { |
|||
self.service = service |
|||
} |
|||
|
|||
// MARK: Converting entities |
|||
} |
|||
|
|||
// MARK: PaymentSelection interactor input interface |
|||
|
|||
extension PaymentSelectionInteractor: PaymentSelectionInteractorInput { |
|||
|
|||
} |
@ -0,0 +1,15 @@ |
|||
// |
|||
// PaymentSelectionInteractorIO.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
protocol PaymentSelectionInteractorInput: class { |
|||
|
|||
} |
|||
|
|||
protocol PaymentSelectionInteractorOutput: class { |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
// |
|||
// PaymentSelectionService.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
class PaymentSelectionService: PaymentSelectionServiceType { |
|||
|
|||
// MARK: Properties |
|||
|
|||
// MARK: Initialization |
|||
|
|||
// MARK: Data management |
|||
} |
@ -0,0 +1,13 @@ |
|||
// |
|||
// PaymentSelectionServiceType.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
protocol PaymentSelectionServiceType: class { |
|||
|
|||
} |
@ -0,0 +1,11 @@ |
|||
// |
|||
// PaymentSelectionModuleInterface.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
protocol PaymentSelectionModuleInterface: class { |
|||
|
|||
} |
@ -0,0 +1,32 @@ |
|||
// |
|||
// PaymentSelectionPresenter.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
class PaymentSelectionPresenter { |
|||
|
|||
// MARK: Properties |
|||
|
|||
weak var view: PaymentSelectionViewInterface? |
|||
var interactor: PaymentSelectionInteractorInput? |
|||
var wireframe: PaymentSelectionWireframeInput? |
|||
|
|||
// MARK: Converting entities |
|||
} |
|||
|
|||
// MARK: PaymentSelection module interface |
|||
|
|||
extension PaymentSelectionPresenter: PaymentSelectionModuleInterface { |
|||
|
|||
} |
|||
|
|||
// MARK: PaymentSelection interactor output interface |
|||
|
|||
extension PaymentSelectionPresenter: PaymentSelectionInteractorOutput { |
|||
|
|||
} |
@ -0,0 +1,20 @@ |
|||
// |
|||
// PaymentSelectionTableViewCell.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
|||
class PaymentSelectionTableViewCell: UITableViewCell { |
|||
|
|||
@IBOutlet weak var titlelabel: UILabel! |
|||
@IBOutlet weak var accountLabel: UILabel! |
|||
|
|||
override func awakeFromNib() { |
|||
super.awakeFromNib() |
|||
// Initialization code |
|||
} |
|||
} |
@ -0,0 +1,129 @@ |
|||
<?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" initialViewController="HSb-ou-7T5"> |
|||
<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="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
|||
</dependencies> |
|||
<customFonts key="customFonts"> |
|||
<array key="SanFranciscoDisplay-Regular.otf"> |
|||
<string>SanFranciscoDisplay-Regular</string> |
|||
</array> |
|||
</customFonts> |
|||
<scenes> |
|||
<!--PaymentSelection--> |
|||
<scene sceneID="R60-Pu-Hpy"> |
|||
<objects> |
|||
<viewController storyboardIdentifier="PaymentSelectionViewController" title="PaymentSelection" id="HSb-ou-7T5" customClass="PaymentSelectionViewController" customModule="GME_Remit" customModuleProvider="target" sceneMemberID="viewController"> |
|||
<layoutGuides> |
|||
<viewControllerLayoutGuide type="top" id="y1H-iV-BwG"/> |
|||
<viewControllerLayoutGuide type="bottom" id="PYB-Kq-ghm"/> |
|||
</layoutGuides> |
|||
<view key="view" contentMode="scaleToFill" id="9Uc-9s-KgO"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
|||
<subviews> |
|||
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="atI-We-kZt"> |
|||
<rect key="frame" x="0.0" y="20" width="375" height="647"/> |
|||
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/> |
|||
<prototypes> |
|||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="PaymentSelectionTableViewCell" rowHeight="80" id="34o-kc-rwZ" customClass="PaymentSelectionTableViewCell" customModule="GME_Remit" customModuleProvider="target"> |
|||
<rect key="frame" x="0.0" y="28" width="375" height="80"/> |
|||
<autoresizingMask key="autoresizingMask"/> |
|||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="34o-kc-rwZ" id="JvE-dP-tuR"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="80"/> |
|||
<autoresizingMask key="autoresizingMask"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gLK-dh-JSU"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="80"/> |
|||
<subviews> |
|||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tQy-x7-NXV"> |
|||
<rect key="frame" x="20" y="20" width="40" height="40"/> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="40" id="D8X-WM-woC"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> |
|||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="n1C-Wg-wgf"> |
|||
<rect key="frame" x="80" y="20" width="285" height="41"/> |
|||
<subviews> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bla Bla Account" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="4" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Q4-aQ-m9Z"> |
|||
<rect key="frame" x="0.0" y="0.0" width="285" height="18.5"/> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> |
|||
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bla Bla Account" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="4" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FMg-Nt-IHZ"> |
|||
<rect key="frame" x="0.0" y="23.5" width="285" height="17.5"/> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> |
|||
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
</subviews> |
|||
<constraints> |
|||
<constraint firstItem="8Q4-aQ-m9Z" firstAttribute="width" secondItem="FMg-Nt-IHZ" secondAttribute="width" id="F3l-E3-y1I"/> |
|||
</constraints> |
|||
</stackView> |
|||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_add" translatesAutoresizingMaskIntoConstraints="NO" id="idZ-Fs-idm"> |
|||
<rect key="frame" x="20" y="20" width="40" height="40"/> |
|||
</imageView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstAttribute="bottom" secondItem="n1C-Wg-wgf" secondAttribute="bottom" constant="19" id="00T-wz-3hc"/> |
|||
<constraint firstItem="n1C-Wg-wgf" firstAttribute="top" secondItem="gLK-dh-JSU" secondAttribute="top" constant="20" id="50J-Bi-7FX"/> |
|||
<constraint firstItem="tQy-x7-NXV" firstAttribute="centerY" secondItem="gLK-dh-JSU" secondAttribute="centerY" id="8Rw-u8-Ztd"/> |
|||
<constraint firstItem="idZ-Fs-idm" firstAttribute="centerX" secondItem="tQy-x7-NXV" secondAttribute="centerX" id="8t0-mx-QQA"/> |
|||
<constraint firstAttribute="trailing" secondItem="n1C-Wg-wgf" secondAttribute="trailing" constant="10" id="Dh1-CK-yTo"/> |
|||
<constraint firstAttribute="height" constant="80" id="Kn0-XH-Rg1"/> |
|||
<constraint firstItem="n1C-Wg-wgf" firstAttribute="leading" secondItem="tQy-x7-NXV" secondAttribute="trailing" constant="20" id="RQE-gg-6RX"/> |
|||
<constraint firstItem="idZ-Fs-idm" firstAttribute="centerY" secondItem="tQy-x7-NXV" secondAttribute="centerY" id="VAq-u6-69Z"/> |
|||
<constraint firstItem="idZ-Fs-idm" firstAttribute="width" secondItem="tQy-x7-NXV" secondAttribute="width" id="Zxj-w7-e0h"/> |
|||
<constraint firstItem="tQy-x7-NXV" firstAttribute="top" secondItem="gLK-dh-JSU" secondAttribute="top" constant="20" id="cv4-gT-itG"/> |
|||
<constraint firstItem="tQy-x7-NXV" firstAttribute="leading" secondItem="gLK-dh-JSU" secondAttribute="leading" constant="20" id="dy8-uf-JCG"/> |
|||
<constraint firstItem="idZ-Fs-idm" firstAttribute="height" secondItem="tQy-x7-NXV" secondAttribute="height" id="mmP-Ml-6Yp"/> |
|||
<constraint firstAttribute="bottom" secondItem="tQy-x7-NXV" secondAttribute="bottom" constant="20" id="qu1-N4-RYz"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<constraints> |
|||
<constraint firstItem="gLK-dh-JSU" firstAttribute="leading" secondItem="JvE-dP-tuR" secondAttribute="leading" id="4Ad-t1-OnT"/> |
|||
<constraint firstAttribute="bottom" secondItem="gLK-dh-JSU" secondAttribute="bottom" id="NI4-mD-7cg"/> |
|||
<constraint firstItem="gLK-dh-JSU" firstAttribute="top" secondItem="JvE-dP-tuR" secondAttribute="top" id="NsI-rl-1qT"/> |
|||
<constraint firstAttribute="trailing" secondItem="gLK-dh-JSU" secondAttribute="trailing" id="dNE-MH-xpV"/> |
|||
</constraints> |
|||
</tableViewCellContentView> |
|||
<connections> |
|||
<outlet property="accountLabel" destination="FMg-Nt-IHZ" id="1Xk-Xg-cvx"/> |
|||
<outlet property="labelRecipientName" destination="8Q4-aQ-m9Z" id="aRJ-Ao-aMg"/> |
|||
<outlet property="titlelabel" destination="8Q4-aQ-m9Z" id="L9E-Lx-2BR"/> |
|||
</connections> |
|||
</tableViewCell> |
|||
</prototypes> |
|||
</tableView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstAttribute="trailing" secondItem="atI-We-kZt" secondAttribute="trailing" id="9Dh-cC-DbG"/> |
|||
<constraint firstItem="atI-We-kZt" firstAttribute="leading" secondItem="9Uc-9s-KgO" secondAttribute="leading" id="Gd0-Mx-Xi2"/> |
|||
<constraint firstItem="PYB-Kq-ghm" firstAttribute="top" secondItem="atI-We-kZt" secondAttribute="bottom" id="XTY-13-KiS"/> |
|||
<constraint firstItem="atI-We-kZt" firstAttribute="top" secondItem="y1H-iV-BwG" secondAttribute="bottom" id="Yjc-Wj-zf0"/> |
|||
</constraints> |
|||
</view> |
|||
</viewController> |
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="8je-5K-XuW" userLabel="First Responder" sceneMemberID="firstResponder"/> |
|||
</objects> |
|||
<point key="canvasLocation" x="-279" y="124"/> |
|||
</scene> |
|||
</scenes> |
|||
<resources> |
|||
<image name="ic_add" width="126" height="126"/> |
|||
</resources> |
|||
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
</document> |
@ -0,0 +1,41 @@ |
|||
// |
|||
// PaymentSelectionViewController.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
|||
class PaymentSelectionViewController: UIViewController { |
|||
|
|||
// MARK: IBOutlets |
|||
|
|||
|
|||
// MARK: Properties |
|||
|
|||
var presenter: PaymentSelectionModuleInterface? |
|||
|
|||
|
|||
// 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: PaymentSelectionViewInterface |
|||
extension PaymentSelectionViewController: PaymentSelectionViewInterface { |
|||
|
|||
} |
@ -0,0 +1,10 @@ |
|||
// |
|||
// PaymentSelectionViewInterface.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
protocol PaymentSelectionViewInterface: class { |
|||
} |
@ -0,0 +1,34 @@ |
|||
// |
|||
// PaymentSelectionWireframe.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
|||
class PaymentSelectionWireframe { |
|||
weak var view: UIViewController! |
|||
} |
|||
|
|||
extension PaymentSelectionWireframe: PaymentSelectionWireframeInput { |
|||
|
|||
var storyboardName: String {return "PaymentSelection"} |
|||
|
|||
func getMainView() -> UIViewController { |
|||
let service = PaymentSelectionService() |
|||
let interactor = PaymentSelectionInteractor(service: service) |
|||
let presenter = PaymentSelectionPresenter() |
|||
let viewController = viewControllerFromStoryboard(of: PaymentSelectionViewController.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 @@ |
|||
// |
|||
// PaymentSelectionWireframeInput.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import Foundation |
|||
|
|||
protocol PaymentSelectionWireframeInput: WireframeInput { |
|||
|
|||
} |
@ -0,0 +1,133 @@ |
|||
<?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" useSafeAreas="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-Regular.otf"> |
|||
<string>SanFranciscoDisplay-Regular</string> |
|||
</array> |
|||
</customFonts> |
|||
<scenes> |
|||
<!--Payment Selection View Controller--> |
|||
<scene sceneID="q82-R2-Fv3"> |
|||
<objects> |
|||
<viewController storyboardIdentifier="PaymentSelectionViewController" id="htP-Rl-TxK" customClass="PaymentSelectionViewController" customModule="GME_Remit" customModuleProvider="target" sceneMemberID="viewController"> |
|||
<view key="view" contentMode="scaleToFill" id="Pu6-J9-TAC"> |
|||
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
|||
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
|||
<subviews> |
|||
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="bYN-Ab-Eek"> |
|||
<rect key="frame" x="10" y="30" width="355" height="588"/> |
|||
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/> |
|||
<prototypes> |
|||
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AutoDebitTableViewCell" rowHeight="80" id="6ZB-uF-TZs" customClass="AutoDebitTableViewCell" customModule="GME_Remit" customModuleProvider="target"> |
|||
<rect key="frame" x="0.0" y="28" width="355" height="80"/> |
|||
<autoresizingMask key="autoresizingMask"/> |
|||
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="6ZB-uF-TZs" id="v0U-D4-tn7"> |
|||
<rect key="frame" x="0.0" y="0.0" width="355" height="80"/> |
|||
<autoresizingMask key="autoresizingMask"/> |
|||
<subviews> |
|||
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zvL-hd-sJk"> |
|||
<rect key="frame" x="0.0" y="0.0" width="355" height="80"/> |
|||
<subviews> |
|||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="E8N-1u-OEc"> |
|||
<rect key="frame" x="20" y="20" width="40" height="40"/> |
|||
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstAttribute="width" constant="40" id="ZCM-vP-HnL"/> |
|||
</constraints> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> |
|||
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Bla Bla Account" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="4" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BbP-CE-y1n"> |
|||
<rect key="frame" x="80" y="20" width="255" height="40"/> |
|||
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="17"/> |
|||
<color key="textColor" red="0.2901960784" green="0.2901960784" blue="0.2901960784" alpha="1" colorSpace="calibratedRGB"/> |
|||
<nil key="highlightedColor"/> |
|||
</label> |
|||
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_add" translatesAutoresizingMaskIntoConstraints="NO" id="gdQ-Dq-ztz"> |
|||
<rect key="frame" x="20" y="20" width="40" height="40"/> |
|||
</imageView> |
|||
</subviews> |
|||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
|||
<constraints> |
|||
<constraint firstItem="E8N-1u-OEc" firstAttribute="top" secondItem="zvL-hd-sJk" secondAttribute="top" constant="20" id="0S5-BO-abH"/> |
|||
<constraint firstItem="gdQ-Dq-ztz" firstAttribute="height" secondItem="E8N-1u-OEc" secondAttribute="height" id="6GT-Qy-6AG"/> |
|||
<constraint firstItem="gdQ-Dq-ztz" firstAttribute="centerX" secondItem="E8N-1u-OEc" secondAttribute="centerX" id="FGh-r2-1iE"/> |
|||
<constraint firstAttribute="height" constant="80" id="LGG-F9-f9u"/> |
|||
<constraint firstItem="E8N-1u-OEc" firstAttribute="leading" secondItem="zvL-hd-sJk" secondAttribute="leading" constant="20" id="LS9-Zi-Eos"/> |
|||
<constraint firstAttribute="bottom" secondItem="BbP-CE-y1n" secondAttribute="bottom" constant="20" id="RQj-1G-tSz"/> |
|||
<constraint firstItem="E8N-1u-OEc" firstAttribute="centerY" secondItem="zvL-hd-sJk" secondAttribute="centerY" id="W6P-9q-LRP"/> |
|||
<constraint firstItem="BbP-CE-y1n" firstAttribute="leading" secondItem="E8N-1u-OEc" secondAttribute="trailing" constant="20" id="YBR-qh-UAu"/> |
|||
<constraint firstAttribute="trailing" secondItem="BbP-CE-y1n" secondAttribute="trailing" constant="20" id="bQm-dJ-YYc"/> |
|||
<constraint firstItem="gdQ-Dq-ztz" firstAttribute="centerY" secondItem="E8N-1u-OEc" secondAttribute="centerY" id="cRH-wX-nus"/> |
|||
<constraint firstItem="gdQ-Dq-ztz" firstAttribute="width" secondItem="E8N-1u-OEc" secondAttribute="width" id="eZl-Qn-K3X"/> |
|||
<constraint firstItem="BbP-CE-y1n" firstAttribute="centerY" secondItem="zvL-hd-sJk" secondAttribute="centerY" id="evZ-ag-sav"/> |
|||
<constraint firstItem="BbP-CE-y1n" firstAttribute="top" secondItem="zvL-hd-sJk" secondAttribute="top" constant="20" id="sdl-Ws-oJF"/> |
|||
<constraint firstAttribute="bottom" secondItem="E8N-1u-OEc" secondAttribute="bottom" constant="20" id="zpB-cy-6H3"/> |
|||
</constraints> |
|||
</view> |
|||
</subviews> |
|||
<constraints> |
|||
<constraint firstItem="zvL-hd-sJk" firstAttribute="top" secondItem="v0U-D4-tn7" secondAttribute="top" id="7ng-lL-lmw"/> |
|||
<constraint firstAttribute="trailing" secondItem="zvL-hd-sJk" secondAttribute="trailing" id="UQI-Cq-cS0"/> |
|||
<constraint firstAttribute="bottom" secondItem="zvL-hd-sJk" secondAttribute="bottom" id="omA-vs-EGG"/> |
|||
<constraint firstItem="zvL-hd-sJk" firstAttribute="leading" secondItem="v0U-D4-tn7" secondAttribute="leading" id="rWU-X1-H9K"/> |
|||
</constraints> |
|||
</tableViewCellContentView> |
|||
<connections> |
|||
<outlet property="labelRecipientName" destination="BbP-CE-y1n" id="ssh-1k-jZJ"/> |
|||
</connections> |
|||
</tableViewCell> |
|||
</prototypes> |
|||
</tableView> |
|||
</subviews> |
|||
<color key="backgroundColor" red="0.90588235289999997" green="0.92941176469999998" blue="0.94901960780000005" alpha="1" colorSpace="calibratedRGB"/> |
|||
<constraints> |
|||
<constraint firstItem="bYN-Ab-Eek" firstAttribute="top" secondItem="tko-UB-iub" secondAttribute="top" constant="10" id="1fP-Sg-gLw"/> |
|||
<constraint firstItem="tko-UB-iub" firstAttribute="bottom" secondItem="bYN-Ab-Eek" secondAttribute="bottom" id="cZp-G1-fnX"/> |
|||
<constraint firstItem="bYN-Ab-Eek" firstAttribute="leading" secondItem="tko-UB-iub" secondAttribute="leading" constant="10" id="rKa-k6-K1I"/> |
|||
<constraint firstItem="tko-UB-iub" firstAttribute="trailing" secondItem="bYN-Ab-Eek" secondAttribute="trailing" constant="10" id="xFe-uv-tjA"/> |
|||
</constraints> |
|||
<viewLayoutGuide key="safeArea" id="tko-UB-iub"/> |
|||
</view> |
|||
<simulatedTabBarMetrics key="simulatedBottomBarMetrics"/> |
|||
<connections> |
|||
<outlet property="tableView" destination="bYN-Ab-Eek" id="oLe-9G-jjO"/> |
|||
</connections> |
|||
</viewController> |
|||
<placeholder placeholderIdentifier="IBFirstResponder" id="GgJ-5O-CCF" userLabel="First Responder" sceneMemberID="firstResponder"/> |
|||
<customObject id="gg5-4V-ejm" customClass="RAMBounceAnimation" customModule="RAMAnimatedTabBarController"> |
|||
<userDefinedRuntimeAttributes> |
|||
<userDefinedRuntimeAttribute type="color" keyPath="textSelectedColor"> |
|||
<color key="value" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
</userDefinedRuntimeAttribute> |
|||
<userDefinedRuntimeAttribute type="color" keyPath="iconSelectedColor"> |
|||
<color key="value" red="0.92549019610000005" green="0.10980392160000001" blue="0.14117647059999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
|||
</userDefinedRuntimeAttribute> |
|||
<userDefinedRuntimeAttribute type="number" keyPath="duration"> |
|||
<real key="value" value="0.33000000000000002"/> |
|||
</userDefinedRuntimeAttribute> |
|||
</userDefinedRuntimeAttributes> |
|||
</customObject> |
|||
<tapGestureRecognizer id="9yf-SV-CpA"> |
|||
<connections> |
|||
<action selector="addNewAccount:" destination="htP-Rl-TxK" id="O00-Cf-fDo"/> |
|||
</connections> |
|||
</tapGestureRecognizer> |
|||
</objects> |
|||
<point key="canvasLocation" x="4041" y="901"/> |
|||
</scene> |
|||
</scenes> |
|||
<resources> |
|||
<image name="ic_add" width="126" height="126"/> |
|||
</resources> |
|||
</document> |
@ -0,0 +1,30 @@ |
|||
// |
|||
// PaymentSelectionViewController.swift |
|||
// GME Remit |
|||
// |
|||
// Created by gme_2 on 07/01/2019. |
|||
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved. |
|||
// |
|||
|
|||
import UIKit |
|||
|
|||
class PaymentSelectionsViewController: UIViewController { |
|||
|
|||
override func viewDidLoad() { |
|||
super.viewDidLoad() |
|||
|
|||
// Do any additional setup after loading the view. |
|||
} |
|||
|
|||
|
|||
/* |
|||
// MARK: - Navigation |
|||
|
|||
// In a storyboard-based application, you will often want to do a little preparation before navigation |
|||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { |
|||
// Get the new view controller using segue.destination. |
|||
// Pass the selected object to the new view controller. |
|||
} |
|||
*/ |
|||
|
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue