[Deprecated] Sendbird Chat SDK for iOS in Objectivce-C for enablement of a rich, engaging, scalable, and real-time chat service.
OTHER License
This is the biggest release since our initial v3 release. Some of changes should be carefully taken when you update the SDK.
Now every completion handler/delegates in SDK is returned to MAIN THREAD queue. It used to be inconsistent so some were returned to main thread and others to background thread. Be aware that you shouldn't call any blocking/long running job without using custom background queue in our completion handler/delegates!!!!
For your convenience we added the methods to set default dispatch queue for every delegates and completion handlers. The queue can be changed like this:
[SBDMain setCompletionHandlerDelegateQueue:dispatch_get_main_queue()];
or
[SBDMain setCompletionHandlerDelegateQueue:dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)];
[SBDMain setNetworkAwarenessReconnection:YES];
or
[SBDMain setNetworkAwarenessReconnection:NO];
Note that we don't return result objects anymore when there's an error in completion handlers starting from this version. Please make sure that you don't use a result object when an error occurs after updating SDK.