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

Documentation bug #20

Open
kenrachynski opened this issue Jan 10, 2025 · 0 comments
Open

Documentation bug #20

kenrachynski opened this issue Jan 10, 2025 · 0 comments

Comments

@kenrachynski
Copy link

Describe the bug
The Getting Started document show how to use this library in code to connect and interact with a Matrix server. Xcode says Value of type 'RoomList' has no member 'entries', when I copy the third example into Xcode.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Xcode command line project
  2. Copy the first code block from the document and compile. You now have a program that simply connects to an account on a homeserver
  3. Copy the third code block from the document to the end of your project and compile. This should set your program up to respond to room events after connecting
  4. See error

Expected behavior
I expected to be able to copy and paste code into my project at each step and have a working program

Desktop (please complete the following information):

  • OS: macOS 15.2, Xcode 16.2

Additional context

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

No branches or pull requests

1 participant