Skip to main content

ChatConnectionController.ObservableObject

A wrapper object for CurrentUserController type which makes it possible to use the controller comfortably in SwiftUI.

public class ObservableObject: SwiftUI.ObservableObject 

Inheritance

ChatConnectionControllerDelegate, SwiftUI.ObservableObject

Properties

controller

The underlying controller. You can still access it and call methods on it.

public let controller: ChatConnectionController

connectionStatus

The connection status.

@Published public private(set) var connectionStatus: ConnectionStatus

Methods

connectionController(_:didUpdateConnectionStatus:)

public func connectionController(
_ controller: ChatConnectionController,
didUpdateConnectionStatus status: ConnectionStatus
)

Did you find this page helpful?