CSSocial
 All Classes Functions Properties Pages
CSSocialUser Class Reference
Inheritance diagram for CSSocialUser:
<CSSocialUser> CSSocialUserFacebook CSSocialUserTwitter

Instance Methods

(id) - initWithResponse:
 
- Instance Methods inherited from <CSSocialUser>
(NSString *) - name
 
(NSString *) - firstName
 
(NSString *) - lastName
 
(NSString *) - userName
 
(NSString *) - ID
 
(NSString *) - location
 
(NSString *) - gender
 
(NSURL *) - pageURL
 
(NSURL *) - photoURL
 

Class Methods

(id) + userWithResponse:
 
(NSArray *) + usersWithResponse:
 

Properties

NSString * name
 
NSString * firstName
 
NSString * lastName
 
NSString * userName
 
NSString * location
 
NSString * gender
 
NSString * ID
 
NSURL * photoURL
 
NSURL * pageURL
 

Method Documentation

- (id) initWithResponse: (id)  response

initializes a user based on the response

Parameters
responsea response obtained when calling an API on a social service
Returns
a CSSocialUser instance
+ (NSArray*) usersWithResponse: (id)  response

returns an array of users from response

Parameters
responsesocial response
Returns
array of CSSocialUser objects
+ (id) userWithResponse: (id)  response

initializes a user based on the response

Parameters
responsea response obtained when calling an API on a social service
Returns
a CSSocialUser instance

The documentation for this class was generated from the following file: