Browse Source

pod pager stripe adde

pull/1/head
gme_2 6 years ago
parent
commit
a964fe7b20
  1. 4
      GMERemittance/Home/HomeViewController.swift
  2. 2
      GMERemittance/Module/Kyc/User Interface/View/Kyc.storyboard
  3. 19
      GMERemittance/Module/Kyc/User Interface/View/KycViewController.swift
  4. 2
      GMERemittance/Module/SendMoney/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift
  5. 2
      Podfile

4
GMERemittance/Home/HomeViewController.swift

@ -333,6 +333,10 @@ class HomeViewController: UIViewController, TableViewCellDelegate, FBSDKSharing
let message = "Your document is in verification process. Thereafter you can enjoy GME online service. Thank you for registering with us!."
self.alertWithOkCancel(message: message, title: "Alert!", okAction: {
// go to kyc
if let navigation = self.navigationController {
let wireframe = KycWireframe()
wireframe.pushMainView(in: navigation)
}
}, cancelAction: nil)
}

2
GMERemittance/Module/Kyc/User Interface/View/Kyc.storyboard

@ -18,7 +18,7 @@
<!--Kyc-->
<scene sceneID="R60-Pu-Hpy">
<objects>
<viewController storyboardIdentifier="KycViewController" title="Kyc" id="HSb-ou-7T5" customClass="KycViewController" sceneMemberID="viewController">
<viewController storyboardIdentifier="KycViewController" title="Kyc" id="HSb-ou-7T5" customClass="KycViewController" customModule="GMERemittance" customModuleProvider="target" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y1H-iV-BwG"/>
<viewControllerLayoutGuide type="bottom" id="PYB-Kq-ghm"/>

19
GMERemittance/Module/Kyc/User Interface/View/KycViewController.swift

@ -88,6 +88,10 @@ class KycViewController: UIViewController {
private func setup() {
// all setup should be done here
self.configureViews()
self.state = StateButtons.form1
self.requestModel = SendMoneyRequestModel()
self.setupPicturedNavBar()
}
@ -101,6 +105,21 @@ class KycViewController: UIViewController {
})
}
@IBAction func form1(_ sender: UIButton) {
// self.addPaymentModeViewController()
self.state = StateButtons.form1
}
@IBAction func from2(_ sender: UIButton) {
// self.addExchangeViewController()
self.state = StateButtons.form2
}
@IBAction func form3(_ sender: UIButton) {
// self.addVerificationViewController()
self.state = StateButtons.form3
}
func updateState(state: StateButtons) {
switch state {
case .form1:

2
GMERemittance/Module/SendMoney/SendMoneyParent/User Interface/View/SendMoneyParentViewController.swift

@ -131,7 +131,7 @@ class SendMoneyParentViewController: UIViewController {
}
private func setupNavigationBar() {
}
private func setTitle(title: String) {

2
Podfile

@ -16,6 +16,8 @@ pod 'Crashlytics', '~> 3.10.2'
pod 'ObjectMapper', '~> 3.3'
pod 'MBProgressHUD', '~> 1.1.0'
pod 'Hex'
pod 'XLPagerTabStrip', '~> 8.0'
pod 'AlamofireNetworkActivityLogger', '~> 2.3'
pod 'IQKeyboardManagerSwift'
pod 'thenPromise'

Loading…
Cancel
Save