Re: NSString problem
Re: NSString problem
- Subject: Re: NSString problem
- From: Sherm Pendley <email@hidden>
- Date: Thu, 2 May 2002 04:59:22 -0400
On Thursday, May 2, 2002, at 04:05 AM, Famille GOUREAU-SUIGNARD wrote:
is anybody able to explai me why the following script gives me this
error (cocoa application)
NSMutableString *chaine ;
[chaine setString:@""] ;
The code above declares a pointer to an NSMutableString, but doesn't
create an instance of one. Try this instead:
NSMutableString *chaine = [NSMutableString stringWithString: @""];
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.