Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

CometChatDate is a UILabel which is used to show the date and time. It provides various methods to customize the appearance and behavior of the CometChatDate.

How to integrate CometChatDate ?

Since CometChatDate is a UILabel, It can be added directly in the build method. CometChatDate includes various parameters to customize its UI.

Usage

//create object of CometChatDate
let date = CometChatDate()

Methods

MethodsTypeDescription
set(timestamp: Int)IntUsed to set time stamp
set(pattern: CometChatDatePattern)CometChatDatePatternUsed to set pattern with different logics TIME,DAY_DATE,DAY_DATE_TIME