• 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
reading a text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reading a text file


  • Subject: reading a text file
  • From: "Paul N. Schatz" <email@hidden>
  • Date: Sat, 17 May 2003 21:47:10 -0400

As part of a Cocoa program, I need to read a BBEdit file into a text field or string. Using 'contentsAtPath:', I get an NSData file of bytes, but I can't seem to subsequently convert that to text. Is there a way to do that, or is there a better way to do the whole thing?

Paul
--
--
Paul Schatz
Chem Dept
University of Virginia
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: reading a text file
      • From: Marc Weil <email@hidden>
    • Re: reading a text file
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Cocoa --> Java Interfaces?
  • Next by Date: Re: Saving a NSMutableArray
  • Previous by thread: Re: Cocoa --> Java Interfaces?
  • Next by thread: Re: reading a text file
  • Index(es):
    • Date
    • Thread