Created
February 17, 2011 15:08
-
-
Save DVG/831889 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
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