IMLocationView.swift 502 B

1234567891011121314151617181920212223242526
  1. //
  2. // IMLocationView.swift
  3. // O2Platform
  4. //
  5. // Created by FancyLou on 2020/6/18.
  6. // Copyright © 2020 zoneland. All rights reserved.
  7. //
  8. import UIKit
  9. class IMLocationView: UIView {
  10. static let IMLocationViewWidth: CGFloat = 175
  11. static let IMLocationViewHeight: CGFloat = 100
  12. @IBOutlet weak var locationLabel: UILabel!
  13. override func awakeFromNib() {
  14. }
  15. func setLocationAddress(address: String) {
  16. self.locationLabel.text = address
  17. }
  18. }