Skip to content

Repository files navigation

CometChat

CometChat iOS UI Kit

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.

🚀 Explore the Sample Apps!

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.

Prerequisites

  • Xcode 15 or later
  • iOS 15.1 and later

Installation

Swift Package Manager

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 (deprecated)

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.

Getting Started

To set up Swift Chat UIKit and utilize CometChat for your chat functionality, you'll need to follow these steps:

  1. Registration: Go to the CometChat Dashboard and sign up for an account.
  2. 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.
  3. Check the Key Concepts to understand the basic components of CometChat.
  4. Refer to the Integration Steps in our documentation to integrate the UI Kit into your iOS app.

Help and Support

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.

About

Ready-to-use Chat UI Components for iOS

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

606 stars

Watchers

15 watching

Forks

Releases

Used by

Contributors

Languages