JCLocation.swift 515 B

12345678910111213141516171819202122232425262728
  1. //
  2. // JCLocation.swift
  3. // JChat
  4. //
  5. // Created by deng on 2017/5/3.
  6. // Copyright © 2017年 dengyonghao. All rights reserved.
  7. //
  8. import Foundation
  9. @objc(JCLocation)
  10. public class JCLocation: NSObject {
  11. var country = ""
  12. var province = ""
  13. var city = ""
  14. var area = ""
  15. var street = ""
  16. var provinceCode = ""
  17. var cityCode = ""
  18. var areaCode = ""
  19. func decription() {
  20. print("\(province): \(provinceCode) \(city): \(cityCode) \(area): \(areaCode)")
  21. }
  22. }