Global.swift 574 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // Global.swift
  3. // SocketChat
  4. //
  5. // Created by Justine on 16/6/16.
  6. // Copyright © 2016年 AppCoda. All rights reserved.
  7. //
  8. import Foundation
  9. /**
  10. 注销登录
  11. */
  12. func logout(){
  13. print("logout 被调用")
  14. //退出返回到登录界面 需要释放的资源
  15. //1全局变量TCPClient,服务器各项IP
  16. //
  17. }
  18. /**
  19. 更新版本
  20. */
  21. func updateVersion(){
  22. //从指定网址读取json 比对版本号
  23. }
  24. /**
  25. * 通知中心相关
  26. * icon角标
  27. * 网络连接状态
  28. * 消息接收(不含通知)
  29. * 消息发送
  30. */