NewsListTableViewCell.swift 756 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // NewsListTableViewCell.swift
  3. // xingchuangke
  4. //
  5. // Created by Virgil on 2019/4/17.
  6. // Copyright © 2019 Virgil. All rights reserved.
  7. //
  8. import UIKit
  9. class NewsListTableViewCell: UITableViewCell {
  10. @IBOutlet weak var lblDate: UILabel!
  11. @IBOutlet weak var viewContent: UIView!
  12. @IBOutlet weak var lblContent: UILabel!
  13. @IBOutlet weak var lblTitle: UILabel!
  14. @IBOutlet weak var imgIcon: UIImageView!
  15. override func awakeFromNib() {
  16. super.awakeFromNib()
  17. // Initialization code
  18. viewContent.setCornerRadius(size: 5)
  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. }