Skip to main content
UI Kit v6 is in beta (6.0.0-beta.1). APIs may change before the stable release.
The CometChat iOS UI Kit provides prebuilt, customizable components for adding chat, voice and video calling to an iOS app. Every component fetches its own data, listens for real-time events and keeps its own state — so you drop it in and it works. It ships two toolkits that share one data layer (CometChatCore — the stores, the value types and the events), so the same screen behaves the same whichever you choose:
  • SwiftUI — SwiftUI views, modifiers and bindings, for SwiftUI apps and new apps.
  • UIKit — native view controllers, UIViews, cells and delegates, for UIKit apps.
CometChat Conversations list rendered by the iOS UI Kit v6, showing avatars, names, last messages, timestamps and unread badges

Get Started

Every integration starts the same way — add the package, initialise, and log in — then you build the UI with your chosen toolkit. Start with the prerequisites, then pick a path:

Prerequisites & Setup

App credentials, Swift Package Manager install, initialize and login — shared by both toolkits

SwiftUI

Build your chat UI with SwiftUI views and modifiers

UIKit

Build your chat UI with native view controllers

Choose a Toolkit

The Kit ships three products. CometChatCore is the foundation both toolkits share; the toolkit is your choice — pick the one that matches how your app is built.

CometChatSwiftUI

SwiftUI views that fetch, paginate and stay live. Most SwiftUI apps want this.

CometChatUIKit

View controllers, cells and delegates. A native toolkit — not a wrapper.

CometChatCore

The shared foundation: the session, stores, value types, theme and strings. Both toolkits re-export it.

They render the same screen

The same data, the same design — one drawn by SwiftUI, one by UIKit. What differs is the API you write, not what your user sees.
The Conversations list, which looks the same whether the SwiftUI or the UIKit toolkit draws it

The Conversations list, as either toolkit draws it

The two toolkits use different names, on purpose

The same option is spelled differently in each: Every component page shows both, in tabs: read the tab for the toolkit you chose and you never meet the other’s names. A few style types (AvatarStyle, CallButtonStyle, DateStyle, StatusIndicatorStyle) and every component have the same name in both, which is why an app adds one toolkit, not both.

Requirements

v6 is distributed through Swift Package Manager only — there is no CocoaPods pod.

Explore

Components

Browse all prebuilt UI components

Features

Chat, calling, AI, and extensions

Theming

Colors, fonts, dark mode, and custom styling

Guides

Threaded messages, new chat, search, and more

Key Concepts

Essential terminology and platform features

Architecture

How components, stores, and data flow fit together

Resources

Source

The package and its sample app

Migration Guide

Upgrading from v5

Troubleshooting

Common issues and fixes

Support

Open a support ticket