> ## Documentation Index
> Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CometChat UI Kit For iOS

> Integrate chat functionality into iOS applications with prebuilt, modular, and customizable UI components

> [accordion] AI Integration Quick Reference
>
> ```json theme={null}
> {
>   "platform": "iOS UI Kit",
>   "package": "CometChatUIKitSwift",
>   "version": "5.2.3",
>   "description": "Pre-built UI components for iOS chat applications using SwiftUI",
>   "metadata": {
>     "peerDependencies": {
>       "CometChatSDK": ">= 4.1.10 (resolved by SPM)"
>     },
>     "supportedPlatforms": ["iOS 15.1+", "iPadOS 15.1+"],
>     "language": "Swift 5.3+",
>     "license": "MIT"
>   },
>   "quickLinks": {
>     "documentation": "https://www.cometchat.com/docs/ui-kit/ios/overview",
>     "repository": "https://github.com/cometchat/cometchat-uikit-ios",
>     "demo": "https://demo.cometchat.com"
>   }
> }
> ```

| Property | Value |
| - | - |
| Package | CometChatUIKitSwift |
| Version | 5.2.3 |
| Dependencies | CometChatSDK >= 4.1.10 (resolved by SPM) |
| Platforms | iOS 15.1+, iPadOS 15.1+ |
| Language | Swift 5.3+ |
| AI Skills | `npx @cometchat/skills add` — [GitHub](https://github.com/cometchat/cometchat-skills) |
| License | MIT |

***

## Introduction

The CometChat UI Kit for iOS provides a seamless solution to integrate chat functionality into your iOS applications. With prebuilt, modular, and customizable UI components, it accelerates development and ensures your chat application is robust, scalable, and tailored to your needs.

### Key Features

* Effortless Integration: Ready-to-use SwiftUI components for rapid implementation
* Highly Customizable: Adapt UI components to match your brand and user experience requirements
* Built on Core SDK: Leverages the powerful [CometChat iOS SDK](https://www.cometchat.com/docs/sdk/ios/overview.md) for reliable performance
* Scalable & Reliable: Optimized for enterprise-grade applications

***

## Integrate with AI Coding Agents

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any iOS project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).

```bash theme={null}
npx @cometchat/skills add
```

Use `--ide <name>` to target a specific IDE (e.g. `--ide cursor`), or `--ide all` to install for all supported IDEs.

Then in your IDE:

```
/cometchat add chat to my app
```

The skill detects your iOS project structure, navigation pattern, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your view controllers, navigation, and components before proposing a placement, shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code. Credentials are saved via `Secrets.swift` or `.xcconfig`.

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

* **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color
* **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
* **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
* **Set up production auth** — replace the dev Auth Key with a server-side token endpoint
* **Set up user management** — server endpoints for creating/updating/deleting CometChat users
* **Run diagnostics** — verify, drift detection, symptom-to-cause lookup

***

## Try It

> [card] [Demo App](https://link.cometchat.com/ios-demo-app)
>
> Experience the UI Kit in action with our interactive demo

> [card] [Sample App](https://github.com/cometchat/cometchat-uikit-ios)
>
> Explore the complete source code on GitHub

***

## Get Started

Before integrating the CometChat UI Kit, familiarize yourself with the key concepts and features offered by CometChat's platform:

* Review the [Key Concepts](https://www.cometchat.com/docs/fundamentals/key-concepts.md) to understand essential terminology and features
* Follow the [Getting Started Guide](https://www.cometchat.com/docs/ui-kit/ios/getting-started.md) for detailed steps on initial setup and integration

![](https://mintcdn.com/cometchat-22654f5b/2U5tVIzH12dbbFtr/images/b09905f9-instant-messaging-3479b572fd280c5fcb87e7b858d762bc.png?fit=max\&auto=format\&n=2U5tVIzH12dbbFtr\&q=85\&s=0cf0844a095e921b3a1eab6b9cef0518)

***

## Explore

> [card] [Components](https://www.cometchat.com/docs/ui-kit/ios/components-overview.md)
>
> Pre-built UI components for conversations, messages, users, and groups

> [card] [Features](https://www.cometchat.com/docs/ui-kit/ios/core-features.md)
>
> Core messaging, calling, and AI-powered features

> [card] [Theming](https://www.cometchat.com/docs/ui-kit/ios/theme-introduction.md)
>
> Customize colors, typography, and styling to match your brand

> [card] [Integration](https://www.cometchat.com/docs/ui-kit/ios/getting-started.md)
>
> Step-by-step guides for integrating the UI Kit

> [card] [API Reference](https://www.cometchat.com/docs/sdk/ios/overview.md)
>
> Complete SDK documentation and API details

> [card] [Guides](https://www.cometchat.com/docs/ui-kit/ios/guide-overview.md)
>
> Tutorials and how-to guides for common use cases

***

## Resources

> [card] [Demo App](https://link.cometchat.com/ios-demo-app)
>
> Try the interactive demo on your iOS device

> [card] [Sample App](https://github.com/cometchat/cometchat-uikit-ios)
>
> Complete sample application source code

> [card] [Integration Guides](https://www.cometchat.com/docs/ui-kit/ios/getting-started.md)
>
> Step-by-step integration tutorials

> [card] [Components](https://www.cometchat.com/docs/ui-kit/ios/components-overview.md)
>
> Browse all available UI components

> [card] [Features](https://www.cometchat.com/docs/ui-kit/ios/core-features.md)
>
> Explore messaging, calling, and AI features

> [card] [Theming](https://www.cometchat.com/docs/ui-kit/ios/theme-introduction.md)
>
> Customize the look and feel

> [card] [Troubleshooting](https://www.cometchat.com/docs/ui-kit/ios/troubleshooting.md)
>
> Common issues and solutions

> [card] [Support](https://help.cometchat.com/hc/en-us/requests/new)
>
> Get help from our support team

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.