• 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
NSString problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSString problem


  • Subject: NSString problem
  • From: Famille GOUREAU-SUIGNARD <email@hidden>
  • Date: Thu, 2 May 2002 10:05:14 +0200

Hi everybody,

is anybody able to explai me why the following script gives me this error (cocoa application) :

CarApp.app has exited due to signal 11 (SIGSEGV).

- (void) actionExportation: (id)sender
{
NSString *chemin = @"/users/cathy/Documents/Gestion stock/sortie.txt" ;
NSMutableString *chaine ;
[chaine setString:@""] ;
[chaine appendString:@"tagada"] ;
[chaine writeToFile: chemin atomically : NO] ;
}

Many thanks.

Camille
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSString problem
      • From: John Haager <email@hidden>
    • Re: NSString problem
      • From: Aki Inoue <email@hidden>
    • Re: NSString problem
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Changing Icons
  • Next by Date: Re: Using pathnames with special characters
  • Previous by thread: Re: NSTextView: how to avoid insertion of text
  • Next by thread: Re: NSString problem
  • Index(es):
    • Date
    • Thread