This an updated version of MessengerKit, a drop-in UI for messenger interfaces on iOS built in Swift. Centred around a single UIViewController
, VHMessengerKit is themeable to fit your needs and includes a number of powerful features:
-
UICollectionView
based with pre-loading and caching of size calculation for bubbles. - Auto-growing input view.
- Multiple cell types: text, large-emoji, image, video, location and gifs.
- Presentation of
SFSafariViewController
. - Built-in, customisable themes.
- A custom theming system to bring your own
UICollectionViewCell
s, headers, footers, and input views. - Avatar support (currently only in the
travamigos
theme).
The framework is actively being used and maintained in one of our apps, Vivus.
VHMessengerKit requires Swift 4.2 and iOS 11.0 or later.
Drag the contents of the VHMessengerKit
folder into your Xcode Project.
Add the following to your project's Podfile.
pod 'VHMessengerKit', :git => 'https://github.com/VivusHub/VHMessengerKit'
- Updated by @VivusHub.
- It makes use of KeyboardUtility by @JunyuKuang.
- Thanks to @steve228uk MessengerKit for which this project is based upon.
Support Vivus Hub open sourced projects by buying us a coffee or subscribing to a monthly support plan.
Extract from Vivus Hub commercially available contents agreement:
When using our free contents you have the permission to use, reproduce, publicly perform, publicly display, modify, translate, distribute, publish in whole or in part as long as:
- Vivus hub is referenced in such work through e.g a copy of this Vivus Hub 'Commercially Available Contents' terms or url link back to our terms and conditions.
- In the event you collect information about users, you must make it clear you (not Vivus hub) are the ones collecting such information.
The software is provided 'As is', without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non-infringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.