Building a chat-like functionality in iOS

Posted by Mani BAtra on Programmers See other posts from Programmers or by Mani BAtra
Published on 2013-02-27T17:54:44Z Indexed on 2013/10/24 10:11 UTC
Read the original article Hit count: 302

Filed under:
|
|

I was planning to implement a functionality wherein a user can send data to a friend of his, similar to sending messages in WhatsApp. This is how I broke down the problem :

  1. The user registers for the app. This equates to user info being stored on a dedicated server. With the phone number as the key identifier.

  2. The user selects the friend to send a message to and pushes the data. The receiver polls the server regularly and acknowledges that the data has been received. I did a little bit of research and am thinking of implementing this using the XMPP Framework for iOS.

Any pointers as to is this the correct implementation or some advice in general?

© Programmers or respective owner

Related posts about ios

Related posts about server