I'm looking into building an IM-type application for iPhone using Objective-C. I'd be interested to see any information/advice on how applications like Skype/AIM/MSN work, as well as any technologies/APIs that might be relevant.
Sign in to iMessageGo to Settings > Messages, then turn on iMessage. To select the phone numbers and email addresses you want to use with iMessage, go to Settings > Messages > Send & Receive, then choose from the available options below “You can receive iMessages to and reply from.”
Apple iMessage (Apple instant message) is an instant messenger service developed by Apple Inc. that allows end users to send texts, documents, photos, videos, locations, contact information and group messages over Wi-Fi, 3G or LTE networks to other iOS or OS X users.
The main protocol used to connect to those services (or even your own) is XMPP (also known as Jabber.
It connects to a Jabber/XMPP server that manages the sessions. XMPP works with Skype, Google Talk, Facebook chat and many more.
I've successfully implemeted a google chat app using this open source XMPP library that fits in very well into iPhone:
http://code.google.com/p/xmppframework/wiki/iPhone
Update
Library now moved to GitHub: github.com/robbiehanson/XMPPFramework as Raspu pointed out
You should be able to rather easily get that up and running. It even comes with a Google talk example.
You can use Kik API to build your mobile app on top of Kik's instant messaging transport and infrastructure. The API is available for Android & iPhone and lets your app to transfer rich content and files in between mobile app users. It is also very easy to use - only 5 lines of code are needed to integrate, in simpler scenarios. There's more info on Kik API website: http://www.kik.com/dev or http://apiblog.kik.com
Disclaimer: I'm one of the developers behind Kik API :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With