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

Thibault Martin-Lagardette dracognizer at gmail.com
Thu Jun 12 20:00:25 UTC 2008


Argh, the categories. How couldn't have I thought about it. I do use  
it, already, afterall...

But well, after many considerations, and debate with friends and your  
answers, following the current version seems the simplest, and the  
wisest.

Thanks a lot :)

-- 
Thibault Martin-Lagardette



On Jun 12 , 2008, at 21:09, Evan Schoenberg wrote:

>
> On Jun 12, 2008, at 2:18 PM, Peter Hosey <prh at boredzo.org> wrote:
>
>> On Jun 12, 2008, at 10:20:06, Zachary West wrote:
>>> If it's that prolific, you could probably add a category to
>>> ESObjectWithProperties to respond to -statusObjectForKey: and and
>>> the like, for backwards compatibility.
>>
>> In a plug-in?
>>
>> I know they aren't numerous right now, but that still sounds like a
>> recipe for disaster.
>>
>
> Yeah, don't do that... But a variation would be easy. Category with a
> unique function - YourPluginName_compatibleStatusObjectForKey:
> And do your selector checking there. Then find-and-replace your
> existing code to use it.
>
> -Evan
>
>
>>
>> _______________________________________________
>> Adium-devl mailing list
>> Adium-devl at adiumx.com
>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com





More information about the devel mailing list