Geen omschrijving

StartViewController.swift 822B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // StartViewController.swift
  3. // EncuestaMarle
  4. //
  5. // Created by Tatiana Castro on 5/20/19.
  6. // Copyright © 2019 Marle. All rights reserved.
  7. //
  8. import UIKit
  9. import FirebaseAuth
  10. class StartViewController: UIViewController {
  11. override func viewDidAppear(_ animated: Bool){
  12. super.viewDidAppear(animated)
  13. if Auth.auth().currentUser != nil {
  14. self.performSegue(withIdentifier: "alreadyLoggedIn", sender: nil)
  15. }
  16. }
  17. /*
  18. // MARK: - Navigation
  19. // In a storyboard-based application, you will often want to do a little preparation before navigation
  20. override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  21. // Get the new view controller using segue.destination.
  22. // Pass the selected object to the new view controller.
  23. }
  24. */
  25. }