-
Notifications
You must be signed in to change notification settings - Fork 2
Home
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.
In order to start using this framework you need to:
- Embed this framework into your project using carthage
- Create example ViewController From example below. ViewController has to conform protocols
MessagesViewDataSource
andMessagesViewDelegate
.
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:
- Use as you would use standard carthage module
- Embed sources into your project
Solution no. 1 is pretty standard. While using
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:
- Clone this repository
- Launch test build
- 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}
- MessagesView.framework will be copied directly into MessagesView project root directory.
- Link it into project you're actually working on.
- 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!