• 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: File I/O
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File I/O


  • Subject: Re: File I/O
  • From: "Shawn Erickson" <email@hidden>
  • Date: Fri, 19 Sep 2008 14:23:50 -0700

On Fri, Sep 19, 2008 at 2:15 PM, Jordon Hirshon <email@hidden> wrote:
> How can I read a file a line at a time (i.e. getline)?  I'm trying to do this in  a Cocoa Framework.

"line" in what sense? is this a text(ish) file?

Anyway look at -[NSString getLineStart:end:contentsEnd:forRange:] and
possibly NSScanner.

-Shawn
_______________________________________________

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: 
 >File I/O (From: Jordon Hirshon <email@hidden>)

  • Prev by Date: Re: File I/O
  • Next by Date: Re: File I/O
  • Previous by thread: Re: File I/O
  • Next by thread: Re: File I/O
  • Index(es):
    • Date
    • Thread