Browse Source

For Powercall, Recharge Payment

pull/1/head
JB 5 years ago
parent
commit
04ff57d9db
  1. 12
      GME Remit/Modules/PowerCallModules/InternationalTopup/Application Logic/Service/InternationalTopupService.swift
  2. 9
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Interactor/PhoneCardRechargeInteractor.swift
  3. 2
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Interactor/PhoneCardRechargeInteractorIO.swift
  4. 3
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Model/RechargeModel.swift
  5. 12
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeService.swift
  6. 6
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeServiceType.swift
  7. 26
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/User Interface/Presenter/PhoneCardRechargePresenter.swift
  8. 37
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/User Interface/View/PhoneCardRecharge.storyboard
  9. 40
      GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/User Interface/View/PhoneCardRechargeViewController.swift
  10. 1
      GME Remit/Modules/PowerCallModules/RechargePayment/User Interface/Presenter/RechargePaymentPresenter.swift
  11. 10
      GME Remit/Modules/PowerCallModules/RechargePayment/User Interface/View/RechargePayment.storyboard
  12. 10
      GME Remit/Modules/PowerCallModules/RechargePayment/User Interface/View/RechargePaymentViewController.swift
  13. 1
      GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/Application Logic/Service/DomesticRemitService.swift
  14. 8
      GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/User Interface/View/DomesticRemit.storyboard
  15. 8
      GME Remit/Modules/RewardModules/RewardGroup/User Interface/View/RewardGroup.storyboard
  16. 2
      GME Remit/Utilities/WebLinks/WkWebView/WKWebView.storyboard
  17. 1
      GME Remit/Utilities/WebLinks/WkWebView/WkWebViewController.swift

12
GME Remit/Modules/PowerCallModules/InternationalTopup/Application Logic/Service/InternationalTopupService.swift

@ -9,6 +9,18 @@
import Foundation import Foundation
class InternationalTopupService: InternationalTopupServiceType { class InternationalTopupService: InternationalTopupServiceType {
func fetchBalance(
type: String,
fintechUseNumber: String,
success: @escaping (BalanceModel) -> Void,
failure: @escaping (Error) -> Void
) {
APIRouter.fetchBalace(
type: type,
fintechUseNumber: fintechUseNumber
).json(success: success, failure: failure)
}
func fetchAutoDebitInformation( func fetchAutoDebitInformation(
success: @escaping ([Account]) -> Void, success: @escaping ([Account]) -> Void,
failure: @escaping (Error) -> Void) { failure: @escaping (Error) -> Void) {

9
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Interactor/PhoneCardRechargeInteractor.swift

@ -62,6 +62,15 @@ class PhoneCardRechargeInteractor {
// MARK: PhoneCardRecharge interactor input interface // MARK: PhoneCardRecharge interactor input interface
extension PhoneCardRechargeInteractor: PhoneCardRechargeInteractorInput { extension PhoneCardRechargeInteractor: PhoneCardRechargeInteractorInput {
func fetchBalanceForPowerCall(type: String, fintechUseNumber: String) {
service.fetchBalance(
type: type,
fintechUseNumber: fintechUseNumber,
success: {self.output?.setBalance(with: $0)},
failure: {self.output?.setError(with: $0)}
)
}
func fetchAutoDebitInformation() { func fetchAutoDebitInformation() {
service.fetchAutoDebitInformation( service.fetchAutoDebitInformation(
success: {self.output?.setModel(with: $0)}, success: {self.output?.setModel(with: $0)},

2
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Interactor/PhoneCardRechargeInteractorIO.swift

@ -9,6 +9,7 @@
protocol PhoneCardRechargeInteractorInput: class { protocol PhoneCardRechargeInteractorInput: class {
func fetchCardList(type: RechargeType, mobile: String) func fetchCardList(type: RechargeType, mobile: String)
func fetchAutoDebitInformation() func fetchAutoDebitInformation()
func fetchBalanceForPowerCall(type: String, fintechUseNumber: String)
} }
protocol PhoneCardRechargeInteractorOutput: class { protocol PhoneCardRechargeInteractorOutput: class {
@ -16,6 +17,7 @@ protocol PhoneCardRechargeInteractorOutput: class {
func setFixedModel(with model: [MainCardInformation]) func setFixedModel(with model: [MainCardInformation])
func setDataOnlyModel(with model: [MainCardInformation]) func setDataOnlyModel(with model: [MainCardInformation])
func setModel(with model: [Account]) func setModel(with model: [Account])
func setBalance(with model: BalanceModel)
func setError(with error: Error) func setError(with error: Error)
} }

3
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Model/RechargeModel.swift

@ -7,6 +7,7 @@
// //
struct RechargeModel { struct RechargeModel {
let paymentType: String
let type: String let type: String
let chargeType: String let chargeType: String
let cardName: String let cardName: String
@ -18,12 +19,14 @@ struct RechargeModel {
var password: String? var password: String?
init( init(
paymentType: String,
type: String, type: String,
chargeType: String, chargeType: String,
cardName: String, cardName: String,
mobile: String, mobile: String,
price: String price: String
) { ) {
self.paymentType = paymentType
self.type = type self.type = type
self.chargeType = chargeType self.chargeType = chargeType
self.cardName = cardName self.cardName = cardName

12
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeService.swift

@ -9,6 +9,18 @@
import Foundation import Foundation
class PhoneCardRechargeService: PhoneCardRechargeServiceType { class PhoneCardRechargeService: PhoneCardRechargeServiceType {
func fetchBalance(
type: String,
fintechUseNumber: String,
success: @escaping (BalanceModel) -> Void,
failure: @escaping (Error) -> Void
) {
APIRouter.fetchBalace(
type: type,
fintechUseNumber: fintechUseNumber
).json(success: success, failure: failure)
}
func fetchAutoDebitInformation( func fetchAutoDebitInformation(
success: @escaping ([Account]) -> Void, success: @escaping ([Account]) -> Void,
failure: @escaping (Error) -> Void failure: @escaping (Error) -> Void

6
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/Application Logic/Service/PhoneCardRechargeServiceType.swift

@ -17,4 +17,10 @@ protocol PhoneCardRechargeServiceType: class {
success: @escaping ([Account]) -> Void, success: @escaping ([Account]) -> Void,
failure: @escaping (Error) -> Void failure: @escaping (Error) -> Void
) )
func fetchBalance(
type: String,
fintechUseNumber: String,
success: @escaping (BalanceModel) -> Void,
failure: @escaping (Error) -> Void
)
} }

26
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/User Interface/Presenter/PhoneCardRechargePresenter.swift

@ -51,6 +51,7 @@ class PhoneCardRechargePresenter: ViewModelType {
struct Input { struct Input {
let viewWillAppear: Driver<Void> let viewWillAppear: Driver<Void>
let selectAutodebit: Driver<Void> let selectAutodebit: Driver<Void>
let showBalanceTrigger: Driver<Void>
let availableBalance: Driver<String> let availableBalance: Driver<String>
let selectedMobile: Driver<String> let selectedMobile: Driver<String>
let contactOpenTap: Driver<Void> let contactOpenTap: Driver<Void>
@ -67,6 +68,7 @@ class PhoneCardRechargePresenter: ViewModelType {
let isProgress: Driver<Bool> let isProgress: Driver<Bool>
let isEnableNext: Driver<Status> let isEnableNext: Driver<Status>
let isSuccessPayment: Driver<Void> let isSuccessPayment: Driver<Void>
let getBalance: Driver<BalanceModel?>
let bankModel: Driver<[Account]> let bankModel: Driver<[Account]>
let regularModel: Driver<[PriceModel]> let regularModel: Driver<[PriceModel]>
let fixedModel: Driver<[MainCardInformation]> let fixedModel: Driver<[MainCardInformation]>
@ -82,12 +84,12 @@ class PhoneCardRechargePresenter: ViewModelType {
private let errorLinker = PublishSubject<Error>() private let errorLinker = PublishSubject<Error>()
private let isSuccessPayment = PublishSubject<Void>() private let isSuccessPayment = PublishSubject<Void>()
private let selectedPaymentMode = PublishSubject<Account?>() private let selectedPaymentMode = PublishSubject<Account?>()
private let getBalanceLinker = BehaviorSubject<BalanceModel?>(value: nil)
private let regularModel = BehaviorSubject<[PriceModel]>(value: []) private let regularModel = BehaviorSubject<[PriceModel]>(value: [])
private let bankModel = BehaviorSubject<[Account]>(value: []) private let bankModel = BehaviorSubject<[Account]>(value: [])
private let fixedModel = BehaviorSubject<[MainCardInformation]>(value: []) private let fixedModel = BehaviorSubject<[MainCardInformation]>(value: [])
private let dataOnlyModel = BehaviorSubject<[MainCardInformation]>(value: []) private let dataOnlyModel = BehaviorSubject<[MainCardInformation]>(value: [])
private var accounts: [Account]?
private var accountType: String?
func transform(input: Input) -> Output { func transform(input: Input) -> Output {
Driver.combineLatest(input.viewWillAppear, input.selectedMobile, input.selectedRechargeType) Driver.combineLatest(input.viewWillAppear, input.selectedMobile, input.selectedRechargeType)
@ -104,6 +106,14 @@ class PhoneCardRechargePresenter: ViewModelType {
}) })
.disposed(by: disposeBag) .disposed(by: disposeBag)
input.showBalanceTrigger.withLatestFrom(selectedPaymentMode.asDriverOnErrorJustComplete()) { $1 }
.drive(onNext: {
let fintechUseNumber = $0?.fintechUseNumber ?? ""
let type = $0?.type ?? "autodebit"
self.progressLinker.onNext(true)
self.interactor?.fetchBalanceForPowerCall(type: type, fintechUseNumber: fintechUseNumber)
}).disposed(by: disposeBag)
input.selectAutodebit.drive(onNext: {[weak self] in input.selectAutodebit.drive(onNext: {[weak self] in
let model = try? self?.bankModel.value() let model = try? self?.bankModel.value()
self?.wireframe?.showPaymentMode(with: model) self?.wireframe?.showPaymentMode(with: model)
@ -159,7 +169,9 @@ class PhoneCardRechargePresenter: ViewModelType {
.map { ( _, mobile, type, priceModel, _, carrierPlan, dataOnlyType) -> RechargeModel? in .map { ( _, mobile, type, priceModel, _, carrierPlan, dataOnlyType) -> RechargeModel? in
switch type { switch type {
case .regular: case .regular:
return RechargeModel( return RechargeModel(
paymentType: self.accountType ?? "",
type: type.value, type: type.value,
chargeType: "", chargeType: "",
cardName: "", cardName: "",
@ -168,6 +180,7 @@ class PhoneCardRechargePresenter: ViewModelType {
) )
case .fixed: case .fixed:
return RechargeModel( return RechargeModel(
paymentType: self.accountType ?? "",
type: type.value, type: type.value,
chargeType: carrierPlan?.cardType ?? "", chargeType: carrierPlan?.cardType ?? "",
cardName: carrierPlan?.cardName ?? "", cardName: carrierPlan?.cardName ?? "",
@ -176,6 +189,7 @@ class PhoneCardRechargePresenter: ViewModelType {
) )
case .dataOnly: case .dataOnly:
return RechargeModel( return RechargeModel(
paymentType: self.accountType ?? "",
type: type.value, type: type.value,
chargeType: dataOnlyType?.cardCode ?? "", chargeType: dataOnlyType?.cardCode ?? "",
cardName: dataOnlyType?.cardName ?? "", cardName: dataOnlyType?.cardName ?? "",
@ -193,6 +207,7 @@ class PhoneCardRechargePresenter: ViewModelType {
isProgress: progressLinker.asDriverOnErrorJustComplete(), isProgress: progressLinker.asDriverOnErrorJustComplete(),
isEnableNext: isEnableNext.asDriverOnErrorJustComplete(), isEnableNext: isEnableNext.asDriverOnErrorJustComplete(),
isSuccessPayment: isSuccessPayment.asDriverOnErrorJustComplete(), isSuccessPayment: isSuccessPayment.asDriverOnErrorJustComplete(),
getBalance: getBalanceLinker.asDriverOnErrorJustComplete(),
bankModel: bankModel.asDriverOnErrorJustComplete(), bankModel: bankModel.asDriverOnErrorJustComplete(),
regularModel: regularModel.asDriverOnErrorJustComplete(), regularModel: regularModel.asDriverOnErrorJustComplete(),
fixedModel: fixedModel.asDriverOnErrorJustComplete(), fixedModel: fixedModel.asDriverOnErrorJustComplete(),
@ -206,6 +221,13 @@ class PhoneCardRechargePresenter: ViewModelType {
// MARK: PhoneCardRecharge interactor output interface // MARK: PhoneCardRecharge interactor output interface
extension PhoneCardRechargePresenter: PhoneCardRechargeInteractorOutput { extension PhoneCardRechargePresenter: PhoneCardRechargeInteractorOutput {
func setBalance(with model: BalanceModel) {
progressLinker.onNext(false)
getBalanceLinker.onNext(model)
}
func setModel(with model: [Account]) { func setModel(with model: [Account]) {
progressLinker.onNext(false) progressLinker.onNext(false)
bankModel.onNext(model) bankModel.onNext(model)

37
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/User Interface/View/PhoneCardRecharge.storyboard

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Im1-C5-3ON"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Im1-C5-3ON">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<device id="retina4_0" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
@ -82,9 +82,13 @@
</stackView> </stackView>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DZ1-Nc-ndh"> <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DZ1-Nc-ndh">
<rect key="frame" x="0.0" y="57" width="335" height="58.5"/> <rect key="frame" x="0.0" y="57" width="335" height="58.5"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WeZ-AA-bBZ">
<rect key="frame" x="0.0" y="0.0" width="133.5" height="58.5"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="PaymentType" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nFD-fi-y2F"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="PaymentType" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nFD-fi-y2F">
<rect key="frame" x="0.0" y="0.0" width="103.5" height="58.5"/> <rect key="frame" x="0.0" y="0.0" width="103.5" height="58.5"/>
<gestureRecognizers/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -101,6 +105,7 @@
</imageView> </imageView>
</subviews> </subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<gestureRecognizers/>
<constraints> <constraints>
<constraint firstItem="vG3-iU-w8w" firstAttribute="centerX" secondItem="PSf-hq-y74" secondAttribute="centerX" id="CCG-H3-bz8"/> <constraint firstItem="vG3-iU-w8w" firstAttribute="centerX" secondItem="PSf-hq-y74" secondAttribute="centerX" id="CCG-H3-bz8"/>
<constraint firstAttribute="trailing" secondItem="vG3-iU-w8w" secondAttribute="trailing" constant="5" id="Rd0-KT-fvs"/> <constraint firstAttribute="trailing" secondItem="vG3-iU-w8w" secondAttribute="trailing" constant="5" id="Rd0-KT-fvs"/>
@ -108,14 +113,23 @@
<constraint firstItem="vG3-iU-w8w" firstAttribute="leading" secondItem="PSf-hq-y74" secondAttribute="leading" constant="5" id="seN-RK-xV1"/> <constraint firstItem="vG3-iU-w8w" firstAttribute="leading" secondItem="PSf-hq-y74" secondAttribute="leading" constant="5" id="seN-RK-xV1"/>
</constraints> </constraints>
</view> </view>
</subviews>
<gestureRecognizers/>
<connections>
<outletCollection property="gestureRecognizers" destination="0Eu-f1-GtD" appends="YES" id="Beq-aU-67D"/>
</connections>
</stackView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3hA-pE-tAA"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="249" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3hA-pE-tAA">
<rect key="frame" x="133.5" y="0.0" width="120.5" height="58.5"/> <rect key="frame" x="133.5" y="0.0" width="120.5" height="58.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Dua-8R-eEg">
<rect key="frame" x="254" y="0.0" width="81" height="58.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="₩" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4of-c7-86a"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="₩" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4of-c7-86a">
<rect key="frame" x="254" y="0.0" width="20" height="58.5"/>
<rect key="frame" x="0.0" y="0.0" width="20" height="58.5"/>
<constraints> <constraints>
<constraint firstAttribute="width" constant="20" id="BhO-Ma-WpS"/> <constraint firstAttribute="width" constant="20" id="BhO-Ma-WpS"/>
</constraints> </constraints>
@ -124,16 +138,25 @@
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Balance" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4MR-lK-FAv"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Balance" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4MR-lK-FAv">
<rect key="frame" x="274" y="0.0" width="61" height="58.5"/>
<rect key="frame" x="20" y="0.0" width="61" height="58.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/> <fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
</subviews> </subviews>
<gestureRecognizers/>
</stackView>
<button hidden="YES" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="trailing" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="HzE-op-beR">
<rect key="frame" x="335" y="0.0" width="0.0" height="58.5"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
<state key="normal" title="Button">
<color key="titleColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections> <connections>
<outletCollection property="gestureRecognizers" destination="0Eu-f1-GtD" appends="YES" id="79b-Nt-Imx"/>
<action selector="checkBalanceButton:" destination="HSb-ou-7T5" eventType="touchUpInside" id="jYg-v6-VJy"/>
</connections> </connections>
</button>
</subviews>
<gestureRecognizers/>
</stackView> </stackView>
</subviews> </subviews>
</stackView> </stackView>
@ -846,6 +869,8 @@
<outlet property="amountButton4" destination="eMU-67-9FG" id="JHu-tK-gO3"/> <outlet property="amountButton4" destination="eMU-67-9FG" id="JHu-tK-gO3"/>
<outlet property="amountButton5" destination="YN1-ij-fqB" id="qoy-GK-c20"/> <outlet property="amountButton5" destination="YN1-ij-fqB" id="qoy-GK-c20"/>
<outlet property="amountButton6" destination="0NT-dR-BSe" id="I0s-Vf-Qkw"/> <outlet property="amountButton6" destination="0NT-dR-BSe" id="I0s-Vf-Qkw"/>
<outlet property="balanceCheckButton" destination="HzE-op-beR" id="ORw-Wi-O65"/>
<outlet property="balanceStackView" destination="Dua-8R-eEg" id="imh-wd-A5K"/>
<outlet property="carrierPlanDetailView" destination="LIi-3m-pgI" id="Pg8-ih-UkC"/> <outlet property="carrierPlanDetailView" destination="LIi-3m-pgI" id="Pg8-ih-UkC"/>
<outlet property="carrierPlanTextField" destination="12I-NP-LBC" id="ik6-hV-eZ0"/> <outlet property="carrierPlanTextField" destination="12I-NP-LBC" id="ik6-hV-eZ0"/>
<outlet property="carrierTypeTextField" destination="O2g-I1-ksu" id="ayr-JH-N5h"/> <outlet property="carrierTypeTextField" destination="O2g-I1-ksu" id="ayr-JH-N5h"/>
@ -900,7 +925,7 @@
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="Im1-C5-3ON" sceneMemberID="viewController"> <navigationController automaticallyAdjustsScrollViewInsets="NO" id="Im1-C5-3ON" sceneMemberID="viewController">
<toolbarItems/> <toolbarItems/>
<navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="Bf4-io-GTo"> <navigationBar key="navigationBar" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="Bf4-io-GTo">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="320" height="44"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
</navigationBar> </navigationBar>
<nil name="viewControllers"/> <nil name="viewControllers"/>

40
GME Remit/Modules/PowerCallModules/LocalTopup/PhoneCardRecharge/User Interface/View/PhoneCardRechargeViewController.swift

@ -23,6 +23,7 @@ class PhoneCardRechargeViewController: UIViewController {
private let selectedMobile = PublishSubject<String>() private let selectedMobile = PublishSubject<String>()
private let selectPaymentType = PublishSubject<Void>() private let selectPaymentType = PublishSubject<Void>()
private var amountButtons = [UIButton]() private var amountButtons = [UIButton]()
// MARK: Computed Properties // MARK: Computed Properties
// MARK: IBOutlets // MARK: IBOutlets
@ -37,6 +38,7 @@ class PhoneCardRechargeViewController: UIViewController {
@IBOutlet private weak var typeSegment: UISegmentedControl! @IBOutlet private weak var typeSegment: UISegmentedControl!
@IBOutlet private weak var mainContainerView: UIView! @IBOutlet private weak var mainContainerView: UIView!
@IBOutlet private weak var menuContainerView: UIStackView! @IBOutlet private weak var menuContainerView: UIStackView!
@IBOutlet weak var balanceStackView: UIStackView!
@IBOutlet weak var paymentTypeDropDownImageView: UIImageView! @IBOutlet weak var paymentTypeDropDownImageView: UIImageView!
@IBOutlet var paymentTypeDropDownTap: UITapGestureRecognizer! @IBOutlet var paymentTypeDropDownTap: UITapGestureRecognizer!
@ -49,6 +51,8 @@ class PhoneCardRechargeViewController: UIViewController {
@IBOutlet private weak var amountButton4: UIButton! @IBOutlet private weak var amountButton4: UIButton!
@IBOutlet private weak var amountButton5: UIButton! @IBOutlet private weak var amountButton5: UIButton!
@IBOutlet private weak var amountButton6: UIButton! @IBOutlet private weak var amountButton6: UIButton!
@IBOutlet weak var balanceCheckButton: UIButton!
@IBOutlet private weak var regularTypeInfoContainerView: UIView! @IBOutlet private weak var regularTypeInfoContainerView: UIView!
@IBOutlet private weak var regularInformationLabel1: UILabel! @IBOutlet private weak var regularInformationLabel1: UILabel!
@IBOutlet private weak var regularInformationLabel2: UILabel! @IBOutlet private weak var regularInformationLabel2: UILabel!
@ -107,6 +111,10 @@ class PhoneCardRechargeViewController: UIViewController {
@IBAction func touchAmountButton(_ sender: UIButton) { @IBAction func touchAmountButton(_ sender: UIButton) {
selectedAmountButton.onNext(sender.tag) selectedAmountButton.onNext(sender.tag)
} }
@IBAction func checkBalanceButton(_ sender: UIButton) {
}
} }
// MARK: Other Functions // MARK: Other Functions
@ -119,6 +127,7 @@ extension PhoneCardRechargeViewController {
} }
private func setUI() { private func setUI() {
balanceCheckButton.isHidden = true
regularTypeContainerView.isHidden = true regularTypeContainerView.isHidden = true
regularTypeInfoContainerView.isHidden = true regularTypeInfoContainerView.isHidden = true
fixedChargeTypeContainerView.isHidden = true fixedChargeTypeContainerView.isHidden = true
@ -133,6 +142,7 @@ extension PhoneCardRechargeViewController {
) )
nextButton.layer.cornerRadius = 5 nextButton.layer.cornerRadius = 5
balanceCheckButton.layer.cornerRadius = 5
regularTypeButtonsStackView.travelSubView { (view, _) in regularTypeButtonsStackView.travelSubView { (view, _) in
if let button = view as? UIButton { if let button = view as? UIButton {
@ -194,6 +204,7 @@ extension PhoneCardRechargeViewController {
let input = PhoneCardRechargePresenter.Input( let input = PhoneCardRechargePresenter.Input(
viewWillAppear: viewWillAppear, viewWillAppear: viewWillAppear,
selectAutodebit: selectPaymentType.asDriverOnErrorJustComplete(), selectAutodebit: selectPaymentType.asDriverOnErrorJustComplete(),
showBalanceTrigger: balanceCheckButton.rx.tap.asDriver(),
availableBalance: availableBalance.asDriverOnErrorJustComplete(), availableBalance: availableBalance.asDriverOnErrorJustComplete(),
selectedMobile: selectedMobile.asDriverOnErrorJustComplete(), selectedMobile: selectedMobile.asDriverOnErrorJustComplete(),
contactOpenTap: contactButton.rx.tap.asDriverOnErrorJustComplete(), contactOpenTap: contactButton.rx.tap.asDriverOnErrorJustComplete(),
@ -225,6 +236,14 @@ extension PhoneCardRechargeViewController {
} }
).disposed(by: disposeBag) ).disposed(by: disposeBag)
output.getBalance.map { $0?.balance?.decimalToCurrency() }
.drive(onNext: { [weak self] in
guard let balance = $0 else { return }
self?.balanceStackView.isHidden = false
self?.balanceCheckButton.isHidden = true
self?.mycashAmountLabel.text = balance
}).disposed(by: disposeBag)
output.isProgress output.isProgress
.drive( .drive(
onNext: { $0 ? self.showProgressHud() : self.hideProgressHud() } onNext: { $0 ? self.showProgressHud() : self.hideProgressHud() }
@ -257,6 +276,27 @@ extension PhoneCardRechargeViewController {
.drive(nextButton.rx.isEnabled) .drive(nextButton.rx.isEnabled)
.disposed(by: disposeBag) .disposed(by: disposeBag)
output.selectedPaymentMode.drive(onNext: {[weak self] in
guard
let model = $0 else {
return
}
if model.type == "wallet" {
self?.balanceCheckButton.isHidden = true
self?.balanceStackView.isHidden = false
self?.mycashAmountLabel.text = GMEDB.shared.user.string(.availableBalance)
} else {
self?.balanceCheckButton.isHidden = false
self?.balanceCheckButton.setTitle("account_balance_button_text".localized(), for: .normal)
self?.balanceCheckButton.backgroundColor = .themeBlue
self?.balanceCheckButton.setTitleColor(.white, for: .normal)
self?.balanceCheckButton.titleLabel?.minimumScaleFactor = 0.1
self?.balanceCheckButton.titleLabel?.adjustsFontSizeToFitWidth = true
self?.balanceStackView.isHidden = true
}
}).disposed(by: disposeBag)
output.regularModel.drive(onNext: { [weak self] model in output.regularModel.drive(onNext: { [weak self] model in
guard let `self` = self, model.count == self.amountButtons.count else { return } guard let `self` = self, model.count == self.amountButtons.count else { return }
self.amountButtons.enumerated().forEach { index, button in self.amountButtons.enumerated().forEach { index, button in

1
GME Remit/Modules/PowerCallModules/RechargePayment/User Interface/Presenter/RechargePaymentPresenter.swift

@ -80,6 +80,7 @@ class RechargePaymentPresenter: ViewModelType {
// MARK: RechargePayment interactor output interface // MARK: RechargePayment interactor output interface
extension RechargePaymentPresenter: RechargePaymentInteractorOutput { extension RechargePaymentPresenter: RechargePaymentInteractorOutput {
func setSubmitSuccess() { func setSubmitSuccess() {
progressLinker.onNext(false) progressLinker.onNext(false)
submitSuccess.onNext(()) submitSuccess.onNext(())

10
GME Remit/Modules/PowerCallModules/RechargePayment/User Interface/View/RechargePayment.storyboard

@ -46,7 +46,7 @@
</connections> </connections>
</button> </button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recharge Payment" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N1B-BY-KYh"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Recharge Payment" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="N1B-BY-KYh">
<rect key="frame" x="96.5" y="13.5" width="127.5" height="17.5"/>
<rect key="frame" x="99.5" y="13" width="121.5" height="18"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -74,13 +74,13 @@
<rect key="frame" x="0.0" y="0.0" width="280" height="50"/> <rect key="frame" x="0.0" y="0.0" width="280" height="50"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="GME Wallet" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BbA-cc-yhb"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="GME Wallet" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BbA-cc-yhb">
<rect key="frame" x="0.0" y="0.0" width="79" height="50"/>
<rect key="frame" x="0.0" y="0.0" width="71.5" height="50"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="₩" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TcE-Ri-cia"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="₩" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TcE-Ri-cia">
<rect key="frame" x="84" y="0.0" width="180" height="50"/>
<rect key="frame" x="76.5" y="0.0" width="187.5" height="50"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="19"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="19"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -100,13 +100,13 @@
<rect key="frame" x="0.0" y="50" width="280" height="40"/> <rect key="frame" x="0.0" y="50" width="280" height="40"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Payment Amount" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nHm-bO-7dx"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Payment Amount" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nHm-bO-7dx">
<rect key="frame" x="0.0" y="0.0" width="116" height="40"/>
<rect key="frame" x="0.0" y="0.0" width="111" height="40"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="15"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="- ₩" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bAn-wR-MDl"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="- ₩" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bAn-wR-MDl">
<rect key="frame" x="121" y="0.0" width="143" height="40"/>
<rect key="frame" x="116" y="0.0" width="148" height="40"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="19"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="19"/>
<color key="textColor" name="ThemeRed"/> <color key="textColor" name="ThemeRed"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>

10
GME Remit/Modules/PowerCallModules/RechargePayment/User Interface/View/RechargePaymentViewController.swift

@ -157,6 +157,16 @@ extension RechargePaymentViewController {
.drive(balanceLabel.rx.text) .drive(balanceLabel.rx.text)
.disposed(by: disposeBag) .disposed(by: disposeBag)
output.rechargeModel.drive(onNext: { [weak self] in
guard let model = $0 else {
return
}
if model.paymentType == "" {
self?.gmeWalletTitleLabel.text = "Bank Name"
self?.balanceTitleLabel.text = "Expected \(self?.gmeWalletTitleLabel) Balance"
}
}).disposed(by: disposeBag)
let tapGestureRecognizer = UITapGestureRecognizer() let tapGestureRecognizer = UITapGestureRecognizer()
tapGestureRecognizer.delegate = self tapGestureRecognizer.delegate = self
tapGestureRecognizer.rx.event.asDriver() tapGestureRecognizer.rx.event.asDriver()

1
GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/Application Logic/Service/DomesticRemitService.swift

@ -37,7 +37,6 @@ class DomesticRemitService: DomesticRemitServiceType {
type: type, type: type,
fintechUseNumber: fintechUseNumber fintechUseNumber: fintechUseNumber
).json(success: success, failure: failure) ).json(success: success, failure: failure)
} }
func send( func send(

8
GME Remit/Modules/RemittanceModules/DomesticModules/DomesticRemit/User Interface/View/DomesticRemit.storyboard

@ -116,13 +116,13 @@
<rect key="frame" x="0.0" y="0.0" width="52.5" height="30"/> <rect key="frame" x="0.0" y="0.0" width="52.5" height="30"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="N/A" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="crF-eg-HNv"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="N/A" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="crF-eg-HNv">
<rect key="frame" x="0.0" y="0.0" width="16.5" height="30"/>
<rect key="frame" x="0.0" y="0.0" width="22" height="30"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" KRW" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JOx-My-xUB"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text=" KRW" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JOx-My-xUB">
<rect key="frame" x="16.5" y="0.0" width="36" height="30"/>
<rect key="frame" x="22" y="0.0" width="30.5" height="30"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="14"/>
<color key="textColor" name="ThemeText"/> <color key="textColor" name="ThemeText"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
@ -381,13 +381,13 @@
<rect key="frame" x="0.0" y="20" width="315" height="16"/> <rect key="frame" x="0.0" y="20" width="315" height="16"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="253" verticalHuggingPriority="251" text="●" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PQ8-Xe-tzc"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="253" verticalHuggingPriority="251" text="●" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PQ8-Xe-tzc">
<rect key="frame" x="0.0" y="0.0" width="8.5" height="16"/>
<rect key="frame" x="0.0" y="0.0" width="8" height="16"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Regular" family="San Francisco Display" pointSize="13"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>
</label> </label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="It will deduct oooKRW (Amount + ServiceFee)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="0rB-T2-pd1"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="It will deduct oooKRW (Amount + ServiceFee)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="0rB-T2-pd1">
<rect key="frame" x="13.5" y="0.0" width="301.5" height="16"/>
<rect key="frame" x="13" y="0.0" width="302" height="16"/>
<fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/> <fontDescription key="fontDescription" name="SanFranciscoDisplay-Medium" family="San Francisco Display" pointSize="13"/>
<nil key="textColor"/> <nil key="textColor"/>
<nil key="highlightedColor"/> <nil key="highlightedColor"/>

8
GME Remit/Modules/RewardModules/RewardGroup/User Interface/View/RewardGroup.storyboard

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="GtC-iQ-Pz8">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="GtC-iQ-Pz8">
<device id="retina4_7" orientation="portrait" appearance="dark"/> <device id="retina4_7" orientation="portrait" appearance="dark"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
<capability name="Named colors" minToolsVersion="9.0"/> <capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/> <capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@ -87,10 +87,10 @@
<resources> <resources>
<image name="ic_cancel" width="12" height="12"/> <image name="ic_cancel" width="12" height="12"/>
<namedColor name="ThemeBlack"> <namedColor name="ThemeBlack">
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</namedColor> </namedColor>
<namedColor name="ThemeMainBackground"> <namedColor name="ThemeMainBackground">
<color red="0.14901960784313725" green="0.14901960784313725" blue="0.14901960784313725" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor> </namedColor>
</resources> </resources>
<color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <color key="tintColor" red="0.78177064659999995" green="0.55228364470000002" blue="0.018981300289999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

2
GME Remit/Utilities/WebLinks/WkWebView/WKWebView.storyboard

@ -26,7 +26,7 @@
<action selector="touchCloseButton:" destination="5lk-h3-UEb" id="qBz-nF-Q8Y"/> <action selector="touchCloseButton:" destination="5lk-h3-UEb" id="qBz-nF-Q8Y"/>
</connections> </connections>
</barButtonItem> </barButtonItem>
<barButtonItem key="rightBarButtonItem" enabled="NO" id="xJS-bw-OH2">
<barButtonItem key="rightBarButtonItem" title="hhhhh" id="xJS-bw-OH2">
<connections> <connections>
<action selector="touchCertTest:" destination="5lk-h3-UEb" id="AKG-5B-Oi3"/> <action selector="touchCertTest:" destination="5lk-h3-UEb" id="AKG-5B-Oi3"/>
</connections> </connections>

1
GME Remit/Utilities/WebLinks/WkWebView/WkWebViewController.swift

@ -96,7 +96,6 @@ class WkWebViewController: UIViewController {
webView.load(myRequest) webView.load(myRequest)
} }
} }
} }
extension WkWebViewController: WKUIDelegate, WKNavigationDelegate { extension WkWebViewController: WKUIDelegate, WKNavigationDelegate {

Loading…
Cancel
Save