iOS实现客户端之间的简单消息传递系统(客户端/服务器)

发布于 2024-12-23 05:05:38 字数 1022 浏览 5 评论 0 原文

我一直在寻找一个简单的库或客户端/服务器示例代码,用于在我的 IOS 客户端应用程序的用户和 REST 服务器之间实现消息传递系统。我需要每个用户都有一个传入和发送的消息视图。该视图将显示按用户分组的对话。例如,使用表视图,其中每个单元格代表两个不同用户之间的线程,选择用户的对话将推送一个新视图,该视图将显示两个用户之间的所有消息。

我不得不说我没有找到太多,这是库和前端的混合:

也许编写一个简单的 REST 服务来向用户发布消息和从用户检索消息将是最好的方法?我是不是错过了什么?

谢谢!!

i've been looking around to find a simple library or a client/server sample code for implementing a messaging system between users of my IOS clients app and a REST server. I would need that each user has an incoming and sent messages view. This view would display the conversations grouped by user. For example, using a table view where each cell represent a thread between the 2 distinct users, selecting a user's conversation it would push a new view that would display all the messages between the two users.

I have to say that i didn't found much, this is a mix of libraries and front ends:

maybe coding a simple REST service for publishing and retrieving messages to and from a user would be the best approach? i'm i missing something?

thanks!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文