MessageKit is a Swift package that replaces JSQMessagesViewController with customizable chat cells, layouts, and an InputBarAccessoryView-based composer for iOS apps.
Overview
MessageKit delivers UIKit collection view cells and protocols for building chat screens in iOS applications. It covers default text, media, and custom message kinds with a documented cell stack: labels, containers, avatars, and accessories arranged for flexible padding and sizing.
Installation is via Swift Package Manager for iOS 14+ with Swift 6; older majors support earlier iOS releases. The library sits on InputBarAccessoryView for rich input bars and documents delegate hooks for display and layout.
An example project shows custom cells and integration patterns; API reference and FAQ live in generated docs. Community governance follows a Code of Conduct and Slack channel for contributors.
MessageKit is MIT-licensed UI code developers embed inside their own apps, not a hosted messaging backend.
Key features
- Chat collection view cells
- MessageKind-based rendering
- Custom cell layout hooks
- InputBarAccessoryView integration
- Swift Package Manager distribution
- Media and text message types
- Example app reference
Use cases
- In-app customer chat UIs
- Social messaging iOS clients
- Replacing legacy JSQ controllers