[Biococoa-dev] Compilation warnings with tools

Koen van der Drift kvddrift at earthlink.net
Tue Feb 8 20:40:03 EST 2005


On Feb 8, 2005, at 8:09 PM, Charles PARNOT wrote:

> I was actually surprised that John did not step in earlier ;-)
>
> So my proposition was to have two methods, eg:
> - (BCSequence *)translateSequence:(BCSequence *)aSequence;
> - (BCSequenceDNA *)translateDNASequence:(BCSequenceDNA *)aSequence;
>

Oh, now I see what you mean.

So the first method will check the type, and then call the second one 
or return nil (or whatever).  In that case my 'fix' in 
BCToolTranslatorDNA can be reverted. I'll leave that up to you Charles, 
so seem to be better knowing what you are doing ;-)


- Koen.





More information about the Biococoa-dev mailing list