摘要: 第一步:现在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)
摘要: 第一步: 打开终端,输入cd,然后空格,把文件夹拖进去 第二步: 输入 vim podfile 敲回车 第三步: 输入i,进行编辑。 第四步: 编辑完成后,按esc键,然后进行英文切换键盘,然后输入:wq 敲回车 第五步: 输入pod install,即可完成 阅读全文
posted @ 2019-05-16 15:56 昊天追风 阅读(337) 评论(0) 推荐(0)