TodoedStatusCell.swift 1018 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // TodoedStatusCell.swift
  3. // O2Platform
  4. //
  5. // Created by 刘振兴 on 16/8/15.
  6. // Copyright © 2016年 zoneland. All rights reserved.
  7. //
  8. import UIKit
  9. class TodoedStatusCell: UITableViewCell {
  10. @IBOutlet weak var activityLabel: UILabel!
  11. @IBOutlet weak var identityLabel: UILabel!
  12. @IBOutlet weak var statusLabel: UILabel!
  13. @IBOutlet weak var timeLabel: UILabel!
  14. var statusModel:TodoedStatusModel?{
  15. didSet {
  16. self.activityLabel.text = statusModel?.activity
  17. self.identityLabel.text = statusModel?.identity
  18. self.statusLabel.text = statusModel?.status
  19. self.timeLabel.text = statusModel?.statusTime
  20. }
  21. }
  22. override func awakeFromNib() {
  23. super.awakeFromNib()
  24. // Initialization code
  25. }
  26. override func setSelected(_ selected: Bool, animated: Bool) {
  27. super.setSelected(selected, animated: animated)
  28. // Configure the view for the selected state
  29. }
  30. }