You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

6 years ago
  1. //
  2. // SendMoneyViewController.swift
  3. // GMERemittance
  4. //
  5. // Created by FMI-12 on 3/1/18.
  6. // Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import UIKit
  9. class SendMoneyViewController: UIViewController {
  10. override func viewDidAppear(_ animated: Bool) {
  11. if (UserDefaults.standard.object(forKey: "com.gmeremit.isVerified") as! Bool) {
  12. let storyboard = UIStoryboard.init(name: "RecipientListViewController", bundle: Bundle.main)
  13. let vController = storyboard.instantiateViewController(withIdentifier: "RecipientListViewController") as! RecipientListViewController
  14. self.navigationController!.pushViewController(vController, animated: true)
  15. } else {
  16. popUpMessage(value: 14)
  17. }
  18. }
  19. override func viewDidLoad() {
  20. super.viewDidLoad()
  21. // Do any additional setup after loading the view.
  22. }
  23. override func didReceiveMemoryWarning() {
  24. super.didReceiveMemoryWarning()
  25. // Dispose of any resources that can be recreated.
  26. }
  27. /*
  28. // MARK: - Navigation
  29. // In a storyboard-based application, you will often want to do a little preparation before navigation
  30. override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  31. // Get the new view controller using segue.destinationViewController.
  32. // Pass the selected object to the new view controller.
  33. }
  34. */
  35. }