MessageCell.m 643 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // MessageCell.m
  3. // LN_School
  4. //
  5. // Created by EchoShacolee on 2017/10/23.
  6. // Copyright © 2017年 Danson. All rights reserved.
  7. //
  8. #import "MessageCell.h"
  9. @implementation MessageCell
  10. -(void)setDic:(NSDictionary *)dic{
  11. if (_dic != dic) {
  12. _title.text = dic[@"noticeTitle"];
  13. _content.text = dic[@"content"];
  14. _date.text = dic[@"revDate"];
  15. }
  16. }
  17. - (void)awakeFromNib {
  18. [super awakeFromNib];
  19. // Initialization code
  20. }
  21. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  22. [super setSelected:selected animated:animated];
  23. // Configure the view for the selected state
  24. }
  25. @end