Objective-C Client Reference
Class PIOAchievement
Language: Objective-C
An Achievement
Properties | |||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
@property (nonatomic) BOOL completed
True when Progress==ProgressGoal
@property (nonatomic) NSString * descriptionText
The description
@property (nonatomic) NSString * identifier
The id of the achivement
@property (nonatomic) NSString * imageUrl
An url to the image of the achievement
@property (nonatomic) NSDate * lastUpdated
Last updated time, in UTC
@property (nonatomic) unsigned int progress
Current progress made towards the ProgressGoal of this achievement
@property (nonatomic) unsigned int progressGoal
The progress value to reach to complete the achievement
@property (nonatomic) double progressRatio
A value in the range [0:1] indicating the progress made towards completion.
@property (nonatomic) NSString * title
The title of the achievement