开发者

How can I get an achievementID from an OFAchievement *?

[OFAchievement achievements] returns an NSArray of OFAchievement *'s. OFAchievement has several properties, including title and description but it does not have an acheivementID property. I could call [OFAchievement achievement:(NSString *)] for each of my game's achievements and match up the title, but that seems slow and awkward.

Is there a better way?

Should I just ignore [OFAchievement achievements] and only use [OFAchievement achievement:(NSString *)] with my own list of achievementIDs?

I am using OpenFei开发者_开发知识库nt 2.7.4.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜