Public Member Functions

<OFLeaderboardDelegate> Protocol Reference

#import <OFLeaderboard.h>

List of all members.

Public Member Functions

(void) - didDownloadHighScores:OFLeaderboard:
(void) - didFailDownloadHighScoresOFLeaderboard:

Detailed Description

Adopt the OFLeaderboardDelegate Protocol to receive information regarding OFLeaderboards. You must call OFLeaderboard's +(void)setDelegate: method to receive information.


Member Function Documentation

- (void) didDownloadHighScores: (NSArray *)  highScores
OFLeaderboard: (OFLeaderboard *)  leaderboard 
[optional]

Invoked when -(void)downloadHighScoresForLeaderboard: successfully completes.

Parameters:
leaderboardThe leaderboard which the OFHighScores belong to
highScoresAn NSArray of OFHighScore objects
- (void) didFailDownloadHighScoresOFLeaderboard: (OFLeaderboard *)  leaderboard [optional]

Invoked when -(void)downloadHighScoresForLeaderboard: fails to download.

Parameters:
leaderboardThe leaderboard in which we were trying to get high scores for

The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Properties