05 2014 档案

摘要:1.创建一个单例模式来管理xmpp的连接和操作 1 +(XMPPManager *)share 2 { 3 static XMPPManager *_share=nil; 4 static dispatch_once_t onceToken; 5 dispatch_once(... 阅读全文
posted @ 2014-05-28 09:57 Ethan_村长 阅读(17811) 评论(6) 推荐(0) 编辑
摘要:1.下载XMPPFramework,下载地址:https://github.com/robbiehanson/XMPPFramework2.创建项目并将XMPP库引入:3.添加需要的库文件:4.配置KissXML:OTHER_LDFLAGS 添加 -lxml2HEADER_SEARCH_PATHS ... 阅读全文
posted @ 2014-05-27 10:20 Ethan_村长 阅读(906) 评论(0) 推荐(0) 编辑
摘要:1.下载ejabberd,下载链接http://www.process-one.net/en/ejabberd/downloads/2.安装,使用默认配置即可,next..3.启动ejabberd,找到路径/Applications/ejabberd-14.05/bin/目录,双击start,在终端... 阅读全文
posted @ 2014-05-27 09:57 Ethan_村长 阅读(841) 评论(0) 推荐(0) 编辑
摘要:CocoaHTTPServer下载地址:https://github.com/robbiehanson/CocoaHTTPServer实现效果:在电脑端输入192.168.0.100:8080,出现上传网页,即可将电脑上的文件上传到app目录中。其实现是在app端建立socket服务监听,将传输的文... 阅读全文
posted @ 2014-05-17 15:31 Ethan_村长 阅读(7552) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示