Skip to content
Damian Kanak edited this page Apr 3, 2017 · 1 revision

MessagesView

View for displaying messages similarly to iOS Messages system app. This view when deployed within your application will handle incoming and outgoing messages display.

While using this module you don't need to handle messages view on your own. You're getting complete solution easy to configure and customize to your needs. If you think you can have more customisation, please tell us what you think via addess below.

Getting started

In order to start using this framework you need to:

  1. Embed this framework into your project using carthage
  2. Create example ViewController From example below. ViewController has to conform protocols MessagesViewDataSource and MessagesViewDelegate.

Embedding framework

Using Carthage

In Cartfile put github "pgs-dkanak/MessagesView"

In project root directory say:

carthage update --no-use-binaries --platform iOS

This will fetch the project and compile it to library form. When using carthage, you have two options:

  1. Use as you would use standard carthage module
  2. Embed sources into your project

Solution no. 1 is pretty standard. While using

Contributing development

When contributing to MessagesView you may need to run it from within another project. Following steps will help you setting your own project to use MessagesView as external framework:

  1. Clone this repository
  2. Launch test build
  3. In Build Phases add Run Script - copy framework to project folder with script text

cp -rf ${BUILD_DIR}/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/MessagesView.framework ${SRCROOT}

  1. MessagesView.framework will be copied directly into MessagesView project root directory.
  2. Link it into project you're actually working on.
  3. In Build Settings update Framework Search Paths and add path to framework. By default it will be MessagesView project root directory.

Where users can get help with your project Who maintains and contributes to the project

Please Use develop branch!

Clone this wiki locally