FSQPUserInfo Class Reference
FSQPUserInfo
An object representing user information to be added by the Pilgrim Partner app.
A dictionary representation of the FSQPUserInfo object.
Declaration
Return Value
A string mapping of all FSQPUserInfo data in an NSDictionary
Manually set custom string user data into the user info object. Note that this will silently fail and log an error if used to set one of the predefined keys that we use (ie. userId, gender, birthday, etc.), the provided setter methods should be used for those cases. Setting to nil will remove the value.
Declaration
Parameters
userInfo |
The value to store |
key |
The key to use for the backing NSDictionary object |
Removes the key from the backing dictionary.
Declaration
Parameters
key |
The key to use for the backing NSDictionary object. |
Sets a user id for the given user. Setting to nil removes the value.
Declaration
Parameters
userId |
A NSString representing the userId to set. |
Sets a gender for the given user. Setting to nil removes the value.
Declaration
Parameters
gender |
A NSString representing the gender to set. |
Sets a birthday for the given user. This gets converted to a NSString as a NSTimeIntervalSince1970. Setting to nil removes the value.
Declaration
Parameters
birthday |
A NSDate representing the birthday to set |