2012-04-17 175 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