Chat room that tries to mimic iMessage with bouncy bubbles
To run the example project; clone the repo, and run pod install
from the Example directory first.
In orde to use in your project subclass BORCharRoom view controller and override 'sendMessage'.
- (void)sendMessage {
id <BORChatMessage> message = [[BORChatMessage alloc] init];
message.text = self.messageTextView.text;
message.sentByCurrentUser = YES;
message.date = [NSDate date];
[self addMessage:message scrollToMessage:YES];
[super sendMessage];
}
BORChat is available through CocoaPods, to install it simply add the following line to your Podfile:
pod "BORChat"
Bohdan Orlov, [email protected]
BORChat is available under the MIT license. See the LICENSE file for more info.