chat-user-list-controller.observable-object-properties
controller
The underlying controller. You can still access it and call methods on it.
public let controller: ChatUserListController
users
The users matching the query.
@Published public private(set) var users: LazyCachedMapCollection<ChatUser> = []
state
The current state of the Controller.
@Published public private(set) var state: DataController.State
Methods
controller(_:didChangeUsers:)
public func controller(
_ controller: ChatUserListController,
didChangeUsers changes: [ListChange<ChatUser>]
)
controller(_:didChangeState:)
public func controller(_ controller: DataController, didChangeState state: DataController.State)