Created
July 26, 2009 09:32
-
-
Save chuyeow/155478 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static NSString *CellIdentifier = @"Cell"; | |
cell = (MyCustomCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier]; | |
if (cell == nil) { | |
NSArray *nibContents = [[NSBundle mainBundle] loadNibNamed:@"TableCell" owner:self options:nil]; | |
cell = [nibContents objectAtIndex:0]; | |
} | |
// do your customization | |
return cell; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment