CometChat Swift UIKit provides a pre-built user interface kit that developers can use to quickly integrate a reliable & fully-featured chat experience into an existing or a new mobile app.
Dive straight into our Sample Apps to see CometChat UI Kit in action! Whether you're building a messaging app or enhancing your existing project, this sample app showcases the full potential of our iOS UI components.
- Xcode 15 or later
- iOS 15.1 and later
CometChat UI Kit is distributed as a Swift package.
In Xcode: File → Add Package Dependencies…, enter the package URL, and add the CometChatUIKitSwift product to your app target:
https://github.com/cometchat/cometchat-uikit-ios.git
In a Package.swift:
dependencies: [
.package(url: "https://github.com/cometchat/cometchat-uikit-ios.git", from: "5.2.0")
],
targets: [
.target(
name: "YourApp",
dependencies: [
.product(name: "CometChatUIKitSwift", package: "cometchat-uikit-ios")
]
)
]For the full list of released versions, see the releases page.
CocoaPods distribution is deprecated and is no longer maintained. Please use Swift Package Manager (above). Existing CocoaPods integrations should migrate to SPM; no new CocoaPods versions will be published.
To set up Swift Chat UIKit and utilize CometChat for your chat functionality, you'll need to follow these steps:
- Registration: Go to the CometChat Dashboard and sign up for an account.
- After registering, log into your CometChat account and create a new app. Once created, CometChat will generate an Auth Key and App ID for you. Keep these credentials secure as you'll need them later.
- Check the Key Concepts to understand the basic components of CometChat.
- Refer to the Integration Steps in our documentation to integrate the UI Kit into your iOS app.
For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket or seek real-time support via the CometChat Dashboard.

