(UITableViewCell )tableView:(UITableView )tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
LJProductTableViewCell *cell=[LJProductTableViewCell ProductTableViewCell:tableView];
cell.selectionStyle=UITableViewCellSelectionStyleNone;
cell.delegate=self;
LJProductGroup *group=self.productGroups[indexPath.section];
LJProductModel *leftItem=group.products[2*indexPath.row];
LJProductModel *rightItem=[[LJProductModel alloc]init];
if(2*indexPath.row+1
tableview cell中包含cell或者不同的部分
UITableViewCell自定义显示
本文介绍如何使用UITableView展示产品信息,通过自定义UITableViewCell来实现复杂布局,并设置cell的selectionStyle为None避免选中效果。

被折叠的 条评论
为什么被折叠?



