You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
603 B

  1. //
  2. // NotificationCell.swift
  3. // GME Remit
  4. //
  5. // Created by InKwon James Kim on 2020/02/11.
  6. // Copyright © 2020 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import UIKit
  9. class NotificationCell: UITableViewCell {
  10. @IBOutlet private weak var titleLabel: UILabel!
  11. @IBOutlet private weak var dateLabel: UILabel!
  12. @IBOutlet private weak var newIconImageView: UIImageView!
  13. func setModel(_ model: NoticeModel) {
  14. newIconImageView.isHidden = false
  15. titleLabel.text = model.title
  16. dateLabel.text = model.date
  17. newIconImageView.isHidden = model.isRead == "1"
  18. }
  19. }