Browse Source

added module paument selection

pull/1/head
gme_2 6 years ago
parent
commit
6362a03263
  1. 144
      GME Remit.xcodeproj/project.pbxproj
  2. 6
      GMERemittance/Module/AutoDebit/User Interface/View/AutoDebit.storyboard
  3. 31
      GMERemittance/Module/PaymentSelection/Application Logic/Interactor/PaymentSelectionInteractor.swift
  4. 15
      GMERemittance/Module/PaymentSelection/Application Logic/Interactor/PaymentSelectionInteractorIO.swift
  5. 18
      GMERemittance/Module/PaymentSelection/Application Logic/Service/PaymentSelectionService.swift
  6. 13
      GMERemittance/Module/PaymentSelection/Application Logic/Service/PaymentSelectionServiceType.swift
  7. 11
      GMERemittance/Module/PaymentSelection/Module Interface/PaymentSelectionModuleInterface.swift
  8. 32
      GMERemittance/Module/PaymentSelection/User Interface/Presenter/PaymentSelectionPresenter.swift
  9. 20
      GMERemittance/Module/PaymentSelection/User Interface/View/Cells/PaymentSelectionTableViewCell.swift
  10. 129
      GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelection.storyboard
  11. 41
      GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelectionViewController.swift
  12. 10
      GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelectionViewInterface.swift
  13. 34
      GMERemittance/Module/PaymentSelection/User Interface/Wireframe/PaymentSelectionWireframe.swift
  14. 13
      GMERemittance/Module/PaymentSelection/User Interface/Wireframe/PaymentSelectionWireframeInput.swift
  15. 133
      GMERemittance/Recipient/PaymentSelections.storyboard
  16. 30
      GMERemittance/Recipient/PaymentSelectionsViewController.swift
  17. 13
      GMERemittance/Recipient/RecipientListViewController.swift

144
GME Remit.xcodeproj/project.pbxproj

@ -532,6 +532,20 @@
D9B7ADF92130048E009B0564 /* ExchangeRates.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9B7ADEE2130048E009B0564 /* ExchangeRates.storyboard */; };
D9B7ADFA2130048E009B0564 /* ExchangeRatesViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9B7ADEF2130048E009B0564 /* ExchangeRatesViewInterface.swift */; };
D9B7ADFD2130073A009B0564 /* WireframeInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9B7ADFC2130073A009B0564 /* WireframeInput.swift */; };
D9BE020E21E2DB64003AA8C7 /* PaymentSelections.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9BE020D21E2DB64003AA8C7 /* PaymentSelections.storyboard */; };
D9BE021021E2DC01003AA8C7 /* PaymentSelectionsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE020F21E2DC01003AA8C7 /* PaymentSelectionsViewController.swift */; };
D9BE022821E2DD45003AA8C7 /* PaymentSelectionModuleInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE021521E2DD44003AA8C7 /* PaymentSelectionModuleInterface.swift */; };
D9BE022921E2DD45003AA8C7 /* PaymentSelectionService.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE021821E2DD44003AA8C7 /* PaymentSelectionService.swift */; };
D9BE022A21E2DD45003AA8C7 /* PaymentSelectionServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE021921E2DD44003AA8C7 /* PaymentSelectionServiceType.swift */; };
D9BE022B21E2DD45003AA8C7 /* PaymentSelectionInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE021B21E2DD44003AA8C7 /* PaymentSelectionInteractor.swift */; };
D9BE022C21E2DD45003AA8C7 /* PaymentSelectionInteractorIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE021C21E2DD44003AA8C7 /* PaymentSelectionInteractorIO.swift */; };
D9BE022D21E2DD45003AA8C7 /* PaymentSelectionPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE021F21E2DD44003AA8C7 /* PaymentSelectionPresenter.swift */; };
D9BE022E21E2DD45003AA8C7 /* PaymentSelectionWireframeInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE022121E2DD44003AA8C7 /* PaymentSelectionWireframeInput.swift */; };
D9BE022F21E2DD45003AA8C7 /* PaymentSelectionWireframe.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE022221E2DD44003AA8C7 /* PaymentSelectionWireframe.swift */; };
D9BE023021E2DD45003AA8C7 /* PaymentSelectionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE022521E2DD44003AA8C7 /* PaymentSelectionViewController.swift */; };
D9BE023121E2DD45003AA8C7 /* PaymentSelectionViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE022621E2DD44003AA8C7 /* PaymentSelectionViewInterface.swift */; };
D9BE023221E2DD45003AA8C7 /* PaymentSelection.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9BE022721E2DD44003AA8C7 /* PaymentSelection.storyboard */; };
D9BE023521E2DDEC003AA8C7 /* PaymentSelectionTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BE023421E2DDEC003AA8C7 /* PaymentSelectionTableViewCell.swift */; };
D9BF7EE12137CECF00264387 /* CurrencyPickerCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BF7EDE2137CECE00264387 /* CurrencyPickerCell.swift */; };
D9BF7EE22137CECF00264387 /* CurrencyPickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9BF7EDF2137CECE00264387 /* CurrencyPickerViewController.swift */; };
D9BF7EE32137CECF00264387 /* CurrencyPicker.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9BF7EE02137CECE00264387 /* CurrencyPicker.storyboard */; };
@ -1137,6 +1151,20 @@
D9B7ADEE2130048E009B0564 /* ExchangeRates.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = ExchangeRates.storyboard; sourceTree = "<group>"; };
D9B7ADEF2130048E009B0564 /* ExchangeRatesViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ExchangeRatesViewInterface.swift; sourceTree = "<group>"; };
D9B7ADFC2130073A009B0564 /* WireframeInput.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WireframeInput.swift; sourceTree = "<group>"; };
D9BE020D21E2DB64003AA8C7 /* PaymentSelections.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = PaymentSelections.storyboard; sourceTree = "<group>"; };
D9BE020F21E2DC01003AA8C7 /* PaymentSelectionsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PaymentSelectionsViewController.swift; sourceTree = "<group>"; };
D9BE021521E2DD44003AA8C7 /* PaymentSelectionModuleInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionModuleInterface.swift; sourceTree = "<group>"; };
D9BE021821E2DD44003AA8C7 /* PaymentSelectionService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionService.swift; sourceTree = "<group>"; };
D9BE021921E2DD44003AA8C7 /* PaymentSelectionServiceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionServiceType.swift; sourceTree = "<group>"; };
D9BE021B21E2DD44003AA8C7 /* PaymentSelectionInteractor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionInteractor.swift; sourceTree = "<group>"; };
D9BE021C21E2DD44003AA8C7 /* PaymentSelectionInteractorIO.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionInteractorIO.swift; sourceTree = "<group>"; };
D9BE021F21E2DD44003AA8C7 /* PaymentSelectionPresenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionPresenter.swift; sourceTree = "<group>"; };
D9BE022121E2DD44003AA8C7 /* PaymentSelectionWireframeInput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionWireframeInput.swift; sourceTree = "<group>"; };
D9BE022221E2DD44003AA8C7 /* PaymentSelectionWireframe.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionWireframe.swift; sourceTree = "<group>"; };
D9BE022521E2DD44003AA8C7 /* PaymentSelectionViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionViewController.swift; sourceTree = "<group>"; };
D9BE022621E2DD44003AA8C7 /* PaymentSelectionViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PaymentSelectionViewInterface.swift; sourceTree = "<group>"; };
D9BE022721E2DD44003AA8C7 /* PaymentSelection.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = PaymentSelection.storyboard; sourceTree = "<group>"; };
D9BE023421E2DDEC003AA8C7 /* PaymentSelectionTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PaymentSelectionTableViewCell.swift; sourceTree = "<group>"; };
D9BF7EDE2137CECE00264387 /* CurrencyPickerCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CurrencyPickerCell.swift; sourceTree = "<group>"; };
D9BF7EDF2137CECE00264387 /* CurrencyPickerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CurrencyPickerViewController.swift; sourceTree = "<group>"; };
D9BF7EE02137CECE00264387 /* CurrencyPicker.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = CurrencyPicker.storyboard; sourceTree = "<group>"; };
@ -1821,6 +1849,8 @@
041AEACD1FF4F081004FEF06 /* Savings.xib */,
041AEACF1FF5EECE004FEF06 /* PopUpSavingViewController.swift */,
D90D55B2213270DD00EEEE04 /* ReciepientServcie.swift */,
D9BE020D21E2DB64003AA8C7 /* PaymentSelections.storyboard */,
D9BE020F21E2DC01003AA8C7 /* PaymentSelectionsViewController.swift */,
);
path = Recipient;
sourceTree = "<group>";
@ -2084,6 +2114,7 @@
D907AB96212AA8A300915A87 /* Module */ = {
isa = PBXGroup;
children = (
D9BE021321E2DD44003AA8C7 /* PaymentSelection */,
04702FF121CA3EAE00B6C9C3 /* AutoDebit */,
FF6E7D7921BF951D00A003B9 /* AppUpdate */,
04E36E0421AE585100783685 /* PennyTestSubmit */,
@ -4077,6 +4108,105 @@
path = Base;
sourceTree = "<group>";
};
D9BE021321E2DD44003AA8C7 /* PaymentSelection */ = {
isa = PBXGroup;
children = (
D9BE021421E2DD44003AA8C7 /* Module Interface */,
D9BE021621E2DD44003AA8C7 /* Application Logic */,
D9BE021D21E2DD44003AA8C7 /* User Interface */,
);
path = PaymentSelection;
sourceTree = "<group>";
};
D9BE021421E2DD44003AA8C7 /* Module Interface */ = {
isa = PBXGroup;
children = (
D9BE021521E2DD44003AA8C7 /* PaymentSelectionModuleInterface.swift */,
);
path = "Module Interface";
sourceTree = "<group>";
};
D9BE021621E2DD44003AA8C7 /* Application Logic */ = {
isa = PBXGroup;
children = (
D9BE021721E2DD44003AA8C7 /* Service */,
D9BE021A21E2DD44003AA8C7 /* Interactor */,
);
path = "Application Logic";
sourceTree = "<group>";
};
D9BE021721E2DD44003AA8C7 /* Service */ = {
isa = PBXGroup;
children = (
D9BE021821E2DD44003AA8C7 /* PaymentSelectionService.swift */,
D9BE021921E2DD44003AA8C7 /* PaymentSelectionServiceType.swift */,
);
path = Service;
sourceTree = "<group>";
};
D9BE021A21E2DD44003AA8C7 /* Interactor */ = {
isa = PBXGroup;
children = (
D9BE021B21E2DD44003AA8C7 /* PaymentSelectionInteractor.swift */,
D9BE021C21E2DD44003AA8C7 /* PaymentSelectionInteractorIO.swift */,
);
path = Interactor;
sourceTree = "<group>";
};
D9BE021D21E2DD44003AA8C7 /* User Interface */ = {
isa = PBXGroup;
children = (
D9BE021E21E2DD44003AA8C7 /* Presenter */,
D9BE022021E2DD44003AA8C7 /* Wireframe */,
D9BE022321E2DD44003AA8C7 /* View */,
);
path = "User Interface";
sourceTree = "<group>";
};
D9BE021E21E2DD44003AA8C7 /* Presenter */ = {
isa = PBXGroup;
children = (
D9BE021F21E2DD44003AA8C7 /* PaymentSelectionPresenter.swift */,
);
path = Presenter;
sourceTree = "<group>";
};
D9BE022021E2DD44003AA8C7 /* Wireframe */ = {
isa = PBXGroup;
children = (
D9BE022121E2DD44003AA8C7 /* PaymentSelectionWireframeInput.swift */,
D9BE022221E2DD44003AA8C7 /* PaymentSelectionWireframe.swift */,
);
path = Wireframe;
sourceTree = "<group>";
};
D9BE022321E2DD44003AA8C7 /* View */ = {
isa = PBXGroup;
children = (
D9BE023321E2DDA0003AA8C7 /* Cells */,
D9BE022421E2DD44003AA8C7 /* ViewModels */,
D9BE022521E2DD44003AA8C7 /* PaymentSelectionViewController.swift */,
D9BE022621E2DD44003AA8C7 /* PaymentSelectionViewInterface.swift */,
D9BE022721E2DD44003AA8C7 /* PaymentSelection.storyboard */,
);
path = View;
sourceTree = "<group>";
};
D9BE022421E2DD44003AA8C7 /* ViewModels */ = {
isa = PBXGroup;
children = (
);
path = ViewModels;
sourceTree = "<group>";
};
D9BE023321E2DDA0003AA8C7 /* Cells */ = {
isa = PBXGroup;
children = (
D9BE023421E2DDEC003AA8C7 /* PaymentSelectionTableViewCell.swift */,
);
path = Cells;
sourceTree = "<group>";
};
D9BF7EDD2137CECE00264387 /* CurrencyPicker */ = {
isa = PBXGroup;
children = (
@ -4443,6 +4573,7 @@
5565FF1E1FE275E5002934E9 /* SanFranciscoText-RegularItalic.otf in Resources */,
D9DC1060216314BC008F3C51 /* SideMenu.storyboard in Resources */,
042F98E8204838590069F638 /* wallet.html in Resources */,
D9BE020E21E2DB64003AA8C7 /* PaymentSelections.storyboard in Resources */,
D937037A21490C3800D93077 /* KycForm2.storyboard in Resources */,
5565FF2E1FE275E5002934E9 /* SanFranciscoText-Semibold.otf in Resources */,
9FD260FF1FD00458007A511D /* Assets.xcassets in Resources */,
@ -4475,6 +4606,7 @@
D90D55D321327CD600EEEE04 /* AddReciepient.storyboard in Resources */,
D90A9D67213696E400A96E45 /* BankPicker.storyboard in Resources */,
5565FF2D1FE275E5002934E9 /* SanFranciscoText-MediumItalic.otf in Resources */,
D9BE023221E2DD45003AA8C7 /* PaymentSelection.storyboard in Resources */,
D922D9492135124200D43053 /* SendMoneyPaymentMode.storyboard in Resources */,
043770F121AD04240005B22D /* PennyTest.storyboard in Resources */,
D937038521490C3800D93077 /* KycForm1.storyboard in Resources */,
@ -4800,6 +4932,8 @@
D92B80262140C3CB00A25B26 /* MainService.swift in Sources */,
D9B414422161AE2800A53D9D /* DatePickerViewController.swift in Sources */,
0428DC682048FF91008355D7 /* WalletTransactionTableViewCell.swift in Sources */,
D9BE022E21E2DD45003AA8C7 /* PaymentSelectionWireframeInput.swift in Sources */,
D9BE023121E2DD45003AA8C7 /* PaymentSelectionViewInterface.swift in Sources */,
9F23DF512074A02B0025D6DF /* MyCollectionViewCell.swift in Sources */,
A28D38F0202D49C90012EF6A /* TransactionSearchViewController.swift in Sources */,
9FD260F81FD00458007A511D /* AppDelegate.swift in Sources */,
@ -4817,6 +4951,7 @@
D903113C214786EA00AD5BA9 /* ForgotPasswordModuleInterface.swift in Sources */,
D946719D21426DFB003924DB /* LoginViewInterface.swift in Sources */,
04CDC57E20809DCE0081BE50 /* Reward.swift in Sources */,
D9BE021021E2DC01003AA8C7 /* PaymentSelectionsViewController.swift in Sources */,
D922D9AB21351B7400D43053 /* SendMoneyVerificationInteractorIO.swift in Sources */,
D96A4FD721460B4A00CFD507 /* SplashScreenInteractor.swift in Sources */,
D97785A7215DC55F00754079 /* TransactionHistoryViewInterface.swift in Sources */,
@ -4890,9 +5025,11 @@
044124C71FEBA1BD00FD4240 /* FillRecoveryCodeViewController.swift in Sources */,
FF6E7D9621BF951D00A003B9 /* AppUpdateViewInterface.swift in Sources */,
A2E3379D20485825002DB015 /* PendingTableViewCell.swift in Sources */,
D9BE023521E2DDEC003AA8C7 /* PaymentSelectionTableViewCell.swift in Sources */,
D937037421490C3800D93077 /* KycForm2InteractorIO.swift in Sources */,
D9031143214786EA00AD5BA9 /* ForgotPasswordWireframeInput.swift in Sources */,
D92C24A721477EA600F6876F /* ResponseMessage.swift in Sources */,
D9BE022C21E2DD45003AA8C7 /* PaymentSelectionInteractorIO.swift in Sources */,
045CB0C6202F2A3D008DD982 /* _MessageComposeViewController.swift in Sources */,
D96BD11C216479E200DFE7D8 /* WalletStatementWireframeInput.swift in Sources */,
D97785A1215DC55F00754079 /* TransactionHistoryInteractor.swift in Sources */,
@ -4928,6 +5065,7 @@
D90D55CC21327CD600EEEE04 /* AddReciepientServiceType.swift in Sources */,
D9DAFE2C21354D8900483E71 /* SendMoenyPaymentModeCollectionViewCell.swift in Sources */,
D95B7043213F9A2C0053CC3D /* CALayerExtension.swift in Sources */,
D9BE023021E2DD45003AA8C7 /* PaymentSelectionViewController.swift in Sources */,
A25CF60920467BA40029BC12 /* InviteViewController.swift in Sources */,
D922D9AD21351B7400D43053 /* SendMoneyVerificationPresenter.swift in Sources */,
D92B802D2140C3CB00A25B26 /* MainViewInterface.swift in Sources */,
@ -4958,6 +5096,7 @@
D950BED221549242008367A1 /* HomeServiceType.swift in Sources */,
A2E33795204813C0002DB015 /* SendMoneyViewController.swift in Sources */,
D937034621490C1A00D93077 /* KycForm3ViewController.swift in Sources */,
D9BE022B21E2DD45003AA8C7 /* PaymentSelectionInteractor.swift in Sources */,
D937037721490C3800D93077 /* KycForm2Wireframe.swift in Sources */,
D937037F21490C3800D93077 /* KycForm1InteractorIO.swift in Sources */,
041AEAC81FF4D6C4004FEF06 /* CustomPrintPageRenderer.swift in Sources */,
@ -5057,10 +5196,13 @@
A2266A5D2028451700E890A6 /* AgentViewModel.swift in Sources */,
D922D9652135145F00D43053 /* SendMoneyParentInteractor.swift in Sources */,
04E36E1921AE585200783685 /* PennyTestSubmitModuleInterface.swift in Sources */,
D9BE022A21E2DD45003AA8C7 /* PaymentSelectionServiceType.swift in Sources */,
04BED13A2015BC6300B4CEB7 /* CDDenum.swift in Sources */,
D9BE022F21E2DD45003AA8C7 /* PaymentSelectionWireframe.swift in Sources */,
D92B80292140C3CB00A25B26 /* MainInteractorIO.swift in Sources */,
0496B84F1FE7DFCD0044810E /* StringExtension.swift in Sources */,
D9B7ADF52130048E009B0564 /* ExchangeRatesPresenter.swift in Sources */,
D9BE022821E2DD45003AA8C7 /* PaymentSelectionModuleInterface.swift in Sources */,
A2E3379720483C84002DB015 /* InviteViewModel.swift in Sources */,
0448C2A11FF34D9C001FEA77 /* RecipientViewModel.swift in Sources */,
D977859F215DC55F00754079 /* TransactionHistoryServiceType.swift in Sources */,
@ -5134,6 +5276,7 @@
9F2E45A2204E8A3F00D0B28C /* CalendarViewController.swift in Sources */,
D90A9D66213696E400A96E45 /* BankPickerViewController.swift in Sources */,
04DC27EE21A51E83003714F5 /* autoRefundService.swift in Sources */,
D9BE022D21E2DD45003AA8C7 /* PaymentSelectionPresenter.swift in Sources */,
0428DC6A204910F9008355D7 /* WalletTransactionListViewController.swift in Sources */,
049E61A51FF0AE9D00817C76 /* UrlManager.swift in Sources */,
D9AFE856215C7166005F3A25 /* HomeCollectionTableViewCell.swift in Sources */,
@ -5250,6 +5393,7 @@
D922D9672135145F00D43053 /* SendMoneyParentPresenter.swift in Sources */,
D9B39678214F7DDC0072A9B8 /* MultiMediaManager.swift in Sources */,
A2266A5920281E3C00E890A6 /* AgentTableViewCell.swift in Sources */,
D9BE022921E2DD45003AA8C7 /* PaymentSelectionService.swift in Sources */,
04358CCE204EBD8000055813 /* WalletPopUpViewController.swift in Sources */,
D950BED621549242008367A1 /* HomePresenter.swift in Sources */,
9F03D22C1FECFC22002E132E /* RecipientFormViewController.swift in Sources */,

6
GMERemittance/Module/AutoDebit/User Interface/View/AutoDebit.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>
@ -175,7 +175,7 @@
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="4064.8000000000002" y="724.58770614692662"/>
<point key="canvasLocation" x="4041" y="901"/>
</scene>
</scenes>
<resources>

31
GMERemittance/Module/PaymentSelection/Application Logic/Interactor/PaymentSelectionInteractor.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 {
}

15
GMERemittance/Module/PaymentSelection/Application Logic/Interactor/PaymentSelectionInteractorIO.swift

@ -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 {
}

18
GMERemittance/Module/PaymentSelection/Application Logic/Service/PaymentSelectionService.swift

@ -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
}

13
GMERemittance/Module/PaymentSelection/Application Logic/Service/PaymentSelectionServiceType.swift

@ -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 {
}

11
GMERemittance/Module/PaymentSelection/Module Interface/PaymentSelectionModuleInterface.swift

@ -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 {
}

32
GMERemittance/Module/PaymentSelection/User Interface/Presenter/PaymentSelectionPresenter.swift

@ -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 {
}

20
GMERemittance/Module/PaymentSelection/User Interface/View/Cells/PaymentSelectionTableViewCell.swift

@ -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
}
}

129
GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelection.storyboard

@ -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>

41
GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelectionViewController.swift

@ -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 {
}

10
GMERemittance/Module/PaymentSelection/User Interface/View/PaymentSelectionViewInterface.swift

@ -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 {
}

34
GMERemittance/Module/PaymentSelection/User Interface/Wireframe/PaymentSelectionWireframe.swift

@ -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
}
}

13
GMERemittance/Module/PaymentSelection/User Interface/Wireframe/PaymentSelectionWireframeInput.swift

@ -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 {
}

133
GMERemittance/Recipient/PaymentSelections.storyboard

@ -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>

30
GMERemittance/Recipient/PaymentSelectionsViewController.swift

@ -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.
}
*/
}

13
GMERemittance/Recipient/RecipientListViewController.swift

@ -87,9 +87,15 @@ extension RecipientListViewController: UITableViewDelegate,UITableViewDataSource
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// show the action sheet to choose the payment method.
startSendMoneyProcess(index: indexPath.row)
}
private func showMethodSelection(for index: Int) {
}
private func startSendMoneyProcess(index: Int) {
if let navigation = self.navigationController {
if let reciepient = self.reciepients?.elementAt(index: index) {
@ -128,13 +134,6 @@ extension RecipientListViewController: UITableViewDelegate,UITableViewDataSource
}
// self.fetchReciepientList(username: myUsername, success: { (_recipients) in
// self.hideProgressHud()
// self.reciepients = _recipients
// }, failure: { (error) in
// self.hideProgressHud()
// self.alert(message: error.localizedDescription)
// })
}, failure: { (error) in
self.alert(message: error.localizedDescription)
self.hideProgressHud()

Loading…
Cancel
Save