• 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: reading in text files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading in text files


  • Subject: Re: reading in text files
  • From: Charles Srstka <email@hidden>
  • Date: Thu, 31 Jan 2002 19:08:25 -0600

On Thursday, January 31, 2002, at 05:36 PM, Ben Mackin wrote:

myFile is large (can be up to 16000 bytes), so I don't think reading the
whole thing into an NSString would be good.

I read files that can be up to almost a megabyte in size into an NSString and then do a componentsSeparatedByString: on them, without too much of a performance problem.


  • Follow-Ups:
    • Re: reading in text files
      • From: "Jonathan W. Hendry" <email@hidden>
References: 
 >Re: reading in text files (From: Ben Mackin <email@hidden>)

  • Prev by Date: Re: strange problem with performSelector:
  • Next by Date: Re: reading in text files
  • Previous by thread: Re: reading in text files
  • Next by thread: Re: reading in text files
  • Index(es):
    • Date
    • Thread