def tableview_cell_for_row(self, tv, section, row):
item = self.filtered_items[row]
cell = TableViewCell(UITableViewCellStyle.subtitle.value)
cell.text_label.number_of_lines = 1
cell.text_label.text = item.title
cell.detail_text_label.text = item.subtitle
cell.detail_text_label.text_color = (0, 0, 0, 0.5)
return cell
评论列表
文章目录