| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //
- // RecentViewController.swift
- // SocketChat
- //
- // Created by Justine on 16/5/27.
- // Copyright © 2016年 AppCoda. All rights reserved.
- //
- import UIKit
- class RecentViewController: UIViewController {
- @IBOutlet weak var lab: UILabel!
-
- override func viewDidLoad() {
- super.viewDidLoad()
- self.view.backgroundColor = UIColor.redColor()
- let story = UIStoryboard(name: "Main", bundle: nil)
- let RecentVC = story.instantiateViewControllerWithIdentifier("RecentVC")
- let NavTitle = UINavigationItem.init(title: "最近消息")
- TCPClient.shareInstance.connect(USER_APP_SERVER! as! String)
- //self.presentViewController(RecentVC, animated: true, completion: { () -> Void in
-
- //})
- // Do any additional setup after loading the view.
- }
- override func didReceiveMemoryWarning() {
- super.didReceiveMemoryWarning()
- // Dispose of any resources that can be recreated.
- }
-
- /*
- // MARK: - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
- // Get the new view controller using segue.destinationViewController.
- // Pass the selected object to the new view controller.
- }
- */
- }
|