[Adium-devl] Plugins - Handling different adium's versions

Thibault Martin-Lagardette dracognizer at gmail.com
Wed Jun 11 22:11:19 UTC 2008


Hi guys.
As of Adium 1.3, I discovered my plugin didn't quite work, and was wondering
why.
I re-compiled Adium.framework, and when compiling, saw all those warning
saying my AIAccount object may not respond to
[AIAccount setStatusObject:forKey:notify:]
and
[AIAccount statusObjectForKey:]

In fact, it now responds to
[AIAccount setValue:forProperty:notify:]
and
[AIAccount valueForProperty:]

So my problem is, if I don't update the code, it won't work for Adium 1.3
and higher. If I do update the code, it won't work anymore with 1.2 or less.

Is there any possible workaround, or do you want everybody to migrate to
1.3, discontinuing 1.2.x "support"?

I personnaly always update Adium as soon as a new version is out. But that's
not always the case of many people, fearing a new major version may change
too much things or I don't know what kind of not-so-good arguments :).

Thanks ! :)

-- 
Thibault Martin-Lagardette
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080612/4bd54c17/attachment-0001.html>


More information about the devel mailing list