Skip to main content
The CometChat v5 iOS UI Kit introduces a modular architecture with smaller, focused components replacing composite components. This guide outlines the key differences and provides migration steps from v4 to v5.

Overview of Changes


Integration

In v4, integration was straightforward due to composite components like CometChatConversationsWithMessages. This single component provided end-to-end functionality including listing conversations, handling clicks, loading messages, and supporting threaded messages. However, customization required deep understanding of internal flows, and configurations mixed custom view props, behavioral props, and style props. With v5, composite components are replaced with smaller, modular components:
  • CometChatConversations
  • CometChatMessageHeader
  • CometChatMessageList
  • CometChatMessageComposer
This modular approach makes integration more flexible. Each component has a well-defined purpose, and developers can customize behavior and styling directly via component properties and Swift APIs.
Learn how to build a complete messaging UI using the v5 UI Kit by following the Getting Started guide.

Components

v4 Components

v5 Components


Theming

v4 Theming

In v4, theming required instantiating multiple objects and passing them through constructors:
V4 UI Kit

v5 Theming

In v5, theming uses direct static property assignment:
V5 UI Kit
For detailed guidance on theming, refer to:

Properties

In v5, the approach to properties has been refined:
  • Style properties — Replaced by a native theming system based on direct property access
  • Configuration properties — Removed due to modular architecture; developers have direct control over each component
  • Custom view properties — Restructured for consistency with unified naming: itemView, leadingView, trailingView, subtitleView, titleView

Property Changes

Conversations

New Properties

Renamed Properties

Removed Properties


Users

New Properties

Renamed Properties

Removed Properties


Groups

New Properties

Renamed Properties


Group Members

New Properties

Renamed Properties

Removed Properties


Message Header

New Properties

Renamed Properties

Removed Properties


Message List

New Properties

Renamed Properties

Removed Properties


Message Composer

New Properties

Renamed Properties

Removed Properties


Next Steps

Getting Started

Fresh v5 setup guide for iOS

Components Overview

Explore all v5 prebuilt UI components

Theme Introduction

New direct property-based theming system

Color Resources

Customize colors and dark mode