openimsdk / open-im-sdk-ios

An OpenIM SDK in Objective-C for iOS
https://openim.io
MIT License
159 stars 144 forks source link

[API design]: Why not return conversation synchronously? #39

Closed AnnaSearl closed 3 months ago

AnnaSearl commented 9 months ago

What would you like to share?

I found that the API related to get conversation in the document are all asynchronous. Why don't they return synchronously? This will be more convenient and easier to use. image image image

Additional information

No response

AnnaSearl commented 9 months ago

Just like this - (OIMConversationInfo *)getConversation:(NSString *)conversationId

std-s commented 3 months ago

Hi, for UI smoothness.