Skip to content

Instantly share code, notes, and snippets.

@DVG
Created February 17, 2011 15:08
Show Gist options
  • Save DVG/831889 to your computer and use it in GitHub Desktop.
Save DVG/831889 to your computer and use it in GitHub Desktop.
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
for (int y=0; y<[selectedMonsters count];y++) {
if [[selectedMonsters objectAtIndex:y] isKindOfTemplate:[monsters objectAtIndexPath:indexPath]] {
cell.detailLabel.text = [monster quantity];
}
else {
cell.detailLabel.text = "";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment