• 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: Read lines from very large text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read lines from very large text file


  • Subject: Re: Read lines from very large text file
  • From: Michael Ash <email@hidden>
  • Date: Mon, 2 Feb 2009 18:08:29 -0500

On Mon, Feb 2, 2009 at 3:51 PM, Jacob Rhoden <email@hidden> wrote:
> Yea, I saw this and some posts on the apple forum saying NSInputStream is
> not the right way, hence the question, what is the right way to analyze a
> very large file line by line.
>
> cf the apple thread
> http://discussions.apple.com/thread.jspa?threadID=1187120&tstart=400

Well, they're wrong. That whole thread is basically just full of
various kinds of wrong. NSInputStream has +inputStreamWithFileAtPath:,
why else would that exist?

NSInputStream is not *the* way to do it, but it is certainly one
perfectly valid way.

Mike
_______________________________________________

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

References: 
 >Read lines from very large text file (From: Jacob Rhoden <email@hidden>)
 >Re: Read lines from very large text file (From: Alexander Spohr <email@hidden>)
 >Re: Read lines from very large text file (From: Jacob Rhoden <email@hidden>)

  • Prev by Date: Re: [OT] Localizing an App or Plugin
  • Next by Date: EXC_BAD_ACCESS down inside [NSOutlineView reloadItem:reloadChildren];
  • Previous by thread: Re: Read lines from very large text file
  • Next by thread: Re: Read lines from very large text file
  • Index(es):
    • Date
    • Thread