Browse Source

BiometricAuth - apply SwiftLint

pull/1/head
InKwon James Kim 5 years ago
parent
commit
72e8dcc2bc
  1. 94
      GME Remit.xcodeproj/project.pbxproj
  2. 1
      GME Remit/APIs/ExchangeRateApiService.swift
  3. 1
      GME Remit/Models/NativeCountry.swift
  4. BIN
      GME Remit/Modules/.DS_Store
  5. 2
      GME Remit/Modules/BiometricAuthModules/BiometricAuthentication/User Interface/Presenter/BiometricAuthenticationPresenter.swift
  6. 5
      GME Remit/Modules/BiometricAuthModules/BiometricAuthentication/User Interface/View/BiometricAuthenticationViewController.swift
  7. 6
      GME Remit/Modules/BiometricAuthModules/BiometricAuthentication/User Interface/Wireframe/BiometricAuthenticationWireframe.swift
  8. 31
      GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/Application Logic/Interactor/BiometricAuthenticationNotificationInteractor.swift
  9. 32
      GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/Presenter/BiometricAuthenticationNotificationPresenter.swift
  10. 34
      GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/Wireframe/BiometricAuthenticationNotificationWireframe.swift
  11. BIN
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/.DS_Store
  12. 31
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Interactor/BiometricNotificationInteractor.swift
  13. 4
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Interactor/BiometricNotificationInteractorIO.swift
  14. 2
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Service/BiometricNotificationService.swift
  15. 2
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Service/BiometricNotificationServiceType.swift
  16. 2
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/Module Interface/BiometricNotificationModuleInterface.swift
  17. 32
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Presenter/BiometricNotificationPresenter.swift
  18. 0
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/.DS_Store
  19. 2
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/BiometricNotification.storyboard
  20. 6
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/BiometricNotificationViewController.swift
  21. 2
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/BiometricNotificationViewInterface.swift
  22. BIN
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Wireframe/.DS_Store
  23. 34
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Wireframe/BiometricNotificationWireframe.swift
  24. 2
      GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Wireframe/BiometricNotificationWireframeInput.swift
  25. 2
      GME Remit/Modules/Home/User Interface/View/HomeViewController.swift
  26. 11
      GME Remit/Modules/SendMoneyModules/PaymentSelection/User Interface/View/PaymentSelectionViewController.swift
  27. 1
      GME Remit/Utilities/SearchAddress/Application Logic/Model/JusoCommon.swift

94
GME Remit.xcodeproj/project.pbxproj

@ -242,17 +242,17 @@
73469FA22293C1B00062946B /* SelectPaymentViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73469F962293C1AF0062946B /* SelectPaymentViewInterface.swift */; };
73469FA32293C1B00062946B /* SelectPayment.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 73469F972293C1AF0062946B /* SelectPayment.storyboard */; };
73538B2222EFC5FA00188CDD /* CommonServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 73538B2122EFC5FA00188CDD /* CommonServiceType.swift */; };
736A8C402277EB2A00337A50 /* BiometricAuthenticationNotificationModuleInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C2D2277EB2900337A50 /* BiometricAuthenticationNotificationModuleInterface.swift */; };
736A8C412277EB2A00337A50 /* BiometricAuthenticationNotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C312277EB2900337A50 /* BiometricAuthenticationNotificationService.swift */; };
736A8C422277EB2A00337A50 /* BiometricAuthenticationNotificationServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C322277EB2900337A50 /* BiometricAuthenticationNotificationServiceType.swift */; };
736A8C432277EB2A00337A50 /* BiometricAuthenticationNotificationInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C342277EB2900337A50 /* BiometricAuthenticationNotificationInteractor.swift */; };
736A8C442277EB2A00337A50 /* BiometricAuthenticationNotificationInteractorIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C352277EB2900337A50 /* BiometricAuthenticationNotificationInteractorIO.swift */; };
736A8C452277EB2A00337A50 /* BiometricAuthenticationNotificationPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C382277EB2900337A50 /* BiometricAuthenticationNotificationPresenter.swift */; };
736A8C462277EB2A00337A50 /* BiometricAuthenticationNotificationWireframeInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3A2277EB2900337A50 /* BiometricAuthenticationNotificationWireframeInput.swift */; };
736A8C472277EB2A00337A50 /* BiometricAuthenticationNotificationWireframe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3B2277EB2900337A50 /* BiometricAuthenticationNotificationWireframe.swift */; };
736A8C482277EB2A00337A50 /* BiometricAuthenticationNotification.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 736A8C3D2277EB2900337A50 /* BiometricAuthenticationNotification.storyboard */; };
736A8C492277EB2A00337A50 /* BiometricAuthenticationNotificationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3E2277EB2900337A50 /* BiometricAuthenticationNotificationViewController.swift */; };
736A8C4A2277EB2A00337A50 /* BiometricAuthenticationNotificationViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3F2277EB2900337A50 /* BiometricAuthenticationNotificationViewInterface.swift */; };
736A8C402277EB2A00337A50 /* BiometricNotificationModuleInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C2D2277EB2900337A50 /* BiometricNotificationModuleInterface.swift */; };
736A8C412277EB2A00337A50 /* BiometricNotificationService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C312277EB2900337A50 /* BiometricNotificationService.swift */; };
736A8C422277EB2A00337A50 /* BiometricNotificationServiceType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C322277EB2900337A50 /* BiometricNotificationServiceType.swift */; };
736A8C432277EB2A00337A50 /* BiometricNotificationInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C342277EB2900337A50 /* BiometricNotificationInteractor.swift */; };
736A8C442277EB2A00337A50 /* BiometricNotificationInteractorIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C352277EB2900337A50 /* BiometricNotificationInteractorIO.swift */; };
736A8C452277EB2A00337A50 /* BiometricNotificationPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C382277EB2900337A50 /* BiometricNotificationPresenter.swift */; };
736A8C462277EB2A00337A50 /* BiometricNotificationWireframeInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3A2277EB2900337A50 /* BiometricNotificationWireframeInput.swift */; };
736A8C472277EB2A00337A50 /* BiometricNotificationWireframe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3B2277EB2900337A50 /* BiometricNotificationWireframe.swift */; };
736A8C482277EB2A00337A50 /* BiometricNotification.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 736A8C3D2277EB2900337A50 /* BiometricNotification.storyboard */; };
736A8C492277EB2A00337A50 /* BiometricNotificationViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3E2277EB2900337A50 /* BiometricNotificationViewController.swift */; };
736A8C4A2277EB2A00337A50 /* BiometricNotificationViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 736A8C3F2277EB2900337A50 /* BiometricNotificationViewInterface.swift */; };
7383F43622DEB864003D6393 /* GMEDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7383F43522DEB864003D6393 /* GMEDB.swift */; };
7383F43822DEB87D003D6393 /* DatabaseTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7383F43722DEB87D003D6393 /* DatabaseTest.swift */; };
7383F43E22DF15B8003D6393 /* UserDefaultsWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7383F43D22DF15B8003D6393 /* UserDefaultsWrapper.swift */; };
@ -2467,17 +2467,17 @@
73469F962293C1AF0062946B /* SelectPaymentViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SelectPaymentViewInterface.swift; sourceTree = "<group>"; };
73469F972293C1AF0062946B /* SelectPayment.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = SelectPayment.storyboard; sourceTree = "<group>"; };
73538B2122EFC5FA00188CDD /* CommonServiceType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CommonServiceType.swift; sourceTree = "<group>"; };
736A8C2D2277EB2900337A50 /* BiometricAuthenticationNotificationModuleInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationModuleInterface.swift; sourceTree = "<group>"; };
736A8C312277EB2900337A50 /* BiometricAuthenticationNotificationService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationService.swift; sourceTree = "<group>"; };
736A8C322277EB2900337A50 /* BiometricAuthenticationNotificationServiceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationServiceType.swift; sourceTree = "<group>"; };
736A8C342277EB2900337A50 /* BiometricAuthenticationNotificationInteractor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationInteractor.swift; sourceTree = "<group>"; };
736A8C352277EB2900337A50 /* BiometricAuthenticationNotificationInteractorIO.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationInteractorIO.swift; sourceTree = "<group>"; };
736A8C382277EB2900337A50 /* BiometricAuthenticationNotificationPresenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationPresenter.swift; sourceTree = "<group>"; };
736A8C3A2277EB2900337A50 /* BiometricAuthenticationNotificationWireframeInput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationWireframeInput.swift; sourceTree = "<group>"; };
736A8C3B2277EB2900337A50 /* BiometricAuthenticationNotificationWireframe.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationWireframe.swift; sourceTree = "<group>"; };
736A8C3D2277EB2900337A50 /* BiometricAuthenticationNotification.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = BiometricAuthenticationNotification.storyboard; sourceTree = "<group>"; };
736A8C3E2277EB2900337A50 /* BiometricAuthenticationNotificationViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationViewController.swift; sourceTree = "<group>"; };
736A8C3F2277EB2900337A50 /* BiometricAuthenticationNotificationViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricAuthenticationNotificationViewInterface.swift; sourceTree = "<group>"; };
736A8C2D2277EB2900337A50 /* BiometricNotificationModuleInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationModuleInterface.swift; sourceTree = "<group>"; };
736A8C312277EB2900337A50 /* BiometricNotificationService.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationService.swift; sourceTree = "<group>"; };
736A8C322277EB2900337A50 /* BiometricNotificationServiceType.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationServiceType.swift; sourceTree = "<group>"; };
736A8C342277EB2900337A50 /* BiometricNotificationInteractor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationInteractor.swift; sourceTree = "<group>"; };
736A8C352277EB2900337A50 /* BiometricNotificationInteractorIO.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationInteractorIO.swift; sourceTree = "<group>"; };
736A8C382277EB2900337A50 /* BiometricNotificationPresenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationPresenter.swift; sourceTree = "<group>"; };
736A8C3A2277EB2900337A50 /* BiometricNotificationWireframeInput.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationWireframeInput.swift; sourceTree = "<group>"; };
736A8C3B2277EB2900337A50 /* BiometricNotificationWireframe.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationWireframe.swift; sourceTree = "<group>"; };
736A8C3D2277EB2900337A50 /* BiometricNotification.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = BiometricNotification.storyboard; sourceTree = "<group>"; };
736A8C3E2277EB2900337A50 /* BiometricNotificationViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationViewController.swift; sourceTree = "<group>"; };
736A8C3F2277EB2900337A50 /* BiometricNotificationViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BiometricNotificationViewInterface.swift; sourceTree = "<group>"; };
7383F43522DEB864003D6393 /* GMEDB.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GMEDB.swift; sourceTree = "<group>"; };
7383F43722DEB87D003D6393 /* DatabaseTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatabaseTest.swift; sourceTree = "<group>"; };
7383F43D22DF15B8003D6393 /* UserDefaultsWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UserDefaultsWrapper.swift; sourceTree = "<group>"; };
@ -6068,26 +6068,26 @@
736A8C262277EAC100337A50 /* BiometricAuthModules */ = {
isa = PBXGroup;
children = (
736A8C2B2277EB2900337A50 /* BiometricAuthenticationNotification */,
736A8C2B2277EB2900337A50 /* BiometricNotification */,
BEC9AFE7224FC49C00A2DA06 /* BiometricAuthentication */,
);
path = BiometricAuthModules;
sourceTree = "<group>";
};
736A8C2B2277EB2900337A50 /* BiometricAuthenticationNotification */ = {
736A8C2B2277EB2900337A50 /* BiometricNotification */ = {
isa = PBXGroup;
children = (
736A8C2C2277EB2900337A50 /* Module Interface */,
736A8C2E2277EB2900337A50 /* Application Logic */,
736A8C362277EB2900337A50 /* User Interface */,
);
path = BiometricAuthenticationNotification;
path = BiometricNotification;
sourceTree = "<group>";
};
736A8C2C2277EB2900337A50 /* Module Interface */ = {
isa = PBXGroup;
children = (
736A8C2D2277EB2900337A50 /* BiometricAuthenticationNotificationModuleInterface.swift */,
736A8C2D2277EB2900337A50 /* BiometricNotificationModuleInterface.swift */,
);
path = "Module Interface";
sourceTree = "<group>";
@ -6112,8 +6112,8 @@
736A8C302277EB2900337A50 /* Service */ = {
isa = PBXGroup;
children = (
736A8C312277EB2900337A50 /* BiometricAuthenticationNotificationService.swift */,
736A8C322277EB2900337A50 /* BiometricAuthenticationNotificationServiceType.swift */,
736A8C312277EB2900337A50 /* BiometricNotificationService.swift */,
736A8C322277EB2900337A50 /* BiometricNotificationServiceType.swift */,
);
path = Service;
sourceTree = "<group>";
@ -6121,8 +6121,8 @@
736A8C332277EB2900337A50 /* Interactor */ = {
isa = PBXGroup;
children = (
736A8C342277EB2900337A50 /* BiometricAuthenticationNotificationInteractor.swift */,
736A8C352277EB2900337A50 /* BiometricAuthenticationNotificationInteractorIO.swift */,
736A8C342277EB2900337A50 /* BiometricNotificationInteractor.swift */,
736A8C352277EB2900337A50 /* BiometricNotificationInteractorIO.swift */,
);
path = Interactor;
sourceTree = "<group>";
@ -6140,7 +6140,7 @@
736A8C372277EB2900337A50 /* Presenter */ = {
isa = PBXGroup;
children = (
736A8C382277EB2900337A50 /* BiometricAuthenticationNotificationPresenter.swift */,
736A8C382277EB2900337A50 /* BiometricNotificationPresenter.swift */,
);
path = Presenter;
sourceTree = "<group>";
@ -6148,8 +6148,8 @@
736A8C392277EB2900337A50 /* Wireframe */ = {
isa = PBXGroup;
children = (
736A8C3A2277EB2900337A50 /* BiometricAuthenticationNotificationWireframeInput.swift */,
736A8C3B2277EB2900337A50 /* BiometricAuthenticationNotificationWireframe.swift */,
736A8C3A2277EB2900337A50 /* BiometricNotificationWireframeInput.swift */,
736A8C3B2277EB2900337A50 /* BiometricNotificationWireframe.swift */,
);
path = Wireframe;
sourceTree = "<group>";
@ -6157,9 +6157,9 @@
736A8C3C2277EB2900337A50 /* View */ = {
isa = PBXGroup;
children = (
736A8C3D2277EB2900337A50 /* BiometricAuthenticationNotification.storyboard */,
736A8C3E2277EB2900337A50 /* BiometricAuthenticationNotificationViewController.swift */,
736A8C3F2277EB2900337A50 /* BiometricAuthenticationNotificationViewInterface.swift */,
736A8C3D2277EB2900337A50 /* BiometricNotification.storyboard */,
736A8C3E2277EB2900337A50 /* BiometricNotificationViewController.swift */,
736A8C3F2277EB2900337A50 /* BiometricNotificationViewInterface.swift */,
);
path = View;
sourceTree = "<group>";
@ -12782,7 +12782,7 @@
D93C2A3D22000D650079BF03 /* iPad_transkey_landscape_alnum_cmd_8_english.png in Resources */,
D93C29D122000D650079BF03 /* iPhone_transkey_number_cmd_2_2_thai.png in Resources */,
D93C277822000D630079BF03 /* iPhone_transkey_alnum_sym_9.png in Resources */,
736A8C482277EB2A00337A50 /* BiometricAuthenticationNotification.storyboard in Resources */,
736A8C482277EB2A00337A50 /* BiometricNotification.storyboard in Resources */,
D93C26B922000D630079BF03 /* iPhone_transkey_landscape_alnum_eng_10.png in Resources */,
D93C281622000D640079BF03 /* iPad_transkey_landscape_alnum_cap_20.png in Resources */,
D93C284222000D640079BF03 /* iPad_transkey_keypad_bg.png in Resources */,
@ -14070,7 +14070,7 @@
73210DA522FBE73100715D6C /* RecipientsInteractor.swift in Sources */,
7383F43E22DF15B8003D6393 /* UserDefaultsWrapper.swift in Sources */,
730197B222535135001954AB /* kycForm2Wireframe.swift in Sources */,
736A8C422277EB2A00337A50 /* BiometricAuthenticationNotificationServiceType.swift in Sources */,
736A8C422277EB2A00337A50 /* BiometricNotificationServiceType.swift in Sources */,
73149F6822E5AF8000D66B26 /* LauncherScreenPresenter.swift in Sources */,
D9D2242B22407EBA00C7313D /* ResendListModel.swift in Sources */,
04E36E2121AE585200783685 /* PennyTestSubmitViewController.swift in Sources */,
@ -14096,7 +14096,7 @@
7389600C22C2F208003FEA90 /* TablePresenterService.swift in Sources */,
D903113C214786EA00AD5BA9 /* ForgotPasswordModuleInterface.swift in Sources */,
730D78BD227A94F2007E517E /* SearchAddressViewInterface.swift in Sources */,
736A8C462277EB2A00337A50 /* BiometricAuthenticationNotificationWireframeInput.swift in Sources */,
736A8C462277EB2A00337A50 /* BiometricNotificationWireframeInput.swift in Sources */,
BEC9B003224FC49C00A2DA06 /* BiometricAuthenticationWireframeInput.swift in Sources */,
D946719D21426DFB003924DB /* LoginViewInterface.swift in Sources */,
D922D9AB21351B7400D43053 /* SendMoneyVerificationInteractorIO.swift in Sources */,
@ -14123,7 +14123,7 @@
D90D55D221327CD600EEEE04 /* AddReciepientWireframeInput.swift in Sources */,
730D7887227A94E1007E517E /* RedeemViewInterface.swift in Sources */,
73FE8837228A4A8C00A5EB56 /* OrderHistoryModuleInterface.swift in Sources */,
736A8C442277EB2A00337A50 /* BiometricAuthenticationNotificationInteractorIO.swift in Sources */,
736A8C442277EB2A00337A50 /* BiometricNotificationInteractorIO.swift in Sources */,
73FE8839228A4A8C00A5EB56 /* OrderHistoryServiceType.swift in Sources */,
73071AC72296CF9B008840FD /* HotLineInteractorIO.swift in Sources */,
73538B2222EFC5FA00188CDD /* CommonServiceType.swift in Sources */,
@ -14220,7 +14220,7 @@
73469F9D2293C1B00062946B /* SelectPaymentPresenter.swift in Sources */,
739A7784228BB2B40018A1A9 /* DetailOrderInteractor.swift in Sources */,
D9BE022C21E2DD45003AA8C7 /* PaymentSelectionInteractorIO.swift in Sources */,
736A8C452277EB2A00337A50 /* BiometricAuthenticationNotificationPresenter.swift in Sources */,
736A8C452277EB2A00337A50 /* BiometricNotificationPresenter.swift in Sources */,
D9A060DF223F680B00F5D7C4 /* ResendExchangeViewController.swift in Sources */,
730D787F227A94E1007E517E /* RedeemService.swift in Sources */,
73BCCDCF228993040057B161 /* RewardGroupModuleInterface.swift in Sources */,
@ -14251,12 +14251,12 @@
73A6E20222CEE51600E9BC68 /* BadgeAppearance.swift in Sources */,
D97785AA215DD04400754079 /* TransactionHistoryTableViewCell.swift in Sources */,
730D7894227A94E1007E517E /* RewardItemCollectionViewCell.swift in Sources */,
736A8C432277EB2A00337A50 /* BiometricAuthenticationNotificationInteractor.swift in Sources */,
736A8C432277EB2A00337A50 /* BiometricNotificationInteractor.swift in Sources */,
D95B5E3921311057000C0B33 /* GmeContactsModuleInterface.swift in Sources */,
7313872322E68F4C0095ACEB /* ScrollableSegmentedControl.swift in Sources */,
D9CB4977213290B200B7A124 /* SendMoneyTransFerReasonViewModel.swift in Sources */,
D922D98921351AAE00D43053 /* SendMoneyExchangeRatePresenter.swift in Sources */,
736A8C472277EB2A00337A50 /* BiometricAuthenticationNotificationWireframe.swift in Sources */,
736A8C472277EB2A00337A50 /* BiometricNotificationWireframe.swift in Sources */,
730D7891227A94E1007E517E /* RewardWireframe.swift in Sources */,
7389601322C2F208003FEA90 /* TablePresenterViewInterface.swift in Sources */,
D9031146214786EA00AD5BA9 /* ForgotPasswordViewInterface.swift in Sources */,
@ -14397,7 +14397,7 @@
042E6EFD203EAF95004667A1 /* SideMenuViewController.swift in Sources */,
D9535CCC2150C14700EDFCD2 /* KYCResponseModel.swift in Sources */,
D96A4FD621460B4A00CFD507 /* SplashScreenServiceType.swift in Sources */,
736A8C412277EB2A00337A50 /* BiometricAuthenticationNotificationService.swift in Sources */,
736A8C412277EB2A00337A50 /* BiometricNotificationService.swift in Sources */,
73210DA122FBE73100715D6C /* RecipientsModuleInterface.swift in Sources */,
D9A060D9223F680B00F5D7C4 /* ResendExchangeServiceType.swift in Sources */,
730D788A227A94E1007E517E /* RewardProduct.swift in Sources */,
@ -14479,7 +14479,7 @@
D9B7ADF72130048E009B0564 /* ExchangeRatesWireframe.swift in Sources */,
BE74AFD0227C8FF200F05CE7 /* AutoDebitViewController.swift in Sources */,
D96A4FFA2146625C00CFD507 /* RegisterInteractorIO.swift in Sources */,
736A8C4A2277EB2A00337A50 /* BiometricAuthenticationNotificationViewInterface.swift in Sources */,
736A8C4A2277EB2A00337A50 /* BiometricNotificationViewInterface.swift in Sources */,
D9B7ADF82130048E009B0564 /* ExchangeRatesViewController.swift in Sources */,
73BCCDD6228993040057B161 /* RewardGroupWireframe.swift in Sources */,
73BCCDD0228993040057B161 /* RewardGroupServiceType.swift in Sources */,
@ -14524,7 +14524,7 @@
04E36E2021AE585200783685 /* PennyTestSubmitWireframeInput.swift in Sources */,
D90A9D5C2136942300A96E45 /* BankBranchPickerViewController.swift in Sources */,
D922D9682135145F00D43053 /* SendMoneyParentWireframe.swift in Sources */,
736A8C402277EB2A00337A50 /* BiometricAuthenticationNotificationModuleInterface.swift in Sources */,
736A8C402277EB2A00337A50 /* BiometricNotificationModuleInterface.swift in Sources */,
73149F6422E5AF8000D66B26 /* LauncherScreenServiceType.swift in Sources */,
73071ACD2296CF9B008840FD /* HotLineViewInterface.swift in Sources */,
730197AF22535135001954AB /* kycForm2InteractorIO.swift in Sources */,
@ -14550,7 +14550,7 @@
D946719621426DFB003924DB /* LoginService.swift in Sources */,
043770F021AD04240005B22D /* PennyTestViewController.swift in Sources */,
D92B80282140C3CB00A25B26 /* MainInteractor.swift in Sources */,
736A8C492277EB2A00337A50 /* BiometricAuthenticationNotificationViewController.swift in Sources */,
736A8C492277EB2A00337A50 /* BiometricNotificationViewController.swift in Sources */,
04E36E1E21AE585200783685 /* PennyTestSubmitPresenter.swift in Sources */,
D92E6570222620A0004D1B3D /* SendMoneyCodeViewInterface.swift in Sources */,
73469FA02293C1B00062946B /* SelectPaymentViewController.swift in Sources */,

1
GME Remit/APIs/ExchangeRateApiService.swift

@ -9,7 +9,6 @@
import Foundation
import Alamofire
protocol FetchCountryCurrencyInformation: ApiServiceType {
func fetchCountryCurrencyInfo(
isAuth: Bool,

1
GME Remit/Models/NativeCountry.swift

@ -18,7 +18,6 @@ struct StaticModels {
}
}
struct NativeCountryContainer: Mappable {
var nativeCountries = [NativeCountryModel]()

BIN
GME Remit/Modules/.DS_Store

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthentication/User Interface/Presenter/BiometricAuthenticationPresenter.swift

@ -22,9 +22,7 @@ class BiometricAuthenticationPresenter {
// MARK: BiometricAuthentication module interface
extension BiometricAuthenticationPresenter: BiometricAuthenticationModuleInterface {
func showBiometricAuthentication() {
// TODO:
self.wireframe?.showBiometricAuthentication(completion: nil)
}
}

5
GME Remit/Modules/BiometricAuthModules/BiometricAuthentication/User Interface/View/BiometricAuthenticationViewController.swift

@ -36,7 +36,8 @@ enum BiometricAuthenticationError: Error {
case .biometryNotAvailable:
msg = "FaceID & TouchID is not available."
case .biometryNotEnrolled:
msg = "FaceID & TouchID is not set up.\nCheck your device setting.\n(Setting -> FaceID(TouchID) & Passcode"
let path = "(Setting -> FaceID(TouchID) & Passcode"
msg = "FaceID & TouchID is not set up.\nCheck your device setting.\n\(path)"
case .biometryLockout:
msg = "FaceID & TouchID is locked."
default:
@ -46,8 +47,6 @@ enum BiometricAuthenticationError: Error {
}
}
protocol BiometricAuthenticationViewControllerDelegate: class {
func doSelectLocalAuthenticationPolicy(
_ viewController: BiometricAuthenticationViewController

6
GME Remit/Modules/BiometricAuthModules/BiometricAuthentication/User Interface/Wireframe/BiometricAuthenticationWireframe.swift

@ -72,7 +72,11 @@ extension BiometricAuthenticationWireframe: BiometricAuthenticationWireframeInpu
DispatchQueue.main.async {
let bioError = self.setBiometricError(error: error)
completion?(bioError)
self.delegate?.viewController(vc, didFailWithError: bioError, errorMessage: bioError.localizedDescription)
self.delegate?.viewController(
vc,
didFailWithError: bioError,
errorMessage: bioError.localizedDescription
)
}
}
}

31
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/Application Logic/Interactor/BiometricAuthenticationNotificationInteractor.swift

@ -1,31 +0,0 @@
//
// BiometricAuthenticationNotificationInteractor.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
class BiometricAuthenticationNotificationInteractor {
// MARK: Properties
weak var output: BiometricAuthenticationNotificationInteractorOutput?
private let service: BiometricAuthenticationNotificationServiceType
// MARK: Initialization
init(service: BiometricAuthenticationNotificationServiceType) {
self.service = service
}
// MARK: Converting entities
}
// MARK: BiometricAuthenticationNotification interactor input interface
extension BiometricAuthenticationNotificationInteractor: BiometricAuthenticationNotificationInteractorInput {
}

32
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/Presenter/BiometricAuthenticationNotificationPresenter.swift

@ -1,32 +0,0 @@
//
// BiometricAuthenticationNotificationPresenter.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
class BiometricAuthenticationNotificationPresenter {
// MARK: Properties
weak var view: BiometricAuthenticationNotificationViewInterface?
var interactor: BiometricAuthenticationNotificationInteractorInput?
var wireframe: BiometricAuthenticationNotificationWireframeInput?
// MARK: Converting entities
}
// MARK: BiometricAuthenticationNotification module interface
extension BiometricAuthenticationNotificationPresenter: BiometricAuthenticationNotificationModuleInterface {
}
// MARK: BiometricAuthenticationNotification interactor output interface
extension BiometricAuthenticationNotificationPresenter: BiometricAuthenticationNotificationInteractorOutput {
}

34
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/Wireframe/BiometricAuthenticationNotificationWireframe.swift

@ -1,34 +0,0 @@
//
// BiometricAuthenticationNotificationWireframe.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import UIKit
class BiometricAuthenticationNotificationWireframe {
weak var view: UIViewController!
}
extension BiometricAuthenticationNotificationWireframe: BiometricAuthenticationNotificationWireframeInput {
var storyboardName: String {return "BiometricAuthenticationNotification"}
func getMainView() -> UIViewController {
let service = BiometricAuthenticationNotificationService()
let interactor = BiometricAuthenticationNotificationInteractor(service: service)
let presenter = BiometricAuthenticationNotificationPresenter()
let viewController = viewControllerFromStoryboard(of: BiometricAuthenticationNotificationViewController.self)
viewController.presenter = presenter
interactor.output = presenter
presenter.interactor = interactor
presenter.wireframe = self
presenter.view = viewController
self.view = viewController
return viewController
}
}

BIN
GME Remit/Modules/BiometricAuthModules/BiometricNotification/.DS_Store

31
GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Interactor/BiometricNotificationInteractor.swift

@ -0,0 +1,31 @@
//
// BiometricNotificationInteractor.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
class BiometricNotificationInteractor {
// MARK: Properties
weak var output: BiometricNotificationInteractorOutput?
private let service: BiometricNotificationServiceType
// MARK: Initialization
init(service: BiometricNotificationServiceType) {
self.service = service
}
// MARK: Converting entities
}
// MARK: BiometricAuthenticationNotification interactor input interface
extension BiometricNotificationInteractor: BiometricNotificationInteractorInput {
}

4
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/Application Logic/Interactor/BiometricAuthenticationNotificationInteractorIO.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Interactor/BiometricNotificationInteractorIO.swift

@ -6,10 +6,10 @@
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
protocol BiometricAuthenticationNotificationInteractorInput: class {
protocol BiometricNotificationInteractorInput: class {
}
protocol BiometricAuthenticationNotificationInteractorOutput: class {
protocol BiometricNotificationInteractorOutput: class {
}

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/Application Logic/Service/BiometricAuthenticationNotificationService.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Service/BiometricNotificationService.swift

@ -8,7 +8,7 @@
import Foundation
class BiometricAuthenticationNotificationService: BiometricAuthenticationNotificationServiceType {
class BiometricNotificationService: BiometricNotificationServiceType {
// MARK: Properties

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/Application Logic/Service/BiometricAuthenticationNotificationServiceType.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/Application Logic/Service/BiometricNotificationServiceType.swift

@ -8,6 +8,6 @@
import Foundation
protocol BiometricAuthenticationNotificationServiceType: class {
protocol BiometricNotificationServiceType: class {
}

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/Module Interface/BiometricAuthenticationNotificationModuleInterface.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/Module Interface/BiometricNotificationModuleInterface.swift

@ -6,6 +6,6 @@
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
protocol BiometricAuthenticationNotificationModuleInterface: class {
protocol BiometricNotificationModuleInterface: class {
}

32
GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Presenter/BiometricNotificationPresenter.swift

@ -0,0 +1,32 @@
//
// BiometricAuthenticationNotificationPresenter.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import Foundation
class BiometricNotificationPresenter {
// MARK: Properties
weak var view: BiometricNotificationViewInterface?
var interactor: BiometricNotificationInteractorInput?
var wireframe: BiometricNotificationWireframeInput?
// MARK: Converting entities
}
// MARK: BiometricAuthenticationNotification module interface
extension BiometricNotificationPresenter: BiometricNotificationModuleInterface {
}
// MARK: BiometricAuthenticationNotification interactor output interface
extension BiometricNotificationPresenter: BiometricNotificationInteractorOutput {
}

0
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/View/.DS_Store → GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/.DS_Store

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/View/BiometricAuthenticationNotification.storyboard → GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/BiometricNotification.storyboard

@ -21,7 +21,7 @@
<!--BiometricAuthenticationNotification-->
<scene sceneID="R60-Pu-Hpy">
<objects>
<viewController storyboardIdentifier="BiometricAuthenticationNotificationViewController" title="BiometricAuthenticationNotification" id="HSb-ou-7T5" customClass="BiometricAuthenticationNotificationViewController" customModule="GME_Remit" sceneMemberID="viewController">
<viewController storyboardIdentifier="BiometricNotificationViewController" title="BiometricAuthenticationNotification" id="HSb-ou-7T5" customClass="BiometricNotificationViewController" customModule="GME_Remit" customModuleProvider="target" sceneMemberID="viewController">
<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"/>

6
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/View/BiometricAuthenticationNotificationViewController.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/BiometricNotificationViewController.swift

@ -8,11 +8,11 @@
import UIKit
class BiometricAuthenticationNotificationViewController: UIViewController {
class BiometricNotificationViewController: UIViewController {
// MARK: Properties
var presenter: BiometricAuthenticationNotificationModuleInterface?
var presenter: BiometricNotificationModuleInterface?
// MARK: IBOutlets
@IBOutlet weak var useBiometricAuthButton: UIButton!
@ -66,6 +66,6 @@ class BiometricAuthenticationNotificationViewController: UIViewController {
}
// MARK: BiometricAuthenticationNotificationViewInterface
extension BiometricAuthenticationNotificationViewController: BiometricAuthenticationNotificationViewInterface {
extension BiometricNotificationViewController: BiometricNotificationViewInterface {
}

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/View/BiometricAuthenticationNotificationViewInterface.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/View/BiometricNotificationViewInterface.swift

@ -6,6 +6,6 @@
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
protocol BiometricAuthenticationNotificationViewInterface: class {
protocol BiometricNotificationViewInterface: class {
}

BIN
GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Wireframe/.DS_Store

34
GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Wireframe/BiometricNotificationWireframe.swift

@ -0,0 +1,34 @@
//
// BiometricAuthenticationNotificationWireframe.swift
// GME Remit
//
// Created by InKwon Devik Kim on 30/04/2019.
//Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
import UIKit
class BiometricNotificationWireframe {
weak var view: UIViewController!
}
extension BiometricNotificationWireframe: BiometricNotificationWireframeInput {
var storyboardName: String {return "BiometricNotification"}
func getMainView() -> UIViewController {
let service = BiometricNotificationService()
let interactor = BiometricNotificationInteractor(service: service)
let presenter = BiometricNotificationPresenter()
let viewController = viewControllerFromStoryboard(of: BiometricNotificationViewController.self)
viewController.presenter = presenter
interactor.output = presenter
presenter.interactor = interactor
presenter.wireframe = self
presenter.view = viewController
self.view = viewController
return viewController
}
}

2
GME Remit/Modules/BiometricAuthModules/BiometricAuthenticationNotification/User Interface/Wireframe/BiometricAuthenticationNotificationWireframeInput.swift → GME Remit/Modules/BiometricAuthModules/BiometricNotification/User Interface/Wireframe/BiometricNotificationWireframeInput.swift

@ -8,6 +8,6 @@
import Foundation
protocol BiometricAuthenticationNotificationWireframeInput: WireframeInput {
protocol BiometricNotificationWireframeInput: WireframeInput {
}

2
GME Remit/Modules/Home/User Interface/View/HomeViewController.swift

@ -142,7 +142,7 @@ class HomeViewController: UIViewController, UICollectionViewDelegateFlowLayout {
}
} else {
if KeyChain.shared.get(key: .biometricAuth) == nil {
BiometricAuthenticationNotificationWireframe().openMainView(source: self)
BiometricNotificationWireframe().openMainView(source: self)
}
}
}

11
GME Remit/Modules/SendMoneyModules/PaymentSelection/User Interface/View/PaymentSelectionViewController.swift

@ -19,10 +19,10 @@ class PaymentSelectionViewController: UIViewController {
@IBOutlet weak var mainView: UIView!
@IBOutlet weak var closeButton: UIButton!
// MARK: Properties
var accounts: [Account]?
var onSelection: ((Account) -> ())?
var onSelection: ((Account) -> Void)?
@IBOutlet weak var tableView: UITableView!
var presenter: PaymentSelectionModuleInterface?
// MARK: VC's Life cycle
@ -70,7 +70,7 @@ extension PaymentSelectionViewController: PaymentSelectionViewInterface {
extension PaymentSelectionViewController: UITableViewDelegate {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if let accunt = self.accounts?.elementAt(index: indexPath.row) {
if self.accounts?.elementAt(index: indexPath.row) != nil {
mainView.originToBottom() {
self.dismiss(animated: true, completion: nil)
}
@ -84,7 +84,10 @@ extension PaymentSelectionViewController: UITableViewDataSource {
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let model = tableView.dequeueReusableCell(withIdentifier: "PaymentSelectionTableViewCell") as! PaymentSelectionTableViewCell
guard let model = tableView.dequeueReusableCell(withIdentifier: "PaymentSelectionTableViewCell") as? PaymentSelectionTableViewCell else {
return UITableViewCell()
}
model.acunt = accounts?.elementAt(index: indexPath.row)
model.setup()
return model

1
GME Remit/Utilities/SearchAddress/Application Logic/Model/JusoCommon.swift

@ -16,7 +16,6 @@ class JusoCommon: Mappable {
var errorCode: String?
var errorMessage: String?
required init?(map: Map) {
}

Loading…
Cancel
Save