自定义单元格可以使用系统提供的UITableViewCell类。
查看答案
由于UITableView继承自UIScrollView,表视图可以滚动展示大量的表格信息。
A. 对
B. 错
解释下面代码段的功能: - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath: (NSIndexPath *)indexPath{ NSInteger row=indexPath.row;if (row==3) {return nil; }return indexPath; }
解释下面代码段的功能: NSBundle *bundle = [NSBundle mainBundle]; NSString *filePath = [bundle pathForResource:@"departInfo" ofType:@"plist"]; NSDictionary *allData = [[NSDictionary alloc] initWithContentsOfFile:filePath];