用户资料
构造函数 | |
(void) | - encodeWithCoder: |
(id) | - initWithCoder: |
属性 | |
NSString * | identifier |
NSString * | nickname |
TIMFriendAllowType | allowType |
NSString * | faceURL |
NSData * | selfSignature |
TIMGender | gender |
uint32_t | birthday |
NSData * | location |
uint32_t | language |
uint32_t | level |
uint32_t | role |
NSDictionary * | customInfo |
- (void) encodeWithCoder: | (NSCoder *) | encoder |
读取实例变量,并把这些数据写到 coder 中去,序列化数据
- (id) initWithCoder: | (NSCoder *) | decoder |
从 coder 中读取数据,保存到相应的变量中,即反序列化数据
|
readwritenonatomicstrong |
用户 identifier
|
readwritenonatomicstrong |
用户昵称
|
readwritenonatomicassign |
好友验证方式
|
readwritenonatomicstrong |
用户头像
|
readwritenonatomicstrong |
用户签名
|
readwritenonatomicassign |
用户性别
|
readwritenonatomicassign |
用户生日
|
readwritenonatomicstrong |
用户区域
|
readwritenonatomicassign |
用户语言
|
readwritenonatomicassign |
等级
|
readwritenonatomicassign |
角色
|
readwritenonatomicstrong |
自定义字段集合,key是NSString类型,value是NSData类型或者NSNumber类型 key值按照后台配置的字符串传入,不包括 TIMProfileTypeKey_Custom_Prefix 前缀