• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >NSString problem (From: Famille GOUREAU-SUIGNARD <email@hidden>)

  • Prev by Date: how do I prebind a SharedFramework?
  • Next by Date: Re: NSString problem
  • Previous by thread: NSString problem
  • Next by thread: Re: NSString problem
  • Index(es):
    • Date
    • Thread