• 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
How do I send an NSString to a text file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I send an NSString to a text file?


  • Subject: How do I send an NSString to a text file?
  • From: Kaydell Leavitt <email@hidden>
  • Date: Wed, 21 Dec 2005 08:39:09 -0800 (PST)

Hi,

I need to write a function that takes an NSString and
a way to specify a file and write the contents of the
NSString to a text file, using MacRoman encoding.

Can someone give me an example in Objective-C that
will do this?

It is just plain text and I save whatever is in the
NSString which is all 8 bit MacRoman encoding.

Thanks.

Kaydell

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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

  • Follow-Ups:
    • Re: How do I send an NSString to a text file?
      • From: Matt Ronge <email@hidden>
  • Prev by Date: Re: Versioning via build settings?
  • Next by Date: Re: How do I send an NSString to a text file?
  • Previous by thread: Re: Height of an NSAttributedString
  • Next by thread: Re: How do I send an NSString to a text file?
  • Index(es):
    • Date
    • Thread