[Biococoa-dev] Annotation

Charles PARNOT charles.parnot at stanford.edu
Tue Feb 22 22:58:22 EST 2005


At 1:21 AM +0100 2/23/05, Philipp Seibel wrote:
>Hey Alex,
>
>why do you use NSString * instead of using class for the returntype 
>of dataTypeForName: ?
>i think its better to have a classForAnnotationWithName: which 
>returns the class not a String representation
>
>you mensioned sleep .... very good idea ;-)
>
>Phil

I jump in!
The accessor could return the class, but internally it should be a NSString to:
* allow archiving
* handle unknown classes, which could happen if you go from one app 
to another using the framework and using the same file

This is probably what you meant: just the accessor, right?

charles


-- 
Help science go fast forward:
http://cmgm.stanford.edu/~cparnot/xgrid-stanford/

Charles Parnot
charles.parnot at stanford.edu

Room  B157 in Beckman Center
279, Campus Drive
Stanford University
Stanford, CA 94305 (USA)

Tel +1 650 725 7754
Fax +1 650 725 8021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20050222/42226dfe/attachment.html>


More information about the Biococoa-dev mailing list