2012-04-17 104 views

回答

0

不,在Storyboard中,您可以通过将对象拖动到单元格中来编辑您想要的单元格。

你一定要做出一个新的类的UITableViewCell的,并使用一个在故事板,如果需要连接的一切行动,并使用以下方法:

#import "YourTableViewCell.h" 
- (YourTableViewCell *)tableView:(YourTableViewCell *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { 

.... 

    [self configureCell:cell atIndexPath:indexPath]; 

} 

- (void)configureCell:(YourTableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath