NoticeTableViewCell.m 868 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // NoticeTableViewCell.m
  3. // ChinaTheoryNetwork
  4. //
  5. // Created by 张毅成 on 2019/1/29.
  6. // Copyright © 2019 张毅成. All rights reserved.
  7. //
  8. #import "NoticeTableViewCell.h"
  9. @implementation NoticeTableViewCell
  10. - (void)awakeFromNib {
  11. [super awakeFromNib];
  12. // Initialization code
  13. }
  14. + (instancetype)cellWithTableView:(UITableView *)tableView {
  15. static NSString *ID = @"NoticeTableViewCell";
  16. NoticeTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
  17. if (cell == nil) {
  18. cell = [[[NSBundle mainBundle] loadNibNamed:ID owner:self options:nil] firstObject];
  19. }
  20. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  21. return cell;
  22. }
  23. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  24. [super setSelected:selected animated:animated];
  25. // Configure the view for the selected state
  26. }
  27. @end