ChatMessageListScrollOverlayDataSource
A protocol for ChatMessageListScrollOverlayView
data source.
public protocol ChatMessageListScrollOverlayDataSource: AnyObject
Inheritance
AnyObject
Requirements
scrollOverlay(_:textForItemAt:)
Get date for item at given index path
func scrollOverlay(_ overlay: ChatMessageListScrollOverlayView, textForItemAt indexPath: IndexPath) -> String?
Parameters
overlay
: A view requesting dateindexPath
: An index path that should be used to get the date