Skip to main content

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 date
  • indexPath: An index path that should be used to get the date

Did you find this page helpful?