开发者

Are there any good instant message APIs for the Mac?

开发者 https://www.devze.com 2023-02-05 00:59 出处:网络
Just curious, if you were to build an instant message client for the Mac what existing API or service would you use to handle the transfer of messages from one user to another? I am looking for someth

Just curious, if you were to build an instant message client for the Mac what existing API or service would you use to handle the transfer of messages from one user to another? I am looking for something that can be used in conjunction with objective-c and is compatible with other popular messaging services such as MS开发者_Python百科N, Yahoo, Aim, gtalk, etc. I don't want to host the service, but rather connect to existing services and use their "pipes".

Thanks


There are many Instant messenger protocols out there.

There is a good bet you could find a Java API for which protocol you would like to use like the XMPP Java API.

Or

for C or C++ you could use the libpurple library.


Your question lacks a lot of informations, so it's rather hard to answer. Please add some details on your requirements. What protocols do you need, what functionality, what development language do you use?

As a start:

Adium has been released under the GPL, thus you can use the code in your own projects as long as the license fits your needs.

http://trac.adium.im/

Another option, if you don't want to implement multiple networks but prefer to use a single protocol where the server provides gateways to other networks you can also check out Jabber/XMPP libraries that are available for the mac.

http://www.google.de/search?q=jabber+library+mac&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a

0

精彩评论

暂无评论...
验证码 换一张
取 消