Created
January 19, 2011 03:54
-
-
Save mike3k/785663 to your computer and use it in GitHub Desktop.
This file contains 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
NSString *CellIdentifier; | |
if (indexPath.row == X) && (indexPath.section == Y) { | |
CellIdentifier = @"CellWithSubview"; | |
} else { | |
CellIdentifier = @"Cell"; | |
} | |
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; | |
if (cell == nil) { | |
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment