Giter Site home page Giter Site logo

kinghappy007 / jsqmessagesviewcontroller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jessesquires/jsqmessagesviewcontroller

0.0 2.0 0.0 44.48 MB

An elegant messages UI library for iOS

Home Page: http://jessesquires.github.io/JSQMessagesViewController

License: Other

jsqmessagesviewcontroller's Introduction

JSQMessagesViewController banner

Build Status Version Status license MIT

Update: 6.0-beta6 is out! See #476 for details.

Messages Screenshot 1     Messages Screenshot 2

More screenshots available at CocoaControls

Features

See the website for the list of features.

Dependencies

Requirements

  • iOS 7.0+
  • ARC

Need support for iOS 6? You shouldn't. But, there's a branch for that!

git checkout iOS6_support_stable

Note: the iOS6_support_stable branch does not include many of the latest hip and fancy features or fixes

Installation

pod 'JSQMessagesViewController'

Otherwise, drag the JSQMessagesViewController/ folder to your project. Install JSQSystemSoundPlayer and add the QuartzCore.framework.

NOTE:

This repo was formerly named MessagesTableViewController.

And this pod was formerly named JSMessagesViewController.

For iOS 6.0 support:

pod 'JSMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'iOS6_support_stable'

Getting Started

#import <JSQMessagesViewController/JSQMessages.h>    // import all the things
  • Demo project

    • There's a fucking sweet demo project: JSQMessages.xcworkspace.
    • Run pod install first.
  • Model

    • Your model objects should conform to the JSQMessageData protocol.
    • Your media attachment model objects should conform to the JSQMessageMediaData protocol.
    • However, you may use the provided classes:
      • Model: JSQTextMessage and JSQMediaMessage
      • Media attachments: JSQPhotoMediaItem, JSQLocationMediaItem, JSQVideoMediaItem
  • View Controller

    • Subclass JSQMessagesViewController.
    • Implement the required methods in the JSQMessagesCollectionViewDataSource protocol.
    • Implement the required methods in the JSQMessagesCollectionViewDelegateFlowLayout protocol.
  • Customizing

    • The demo project is well-commented. This should help you configure your view however you like.

Documentation

Read the fucking docs, available here via @CocoaDocs.

Contribute

Please follow these sweet contribution guidelines.

Donate

Support the development of this free, open-source library!

Donations made via Square Cash

Send $5 Just saying thanks. Here's a coffee!

Send $10 This library is great. Lunch is on me!

Send $25 This totally saved me time. Go get a nice dinner!

Send $50 I love this library. I want new features!

Send $100 I really want to support this project!

>*You can also send donations via [PayPal](https://www.paypal.com) to [email protected]*

Credits

Created by @jesse_squires, a programming-motherfucker.

About

I initially developed this library to use in Hemoglobe for private messages between users.

As it turns out, messaging is something that iOS devs and users really want. Messaging of any kind has turned out to be an increasingly popular mobile app feature in all sorts of contexts and for all sorts of reasons. Thus, I am supporting this project in my free time and have added features way beyond what Hemoglobe ever needed.

Feel free to check out my work at Hexed Bits, or read my blog.

Apps using this library

License

JSQMessagesViewController is released under an MIT License. See LICENSE for details.

Copyright © 2014 Jesse Squires.

Please provide attribution, it is greatly appreciated.

jsqmessagesviewcontroller's People

Contributors

alecgorge avatar bitdeli-chef avatar cliffremote avatar dim0v avatar erysaj avatar ghazel avatar greatjam avatar jcoleman avatar jessesquires avatar justindeguzman avatar koenbud avatar koszti avatar ks-simakov avatar lazarusx avatar mallowtechdev avatar mombrea avatar nub avatar scottcc avatar tflhyl avatar trakov avatar vitalyster avatar winzig avatar wut2bsimple avatar yforjindam avatar zhigang1992 avatar

Watchers

 avatar  avatar

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.