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 ?
SinceCometChatDate is a UILabel, It can be added directly in the build method. CometChatDate includes various parameters to customize its UI.
Usage
- Swift
Methods
| Methods | Type | Description |
|---|---|---|
set(timestamp: Int) | Int | Used to set time stamp |
set(pattern: CometChatDatePattern) | CometChatDatePattern | Used to set pattern with different logics TIME,DAY_DATE,DAY_DATE_TIME |