Giter VIP home page Giter VIP logo

chatviewcontroller's Introduction

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.

Features

  • 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

Compatibility

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

Installation

CocoaPods

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'
use_frameworks!

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

Then, run the following command:

$ pod install

Carthage

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"),
],

Contributing

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!

License

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

chatviewcontroller's People

Contributors

hoangtaiki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

chatviewcontroller's Issues

Nil in Pods/ChatViewController/Source/Core/ChatBarView.swift

Describe the bug
When i start the project and load MessagesViewController VC, i have a nil error "Pods/ChatViewController/Source/Core/ChatBarView.swift, line 58"

57: var image = UIImage(named: "ic_gallery", in: Bundle.chatBundle, compatibleWith: nil)
58: let tempImage = image!.withRenderingMode(.alwaysTemplate)

MessagesViewController - is a copy from github

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Chat view don't open

Screenshots
If applicable, add screenshots to help explain your problem.

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Memory Issue

Have someone facing memory issues, while using this repo ?
When I just open the ChatView, at first memory shoots to 500 mbs plus and get back to normal.

Please suggest any solution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.