|ReleasedLast Release||Jan 2016|
Maintained by Jesse Squires.
|LOCLines of Code||553|
A messages UI for iPhone and iPad.
This messages tableview controller is very similar to the iOS Messages app. Note, this is only a messaging UI, not a messaging app. This is intended to be used in an existing app where you have (or are developing) a messaging system and need a user interface for it.
This is heavily based on work by Sam Soffes' SSMessagingViewController. I took Soffes' code base and developed this to use in Hemoglobe for private messages between users. I didn't fork the original repo simply because my refactoring was too extensive.
Notable changes from SSMessagingViewController:
MessagesTableViewController/folder to your project.
AudioToolbox.frameworkto your project, if you want to use the sound effects
- (BubbleMessageStyle)messageStyleForRowAtIndexPath:(NSIndexPath *)indexPath
- (NSString *)textForRowAtIndexPath:(NSIndexPath *)indexPath
- (void)sendPressed:(UIButton *)sender withText:(NSString *)text
[self finishSend]at the end of this method to animate and reset the text input view
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
You are free to use this as you please. No attribution necessary.
If you do use this, I would love to here about it!
MIT License Copyright © 2013 Jesse Squires
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.