AI Integration Quick Reference
AI Integration Quick Reference
UI Kit v6 is in beta (
6.0.0-beta.1). APIs may change before the stable release.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.

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 toolkitsSwiftUI
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.
- SwiftUI
- UIKit
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, 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
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