PlayerIO

The fastest way to build online games without breaking a sweat.

Objective-C Client Reference

Multiplayer  class documentationClass PIOYahooProfiles

Language: Objective-C

The YahooProfile Service.

Properties

 
myProfile
The profile of the current user

Methods

 
- (void)
loadProfilesWithUserIds:successBlock:
Load a set of Yahoo profiles synchronously
- (void)
loadProfilesWithUserIds:successBlock:errorBlock:
Load a set of Yahoo profiles asynchronously
- (void)
showProfileWithUserId:closedBlock:
Show the profile for the specified user

@property (nonatomic) PIOYahooProfile * myProfile

The profile of the current user

loadProfilesWithUserIds:successBlock:

Load a set of Yahoo profiles synchronously

Arguments

NSArray* userIds
The userIds of the profiles to load.
void(^)(NSArray*) successBlock
Callback block that will be called with the loaded profiles.

loadProfilesWithUserIds:successBlock:errorBlock:

Load a set of Yahoo profiles asynchronously

Arguments

NSArray* userIds
The userIds of the profiles to load.
void(^)(NSArray*) successBlock
Callback block that will be called with the loaded profiles.
void(^)(PIOError*) errorBlock
Callback block that will be called if the load fails.

showProfileWithUserId:closedBlock:

Show the profile for the specified user

Arguments

NSString* userId
The userId of the user
void(^)() closedBlock
Callback block that will be called when the profile page is closed