[Biococoa-dev] ambiguous symbols
Alexander Griekspoor
mek at mekentosj.com
Sun Nov 14 17:31:15 EST 2004
Ha! Sometimes I'm amazed how far a simple Biology guy can come ;-)
Explicit typecasting is THE solution to most compiler warnings, that's
why I guessed that might help.
I most certainly will give it a try the moment my paperwork is sent
back to the reviewers...
Cheers,
Alex
Op 14-nov-04 om 23:26 heeft Koen van der Drift het volgende geschreven:
>
> On Nov 14, 2004, at 4:18 PM, Alexander Griekspoor wrote:
>
>> Da's mooi! Sorry I'll translate to english
>>
>> I hadn't seen your post op cocoa-dev, but I remember talking about
>> performSelector and if you could send it to classes a while ago. I
>> understand the problem. Could the following perhaps help?
>>
>> temp = [(BCSymbol *)[self class] performSelector:
>> NSSelectorFromString( )
>
>
> Tadaa! Yes that worked, thanks Alex!
>
> I have now commited the updated code. The method
> initializeSymbolRelationships is only in BCSymbol, I removed it from
> all subclasses. I also changed the error logic in that method by
> removing all the if (foo == nil) return calls, and replacing them by
> if (foo != nil) doSomething. At least the method will finish this way.
> I have only tested the translation demo, and that worked for me.
>
> ***Please review and test***
>
>
> cheers,
>
> - Koen.
>
>
>
*********************************************************
** Alexander Griekspoor **
*********************************************************
The Netherlands Cancer Institute
Department of Tumorbiology (H4)
Plesmanlaan 121, 1066 CX, Amsterdam
Tel: + 31 20 - 512 2023
Fax: + 31 20 - 512 2029
AIM: mekentosj at mac.com
E-mail: a.griekspoor at nki.nl
Web: http://www.mekentosj.com
Microsoft is not the answer,
Microsoft is the question,
NO is the answer
*********************************************************
More information about the Biococoa-dev
mailing list