[Adium-devl] controller classes
boredzo at gmail.com
Mon Jul 24 04:35:13 UTC 2006
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.
And I think it's cool that you're working on an Xfire plug-in. :)
\ Peter Hosey / boredzo at gmail.com
PGP public key ID: 7AB26BAD (since 2006-01-01)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: This is a digitally signed message part
More information about the Adium-devl