• 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: Which Foundation classes should I use for parsing text from a file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which Foundation classes should I use for parsing text from a file?


  • Subject: Re: Which Foundation classes should I use for parsing text from a file?
  • From: "Michael A. Crawford" <email@hidden>
  • Date: Fri, 19 Jun 2009 17:33:21 -0400

Thanks for the recommendations. Currently, I'm using NSScanner. But I will have a look at TDParseKit.

-Michael
----------------------
There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies.
And the other way is to make it so complicated that there are no obvious deficiencies.


-- C.A.R. Hoare


On Jun 19, 2009, at 11:47 AM, Ben wrote:

I recommend TDParseKit by Todd Ditchendorf (http://ditchnet.org/tdparsekit/ ). It comes with a demo app and can be used for tokenizing and parsing. The code is also moderately easy to browse, though a whole framework might be a bit heavy depending on what your needs are.

- Ben


On 19 Jun 2009, at 15:58, Michael A. Crawford wrote:

My NS class vocabulary is a little shallow when it comes to text processing. I'm sure that there are classes in Foundation that can be used to put together a text processing application in short order, I just don't know what they are. I'm looking through the docs now, but I'm kind of in a hurry and would prefer to minimize the trial-error duration of my current endeavor.

So, which class or combination of classes do you recommend for read in ASCII text from a file and them parsing it out based on a given structure?

-Michael


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: 
 >Which Foundation classes should I use for parsing text from a file? (From: "Michael A. Crawford" <email@hidden>)
 >Re: Which Foundation classes should I use for parsing text from a file? (From: Ben <email@hidden>)

  • Prev by Date: Re: What is the best way to store some kind of identifying string in an interface builder object?
  • Next by Date: Re: Basic, but still confuses me (initWithFrame and drawRect)
  • Previous by thread: Re: Which Foundation classes should I use for parsing text from a file?
  • Next by thread: Just implementing -isEqual:, never invoked, causes crash
  • Index(es):
    • Date
    • Thread