Public Member Functions

<OFUserDelegate> Protocol Reference

#import <OFUser.h>

List of all members.

Public Member Functions

(void) - didGetUser:
(void) - didFailGetUser
(void) - didGetFriends:OFUser:
(void) - didFailGetFriendsOFUser:
(void) - didGetFriendsWithThisApplication:OFUser:
(void) - didFailGetFriendsWithThisApplicationOFUser:
(void) - didGetProfilePicture:OFUser:
(void) - didFailGetProfilePictureOFUser:

Detailed Description

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


Member Function Documentation

- (void) didFailGetFriendsOFUser: (OFUser *)  user [optional]

Invoked when getFriends fails.

Parameters:
userThe OFUser for which we failted to get friends
- (void) didFailGetFriendsWithThisApplicationOFUser: (OFUser *)  user [optional]

Invoked when getFriendsWithThisApplication fails.

Parameters:
userThe OFUser for which we failed to get friends
- (void) didFailGetProfilePictureOFUser: (OFUser *)  user [optional]

Invoked when getProfilePicture fails

Parameters:
userThe OFUser for which the image was requested.
- (void) didFailGetUser [optional]

Invoked when getUser: fails.

- (void) didGetFriends: (NSArray *)  follows
OFUser: (OFUser *)  user 
[optional]

Invoked when getFriends successfully completes

Parameters:
followsThe NSArray of OFUsers which are friends
userThe OFUser for which the friends were requested
- (void) didGetFriendsWithThisApplication: (NSArray *)  follows
OFUser: (OFUser *)  user 
[optional]

Invoked when getFriendsWithThisApplication successfully complete.

Parameters:
followThe NSArray of OFUsers which are friends
userThe OFUser for which the friends were requested.
- (void) didGetProfilePicture: (UIImage *)  image
OFUser: (OFUser *)  user 
[optional]

Invoked when getProfilePicture successfully completes

Parameters:
imageThe image requested
userThe OFUser that this image belongs to
- (void) didGetUser: (OFUser *)  user [optional]

Invoked when getUser: successfully completes

Parameters:
userThe user requested

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