chat-message-search-controller.observable-object-properties
controller
The underlying controller. You can still access it and call methods on it.
public let controller: ChatMessageSearchController
messages
The current result of messages.
@Published public private(set) var messages: LazyCachedMapCollection<ChatMessage> = []
state
The current state of the controller.
@Published public private(set) var state: DataController.State
Methods
controller(_:didChangeMessages:)
public func controller(_ controller: ChatMessageSearchController, didChangeMessages changes: [ListChange<ChatMessage>])
controller(_:didChangeState:)
public func controller(_ controller: DataController, didChangeState state: DataController.State)