ChatChannelMemberController.ObservableObject
A wrapper object for ChatChannelMemberController
type which makes it possible to use the controller
comfortably in SwiftUI.
public class ObservableObject: SwiftUI.ObservableObject
Inheritance
ChatChannelMemberControllerDelegate
, SwiftUI.ObservableObject
Properties
controller
The underlying controller. You can still access it and call methods on it.
public let controller: ChatChannelMemberController
member
The channel member.
@Published public private(set) var member: ChatChannelMember?
state
The current state of the controller.
@Published public private(set) var state: DataController.State
Methods
memberController(_:didUpdateMember:)
public func memberController(
_ controller: ChatChannelMemberController,
didUpdateMember change: EntityChange<ChatChannelMember>
)
controller(_:didChangeState:)
public func controller(_ controller: DataController, didChangeState state: DataController.State)