• 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
Need help parsing a large text file one line at a time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help parsing a large text file one line at a time


  • Subject: Need help parsing a large text file one line at a time
  • From: "Abel J. Almeida" <email@hidden>
  • Date: Mon, 9 Jun 2008 17:04:29 -0400

I need help parsing a large text file.
I need to examine the file one line at a time.
It's a 128MB text file.

I used the stringWithContentsOfFile method from the NSString class, but the file is too large and it doesn't seem very optimized to me, because what I need is parse one line at a time not the entire text file. _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Need help parsing a large text file one line at a time
      • From: Jeff LaMarche <email@hidden>
    • Re: Need help parsing a large text file one line at a time
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Core Data Questions
  • Next by Date: Re: Binding NSMenuItem state in Document-based app
  • Previous by thread: Re: [Moderator] reminder - WWDC content other than the keynote is covered by NDA
  • Next by thread: Re: Need help parsing a large text file one line at a time
  • Index(es):
    • Date
    • Thread