• 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: Write an NSString or NSMutableString to a Text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write an NSString or NSMutableString to a Text file


  • Subject: Re: Write an NSString or NSMutableString to a Text file
  • From: Bill Bumgarner <email@hidden>
  • Date: Sat, 27 May 2006 21:19:39 -0700

On May 27, 2006, at 9:14 PM, 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.


It is hard to imagine how...

- (BOOL)writeToFile:(NSString *)path atomically:(BOOL) useAuxiliaryFile encoding:(NSStringEncoding)enc error:(NSError **)error;

... isn't working for you without seeing how you are using it.


_______________________________________________ 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
References: 
 >Write an NSString or NSMutableString to a Text file (From: Or phix <email@hidden>)

  • Prev by Date: Write an NSString or NSMutableString to a Text file
  • Next by Date: Re: Write an NSString or NSMutableString to a Text file
  • Previous by thread: Write an NSString or NSMutableString to a Text file
  • Next by thread: Re: Write an NSString or NSMutableString to a Text file
  • Index(es):
    • Date
    • Thread