[Adium-devl] adiumPurpleRequestFields

Evan Schoenberg evan.s at dreskin.net
Thu Jun 7 02:15:29 UTC 2007


On Jun 6, 2007, at 10:03 PM, Peter Hosey wrote:

> On Jun 06, 2007, at 18:35:32, Augie Fackler wrote:
>> Less impossible and more a giant pain in the butt - a WebKit  
>> implementation should be a lot less code for us to maintain and in  
>> the end probably a good deal cleaner.
>
> I'm not so sure—an NSForm, with some subclasses of NSFormCell,  
> could certainly do the job with not much pain.

That could be a good direction for a Cocoa implementation... though  
I've only seen NSFormCell do one-line text cells, so I'm not sure how  
amenable NSForm would be to larger-height objects like the  
hypothetical AITableViewFormCell or AIMatrixFormCell.

If Andy's first layer of code, from the libpurple callback to Cocoa,  
is clean, it should then be trivial to drop some future Cocoa version  
in place of the WebKit one which exists.  I'd recommend having a  
simple (requestFields --> Cocoa) bridge class which then makes use of  
the view generating & displaying class so as to keep that distinction  
clean and intuitive... but such a recommendation is superfluous given  
that it's pretty much required by a model-view distinction :)

-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070606/9d9da61a/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/20070606/9d9da61a/attachment.sig>


More information about the devel mailing list