BaseViewController.swift 918 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // BaseViewController.swift
  3. // SocketChat
  4. //
  5. // Created by Justine on 16/5/24.
  6. // Copyright © 2016年 AppCoda. All rights reserved.
  7. //
  8. import UIKit
  9. class BaseViewController: UIViewController {
  10. var MyAlert:UIAlertController?
  11. override func viewDidLoad() {
  12. super.viewDidLoad()
  13. // Do any additional setup after loading the view.
  14. }
  15. override func didReceiveMemoryWarning() {
  16. super.didReceiveMemoryWarning()
  17. // Dispose of any resources that can be recreated.
  18. }
  19. /*
  20. // MARK: - Navigation
  21. // In a storyboard-based application, you will often want to do a little preparation before navigation
  22. override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
  23. // Get the new view controller using segue.destinationViewController.
  24. // Pass the selected object to the new view controller.
  25. }
  26. */
  27. }