[Biococoa-dev] unichar question

Koen van der Drift kvddrift at earthlink.net
Fri Aug 20 22:13:36 EDT 2004

On Aug 20, 2004, at 9:17 PM, John Timmer wrote:

> Unichars are basically integers, so the signature of the method is 
> wrong.
> The flipside is that initWithCharacters expects a pointer to the 
> characters,
> so you have to use the & operand to convert it.

Yep, that worked.  Thanks!

Another  question (sorry to keep bugging you).

You are using the following code the access a variable:

- (NSString *) name{
     return [[name copy] autorelease];

Why not just use:

- (NSString *) name{
     return name;

Is there a particular reason why you use this format?

Oh, and what's the difference between symbolString and 


- Koen.

More information about the Biococoa-dev mailing list