Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is XMPP, and how can I use it within an iOS chat application?

I want to create a chat client application for iPhone. I've read that the XMPP framework is one of the best to use for this. However, I haven't found much material out there on this, only the XMPPFramework on Google Code and details about it on a wiki.

Can anyone explain what XMPP is and how we can use it within our chat application? Are there any tutorials or code snippets out there that demonstrate its use?

like image 268
V.V Avatar asked Mar 31 '11 04:03

V.V


1 Answers

The most known XMPP iOS framework is XMPPFramework. It provides a core implementation of RFC-3920 (the XMPP standard). The framework is massively parallel and thread-safe. Performance is good thanks to GCD. It comes with multiple popular extensions (XEP's).

You can find a very well written Swift tutorial to implement XMPPFramework in your application. Here is the first part and the second part

Alternative can be:

  • DCXMPP but it hasn't been maintained since 2014.
  • Libstrophe which is a C library. You can find an iOS version here. Same it hasn't been maintained since 2013
like image 146
Floris M Avatar answered Nov 15 '22 17:11

Floris M