Re: Write an NSString or NSMutableString to a Text file
Re: Write an NSString or NSMutableString to a Text file
- Subject: Re: Write an NSString or NSMutableString to a Text file
- From: Nir Soffer <email@hidden>
- Date: Sun, 28 May 2006 11:55:27 +0300
On 28/05/2006, at 07:14, Or phix wrote:
I am trying to write an application that can output an NSString or
an NSMutableString to a text file. I have tried using the
writeToFile function of NSString but I am not getting anything. I
have tried using the NSOutputStream but I guess I am not using the
write method correctly. Any suggestion or hint would definitely be
appreciated.
I guess your string is empty or nil :-)
add NSLog(@"%@", myString); call just before you write it to file and
watch the log.
Best Regards,
Nir Soffer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden