TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Eugene Nguyen.
Depends on: | |
XMPPFramework | >= 0 |
JSQMessagesViewController | >= 0 |
SDWebImage | >= 0 |
You tired about hundreds of line to install chat module? We're here to help.
XBChatModule is a simple to use module to implement chat module integrated with Jabber server. Just 4 lines of config and goooooooo
[[XBChatModule sharedInstance] setUsername:@"username"];
[[XBChatModule sharedInstance] setPassword:@"password"];
[[XBChatModule sharedInstance] setHost:@"chat.example.com"];
[[XBChatModule sharedInstance] connect];
And we also provide some other config as you wish :)
[[XBChatModule sharedInstance] setAvatarFormat:@"http://chat.example.com/avatar/%@"];
[[XBChatModule sharedInstance] setAvatarPlaceHolder:[UIImage imageNamed:@"girl_9"]];
That's all of what you need :)
Showing the chatViewController
XBMessageViewController *messageViewController = [[XBMessageViewController alloc] init];
messageViewController.jidStr = @"[email protected]";
[self.navigationController pushViewController:messageViewController animated:YES];
XBChatModule is a product of LIBRETeamStudio
To run the example project, clone the repo, and run pod install
from the Example directory first.
eugenenguyen, [email protected]
Any question, request, suggest, please feel free to send to us. You're always welcome.
XBChatModule is available under the MIT license. See the LICENSE file for more info.
This is open-source project. If you want to support us to keep develop this, or just give me a beer, don't be shy :) i will always appreciate that.