Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting started with libpurple

I'm writing a Cocoa Touch program that will (hopefully) use Libpurple as it's background. The only problem is that I have no clue where to get started. I've been looking through some source code of applications that do use it, but so far haven't gotten anywhere.
Does anyone know anything that will help me familiarize myself with libpurple?

like image 495
Dandy Avatar asked Nov 10 '09 02:11

Dandy


3 Answers

First of all, you may encounter some trouble, since libpurple is licensed under GPLv2. It may be incompatible with what you are trying to do. (I am not totally sure you can have a GPLv2 app on the App Store.)

Second, you can read purple-client-example.c in the libpurple source, for a super-short example.

Also, Adium might be more useful to study than Pidgin since it is a Mac OS X app, closer to what you might do on the iPhone.

like image 170
Adam Goode Avatar answered Sep 23 '22 16:09

Adam Goode


The best way to understand libpurple is to work with Pidgin, the OSS client that uses it. Study the Pidgin implementation, then start to design your own client.

like image 37
Dave Swersky Avatar answered Sep 25 '22 16:09

Dave Swersky


If you plan to sell this, you cannot use libpurple because it is under the GNU license. Please check out my alternative AIM API for Objective-C, with a bit of tweaking, it will probably work moderately well on iPhone: LibOrange

like image 25
Alex Nichol Avatar answered Sep 23 '22 16:09

Alex Nichol