RecentViewController.swift 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // RecentViewController.swift
  3. // SocketChat
  4. //
  5. // Created by Justine on 16/5/27.
  6. // Copyright © 2016年 AppCoda. All rights reserved.
  7. //
  8. import UIKit
  9. class RecentViewController: UIViewController {
  10. @IBOutlet weak var lab: UILabel!
  11. override func viewDidLoad() {
  12. super.viewDidLoad()
  13. self.view.backgroundColor = UIColor.redColor()
  14. let story = UIStoryboard(name: "Main", bundle: nil)
  15. let RecentVC = story.instantiateViewControllerWithIdentifier("RecentVC")
  16. let NavTitle = UINavigationItem.init(title: "最近消息")
  17. TCPClient.shareInstance.connect(USER_APP_SERVER! as! String)
  18. //self.presentViewController(RecentVC, animated: true, completion: { () -> Void in
  19. //})
  20. // Do any additional setup after loading the view.
  21. }
  22. override func didReceiveMemoryWarning() {
  23. super.didReceiveMemoryWarning()
  24. // Dispose of any resources that can be recreated.
  25. }
  26. /*
  27. // MARK: - Navigation
  28. // In a storyboard-based application, you will often want to do a little preparation before navigation
  29. override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
  30. // Get the new view controller using segue.destinationViewController.
  31. // Pass the selected object to the new view controller.
  32. }
  33. */
  34. }