Created
October 13, 2010 16:04
-
-
Save typeoneerror/624344 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
// get current achievement from array as a description | |
GKAchievementDescription *achievement = (GKAchievementDescription *)[self.achievementsList objectAtIndex:row]; | |
// set the cell's text to the title | |
cell.textLabel.text = achievement.title; | |
// check to see if achievement has been completed | |
if ([self.achievements objectForKey:achievement.identifier]) | |
{ | |
// get the achievement from the dictionary using the identifier | |
GKAchievement *theAchievement = [self.achievements objectForKey:achievement.identifier]; | |
// more code... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment