代码改变生活

2015年5月29日

UITableViewCell Property “icon” cannot be found in forward class object “DJWeiBo”

摘要: UITableViewCell 自定义表格 实体属性不显示错误 Property “icon” cannot be found in forward class object “DJWeiBo”引入实体类声明就可以了 (#import "DJWeiBo")Xcode 6.2环境 mac10.10造成... 阅读全文

posted @ 2015-05-29 11:38 张大少。 阅读(471) 评论(0) 推荐(0) 编辑

通过代码自定义cell 新浪微博页面显示

摘要: 通过代码自定义cell(cell的高度不一致)(如果高度一致的cell 用xib实现)1.新建一个集成自UItableVIewCell的类2.重写initWithStle :方法1 - (instancetype)initWithStyle:(UITableViewCellStyle)style r... 阅读全文

posted @ 2015-05-29 00:44 张大少。 阅读(217) 评论(0) 推荐(0) 编辑

导航

繁星纵变 智慧永恒