You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We hold a weak reference to the channel so that `DefaultLiveObjects` can hold a strong reference to us without causing a strong reference cycle. We'll revisit this in https://github.com/ably/ably-cocoa-liveobjects-plugin/issues/9.
@@ -26,7 +26,7 @@ internal final class DefaultCoreSDK: CoreSDK {
26
26
27
27
// MARK: - Fetching channel
28
28
29
-
privatevarchannel:ARTRealtimeChannel{
29
+
privatevarchannel:AblyPlugin.RealtimeChannel{
30
30
guardlet channel = weakChannel.referenced else{
31
31
// It's currently completely possible that the channel _does_ become deallocated during the usage of the LiveObjects SDK; in https://github.com/ably/ably-cocoa-liveobjects-plugin/issues/9 we'll figure out how to prevent this.
32
32
preconditionFailure("Expected channel to not become deallocated during usage of LiveObjects SDK")
fatalError("To access LiveObjects functionality, you must pass the LiveObjects plugin in the client options when creating the ARTRealtime instance: `clientOptions.plugins = [.liveObjects: AblyLiveObjects.Plugin.self]`")
@@ -33,7 +41,7 @@ internal final class DefaultInternalPlugin: NSObject, AblyPlugin.LiveObjectsInte
0 commit comments