MainTodoTaskCell.swift 728 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // MainTodoTaskCell.swift
  3. // O2Platform
  4. //
  5. // Created by 刘振兴 on 16/7/27.
  6. // Copyright © 2016年 zoneland. All rights reserved.
  7. //
  8. import UIKit
  9. class MainTodoTaskCell: UITableViewCell {
  10. @IBOutlet weak var titleLabel: UILabel!
  11. var todoTask:TodoTask?{
  12. didSet {
  13. titleLabel.text = "[\((todoTask!.applicationName)!)] \((todoTask!.title)!)"
  14. }
  15. }
  16. override func awakeFromNib() {
  17. super.awakeFromNib()
  18. // Initialization code
  19. }
  20. override func setSelected(_ selected: Bool, animated: Bool) {
  21. super.setSelected(selected, animated: animated)
  22. // Configure the view for the selected state
  23. }
  24. }