Chat  by exyte

SwiftUI framework for chat UI with customizable message cells

created 3 years ago
1,440 stars

Top 29.0% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This SwiftUI framework provides a highly customizable chat UI, enabling developers to build rich messaging experiences with features like custom message cells, media integration, and interactive elements. It targets iOS developers building chat applications who need a flexible and feature-complete UI component.

How It Works

The framework offers a ChatView component that manages message display, input handling, and user interactions. It supports various chat layouts (conversation, comments) and reply modes (quote, answer). Developers can extensively customize message cells, input views, and context menus using SwiftUI's declarative syntax and provided builders. It also integrates with Giphy for sticker support and includes a built-in media picker.

Quick Start & Requirements

Highlighted Details

  • Fully customizable message cells and input views via messageBuilder and inputViewBuilder.
  • Built-in media picker with camera and photo/video library access.
  • Supports Giphy integration for stickers and GIFs.
  • Customizable message context menus and swipe actions.
  • Pagination support for loading older messages.

Maintenance & Community

  • Developed by exyte.
  • Other SwiftUI libraries by the same author are listed in the README.

Licensing & Compatibility

  • MIT License.
  • Compatible with commercial and closed-source applications.

Limitations & Caveats

The "send" functionality is a closure, requiring developers to implement their own API calls. Features like "remove and edit" for messages are marked as "coming soon." New messages may not appear unless the chat is scrolled to the very top due to an optimization.

Health Check
Last commit

5 days ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
4
Star History
177 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems).

LangBot by langbot-app

0.9%
13k
IM bot platform for the LLM era
created 2 years ago
updated 5 days ago
Feedback? Help us improve.