[Adium-devl] controller classes
Evan Schoenberg
evan.s at dreskin.net
Mon Jul 24 14:03:03 UTC 2006
On Jul 24, 2006, at 12:35 AM, Peter Hosey wrote:
> On Jul 23, 2006, at 16:26:23, Kevin Wojniak wrote:
>> Shouldn't all the controller classes be placed inside
>> Adium.framework? For my Xfire plugin I have to compile those into
>> my app, which doesn't really make sense and could cause major
>> issues every time there's a new Adium update.
>
> What you can do is use -undefined dynamic_lookup when linking your
> plug-in, which will make the linker say “OK, it'll get them at
> runtime”. At runtime, of course, all those classes already exist
> because Adium was loaded first.
>
> Another way would be NSClassFromString, but then you don't get the
> benefit of the compiler giving you “unknown method ‘fooo’” warnings.
Was going to reply with both suggestions.
I can't think of a good reason right now not to make Adium.framework
be the full public interface to Adium, though, removing the need for
an undefined flag at all. Can anyone?
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20060724/4181640d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20060724/4181640d/attachment.sig>
More information about the devel
mailing list