• 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 text files line-by-line (dead link from archive)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading text files line-by-line (dead link from archive)


  • Subject: Re: Reading text files line-by-line (dead link from archive)
  • From: Scott Thompson <email@hidden>
  • Date: Tue, 28 Aug 2007 14:09:58 -0500


On Aug 28, 2007, at 1:21 PM, Daniel Dickison wrote:

I need to read in a text file line by line, and I found this message on the list from 2002:
http://lists.apple.com/archives/Cocoa-dev/2002/Feb/msg00217.html
In the message, Bob Savage posted a link to a category he wrote for NSFileHandle for reading in one line of text, but the link is now broken. Does anybody have a copy of the code, or is it (or something similar) posted somewhere else?


I can see how to implement it but I figured there's no need to reinvent the wheel if someone has the code lying around.

Do you need to handle ASCII text files, UTF-32, UTF-16, UTF-8, or some combination of all of them?


Scott

_______________________________________________

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: Reading text files line-by-line (dead link from archive)
      • From: Daniel Dickison <email@hidden>
References: 
 >Reading text files line-by-line (dead link from archive) (From: Daniel Dickison <email@hidden>)

  • Prev by Date: NSXMLDocument freezes UI
  • Next by Date: Re: NSXMLDocument freezes UI
  • Previous by thread: Reading text files line-by-line (dead link from archive)
  • Next by thread: Re: Reading text files line-by-line (dead link from archive)
  • Index(es):
    • Date
    • Thread