Skip to content

Commit

Permalink
Merge pull request #581 from zjc19891106/patch-3
Browse files Browse the repository at this point in the history
Update roomuikit_best_practice.md
  • Loading branch information
haoxiuwen authored Jan 3, 2024
2 parents 3a8fb3d + c16e2f4 commit ba48c56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/uikit/chatroomuikit/ios/roomuikit_best_practice.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ let error = ChatroomUIKitClient.shared.setup(appKey,option: option)
public final class YourAppUser: NSObject,UserInfoProtocol {

public func toJsonObject() -> Dictionary<String, Any>? {
["userId":self.userId,"nickName":self.nickName,"avatarURL":self.avatarURL,"identity":self.identity,"gender":self.gender]
["userId":self.userId,"nickName":self.nickname,"avatarURL":self.avatarURL,"identity":self.identity,"gender":self.gender]
}

public var identity: String = ""//用户级别图像的 URL

public var userId: String = <#T##String#>

public var nickName: String = "Jack"
public var nickname: String = "Jack"

public var avatarURL: String = "https://accktvpic.oss-cn-beijing.aliyuncs.com/pic/sample_avatar/sample_avatar_1.png"

Expand Down

0 comments on commit ba48c56

Please sign in to comment.