iOS Messenger Messenger SDK [英] iOS messenger SDK

查看:194
本文介绍了iOS Messenger Messenger SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望在当前的iPhone/android应用程序中实现一个应用程序内Messenger.要求是它必须是免费的,实时的并提供推送通知.我已经亲自研究过创建系统,但是注意到很多应用程序都实现了非常相似的概念,因此我认为可用的SDK/包装器肯定有所下降.

I'm looking to implement an in-app messenger in my current iPhone/android applications. The requirements are that it must be free, real-time, and provide push notifications. I've looked into creating the system myself, but have noticed quite a few apps implement very similar concepts so i figure there must be a drop in SDK/wrapper available.

以下是使用要实现的Messenger类型的应用示例:

Here's an example of an app using the of the type of messenger to be implemented:

有点像: http://itunes.apple.com/us /app/lal-lite-likealittle-lite/id447279762?mt = 8

我正在寻找的最接近SDK的示例是kik messenger最近发布的内容,但它们要求您安装其应用程序(这是一个限制): http://kik.com/dev/

The closest example of an SDK im looking for is something recently released by kik messenger, but they require you to have their app installed (which is a restriction): http://kik.com/dev/

还有其他SDK吗?

推荐答案

首先,我想澄清一下,您需要先选择协议,然后再进行下一步, 这是一个包含多个部分的问题,需要多个SDK/服务才能实现. 有些可以使用第三方代码/服务,而有些则可能需要自己编写.

First I would like to clarify that you need to chose a protocol before going any further, and this is a multi-part question that requires multiple SDKs / services to implement. Some you can use third party code / services and others you may need to write yourself.

Jabber和Google Talk使用的XMPP是最好,最现代的协议之一.

One of the best and most modern protocols is XMPP used by Jabber and Google Talk.

为此,有许多库可供免费使用, 对于OS X和iOS上的Cocoa开发,我使用了这个很棒的库:

For this there are many libraries out there that are free to use, for Cocoa development on OS X and iOS I use this great library:

http://code.google.com/p/xmppframework/

就推送通知而言,这是一个不同的领域,如果您不想编写自己的提供程序,那么我建议您研究一下Xtify之类的服务来为您解决此问题.

So far as push notifications go thats a different realm, if you do not want to write your own provider then I suggest you look into a service like Xtify that handles that end for you.

http://xtify.com/(免费使用)

要构建基础结构,您需要从后端对自己的代码进行编码,从而对客户进行呼叫. 好消息是,如果您使用Xtify之类的工具,则它同时支持ios和android,并且XMPP库也减轻了您的工作量.

To build your infrastructure you need to code that yourself from the back-end that makes the calls to your clients. The good news is that if you use something like Xtify it supports both ios and android, and the XMPP library takes a lot of the work off of your hands as well.

这篇关于iOS Messenger Messenger SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆