一个XMPP的详细实例。
代码中有比较详细的讲解和注释,最终实现登录、注册,获取好友列表、发送文字、发送语音、发送图片,创建群组,获取群列表的功能。
实现登录和注册功能。---2015-07-20
添加心跳检测和自动重连功能。---2015-07-22
添加获取好友列表和添加好友、处理好友申请的功能。---2015-07-23
添加获取本地历史消息、发送文本信息、接收文本信息的功能。----2015-07-24
添加创建群组,获取群列表的功能。-----2016-09-07
一个XMPP的简单demo,代码中有比较详细的讲解,最终实现登录、注册,获取好友列表、发送文字、发送语音、发送图片功能。
[[HLCoreManager manager] sendElement:iq completion:^(XMPPElement *element, NSError *error)
该方法的封装可以分享一下吗,将delegate改变为block的封装。
为什么一方给另一方发送语音是成功的 ,另一方在给他发就失败,报错
Error Domain=XMPPOutgoingFileTransferErrorDomain Code=-1 "Unable to send SI offer; the recipient doesn't have the required features." UserInfo={NSLocalizedDescription=Unable to send SI offer; the recipient doesn't have the required features.}
用户userA 创建了群组groupA后,用户userB,加入到groupA,已显示创建groupA成功,加入groupA成功。再刷新用户userB群组列表。返回的群组列表中没有群组groupA。预测是userB的群组列表中有groupA。请楼主赐教!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.