Description
MessageKit is a community-driven chat interface library for iOS, written as a replacement for JSQMessagesViewController. Its goals are to make adding chat to a project easy and to enable customisable chat UIs. Each default message cell is a subclass of MessageContentCell, which has a cell top label, a message top label, a message container, a message bottom label and a cell bottom label, with an avatar view and an accessory view on either side. The default TextMessageCell uses a MessageLabel for its content. Text entry is handled by MessageInputBar, which is built on the InputBarAccessoryView dependency. The README recommends installing through the Swift Package Manager by adding the repository URL to your project. The current release requires iOS 14 or later and Swift 6 or later. For older toolchains, the README lists earlier versions for iOS 13 down to iOS 9, and for CocoaPods. An example project, a quick start guide and FAQs are provided.…
Highlights
- Chat interface library for iOS apps
- Customisable message cells and layout
- Message input bar built on InputBarAccessoryView
- Installs with the Swift Package Manager
- Requires iOS 14 and Swift 6
Ratings & Reviews
No ratings yet
Be the first to rate MessageKit.
People also visit
MessageKit FAQ
What is MessageKit?
A community-driven chat interface library for iOS, written as a replacement for JSQMessagesViewController.
How do I install it?
The README recommends the Swift Package Manager: add the MessageKit repository URL to your project. A manual installation is also described.
Which iOS and Swift versions does it need?
iOS 14 or later and Swift 6 or later. The README lists earlier releases for older iOS versions and Swift 5.x, and for CocoaPods.
Where do I learn how to use it?
Start with the Quick Start guide, the FAQs and the Example project. Questions can go to Stack Overflow with the messagekit tag, or to GitHub issues labelled Question.
Can I customise the chat UI?
Yes. Message cells are subclasses of MessageContentCell with separate label and avatar views, so their layout and appearance can be changed.
What are the best MessageKit alternatives?
Popular alternatives to MessageKit include ChatLayout, React Native Gifted Chat and Cometchat Uikit Android. See all MessageKit alternatives



