[Biococoa-dev] converting from 3-letter code to 1-letter code

Koen van der Drift kvddrift at earthlink.net
Wed Aug 31 18:26:33 EDT 2005

On Aug 31, 2005, at 6:16 PM, Charles Parnot wrote:

> when you call:
>     NSString *oneLetterString = [self  
> convertThreeLetterStringToOneLetterString: aString symbolSet: aSet];
> self is the target, and it is the class object. So indeed you are  
> trying to call the class method and the compiler complains.

Hmm, still don't see what I am doing wrong :(

Why is this different from:

     NSString *name = [self name];

     -(NSString *) name
         return name;


- Koen.

More information about the Biococoa-dev mailing list