摘要: 第一步:现在model中定义一个bool属性, @property(nonatomic,assign)BOOL ischangeColor; 第一步:在给model赋值时,把符合条件的model的ischangeColor 设置为YES,不符合的设置为NO 第三部:直接在cell中根据model的i 阅读全文
posted @ 2020-03-04 16:10 昊天追风 阅读(280) 评论(0) 推荐(0)
摘要: 1.刷新某一行 NSIndexPath *indexPath = [NSIndexPath indexPathForRow:3 inSection:0];//行号 [self.tableView reloadRowsAtIndexPaths:@[indexPath] withRowAnimation 阅读全文
posted @ 2020-03-04 16:00 昊天追风 阅读(221) 评论(0) 推荐(0)