FileShareTableViewCell.swift 834 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // FileShareTableViewCell.swift
  3. // O2Platform
  4. //
  5. // Created by 刘振兴 on 16/9/13.
  6. // Copyright © 2016年 zoneland. All rights reserved.
  7. //
  8. import UIKit
  9. class FileShareTableViewCell: UITableViewCell {
  10. @IBOutlet weak var personIconImageView: UIImageView!
  11. @IBOutlet weak var nameLabel: UILabel!
  12. var fileShare:FileShare? {
  13. didSet {
  14. self.personIconImageView.image = UIImage(named: "friends_icon")
  15. self.nameLabel.text = "\(fileShare!.name!)(\(fileShare!.count!))"
  16. }
  17. }
  18. override func awakeFromNib() {
  19. super.awakeFromNib()
  20. // Initialization code
  21. }
  22. override func setSelected(_ selected: Bool, animated: Bool) {
  23. super.setSelected(selected, animated: animated)
  24. // Configure the view for the selected state
  25. }
  26. }