Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect code snippets in README #4

Open
maxxfrazer opened this issue Dec 18, 2023 · 1 comment
Open

Incorrect code snippets in README #4

maxxfrazer opened this issue Dec 18, 2023 · 1 comment

Comments

@maxxfrazer
Copy link
Contributor

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#>)
@zjc19891106
Copy link
Collaborator

yep,this is a known issue that was accidentally deleted by the documentation engineer during the modification of the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants