Skip to content

Incorrect code snippets in README #4

@maxxfrazer

Description

@maxxfrazer

this is when comparing to ChatroomUIKit.doccarchive.

Snippets that do not exist in the exact format:

let roomView = ChatroomUIKitClient.shared.launchRoomView(roomId: String,frame: CGRect, is owner: Bool)    

Not even valid Swift code, can't have a space in parameter name "is owner"

let error = ChatroomUIKitClient.shared.setup(
    with: "Your appkey",
    option: ChatroomUIKitInitialOptions.ChatOptions()
)
 ChatroomUIKitClient.shared.login(user: YourAppUser(), token: ExampleRequiredConfig.chatToken) {

Incorrect parameter and open brace { at the end

let roomView = ChatroomUIKitClient.shared.launchRoomView(roomId: "聊天室 ID",frame: <#T##CGRect#>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions