Getstream Bad iOS文档

问题描述 投票:0回答:1

好,所以我试图将GetStream添加到允许用户发表评论的应用程序中。首先,我在努力理解文档的“向后”语法时,我也在努力地使方法正确运行(这归功于糟糕的文档),因为我要做的就是检查用户是否遵循特定的提要:

userFeed!.following(filter: [FeedId(feedSlug: "element", userId: uuid)], limit: 1) { result in}

以上操作由于以下原因而失败:

Cannot convert return expression of type 'Cancellable' to return type 'Bool'

这是他们自己的文档的摘要:

user1.following(filter: [FeedId(feedSlug: "user", userId: "42"),
                     FeedId(feedSlug: "user", userId: "43")], limit: 2) { result in /* ... */ }

有人与GetStream合作可以提供帮助吗?

谢谢

swift getstream-io
1个回答
0
投票

从您的日志中,问题更加明确。供稿ID不能包含超过1个冒号。

© www.soinside.com 2019 - 2024. All rights reserved.