GravityUser Class Reference
Inherits from | NSObject |
---|---|
Declared in | GravityUser.h GravityUser.m |
Other Methods
userId
Id of the user
@property NSString *userId
Discussion
Id of the user
Declared In
GravityUser.h
hidden
Visibilty flag of the user
@property BOOL hidden
Discussion
Visibilty flag of the user
Declared In
GravityUser.h
nameValues
The NameValues for the user
@property NSArray *nameValues
Discussion
The NameValues for the user
Declared In
GravityUser.h
– initWithDictionary:
Initializes a GravityUser object with a dictionary
- (id)initWithDictionary:(NSDictionary *)dict
Parameters
dict |
the dictionary representing the object |
---|
Return Value
an initialized GravityScenarioInfo object
Discussion
Initializes a GravityUser object with a dictionary
Declared In
GravityUser.h
– initWithJSON:
Initializes a GravityUser object with JSON data
- (id)initWithJSON:(NSData *)jsonData
Parameters
jsonData |
the JSON data representing the object |
---|
Return Value
an initialized GravityScenarioInfo object
Discussion
Initializes a GravityUser object with JSON data
Declared In
GravityUser.h
+ usersToJSON:
Converts a GravityUser array to JSON
+ (NSData *)usersToJSON:(NSArray *)users
Discussion
Converts a GravityUser array to JSON
Declared In
GravityUser.h