interfacebuilder专题

iOS学习-tableViewCell初始化,InterfaceBuilder和代码实现的差异

1.InterfaceBuilder实现,使用函数-dequeueReusableCellWithIdentifier: forIndexPath:进行初始化 - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {