摘要: Configuring Rows for the Table View //配置table的列表- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath //告诉委托指定cell的高度- (NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath //告诉委托指定cell的缩进等级- (void)tableView: 阅读全文
posted @ 2013-04-01 16:52 张三的猫 阅读(585) 评论(0) 推荐(1) 编辑
摘要: Configuring a Table View//配置表格- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath //给予数据源指定indexPath位置的Cell元素(required method)- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView //给予数据源整个table包含的section数,默认为1- (NSInteger)tableView:(UIT 阅读全文
posted @ 2013-04-01 16:28 张三的猫 阅读(208) 评论(0) 推荐(0) 编辑