Swiftpack.co -  hoangtaiki/ChatViewController as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
πŸ’¬ ChatViewController, ChatBar, ImagePicker like Slack Application. Message App written in Swift
.package(url: "https://github.com/hoangtaiki/ChatViewController.git", from: "1.2.0")

Version License Platform Language Build Status Contributions Welcome

ChatViewController Tweet

ChatViewController is a library designed to simplify the development of UI for such a trivial task as chat. It has flexible possibilities for styling, customizing. It is also contains example for Facebook Messager and Instagram Chat.


  • β˜‘ Growing Text View from UIPlaceholderTextView
  • β˜‘ Flexible UI built with Auto Layout
  • β˜‘ Inverted Mode for displaying cells upside-down (using CATransform)
  • β˜‘ Customizable: change chat bar view layout style
  • β˜‘ Tap gesture for dismissing the keyboard
  • β˜‘ Slack Image Picker
  • β˜‘ Typing Indicator display
  • β˜‘ Show/hide chat bar view
  • β˜‘ Pull to refresh and load more feature
  • β˜‘ Example: Facebook Bubble style
  • β˜‘ Example: Instagram Bubble style
  • β˜‘ Example: Text chat cell
  • β˜‘ Example: Image chat cell
  • ☐ Example: Link chat cell
  • ☐ Example: Document chat cell
  • ☐ Example: Image Viewer
  • ☐ Example: Document Viewer
  • ☐ Example: Custom Image Picker
  • ☐ Complete Documentation


  • CocoaPods, Carthage and Swift Package Manager
  • Swift 4.2 or later
  • iOS 10 or later
  • iPhone & iPad



CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate ChatViewController into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'

target '<Your Target Name>' do
    pod 'ChatViewController'

Then, run the following command:

$ pod install


Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate ChatViewController into your Xcode project using Carthage, specify it in your Cartfile:

github "hoangtaiki/ChatViewController" ~> 1.2.0

Run carthage update to build the framework and drag the built ChatViewController.framework and PlaceholderUITextView.framework into your Xcode project.

Swift Package Manager

Install with Swift Package Manager by adding the following to your Package.swift:

dependencies: [
    .package(url: "https://github.com/hoangtaiki/ChatViewController", from: "1.2.0"),


Please feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!


ChatViewController is released under the MIT license. See LICENSE for details.


Stars: 46
Last commit: 5 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

Update Swift 5.0
2 years ago
  • Update Swift 5.0
  • Remove ObjectMapper in Example project

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API