• 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: String diff?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String diff?


  • Subject: Re: String diff?
  • From: Nicko van Someren <email@hidden>
  • Date: Mon, 20 Mar 2006 09:51:27 +0000

On 19 Mar 2006, at 19:20, John C. Randolph wrote:

Does anyone have a category sitting around that finds the difference between a pair of NSStrings? I can wrap diff(1), but I'd rather do it in memory.

I don't have an objective C wrapper for it but the Gnu diff algorithm is by Myers (http://citeseer.ist.psu.edu/myers86ond.html). I'm sort of busy at the moment otherwise I'd look at porting it but there seems to be some code written in Java available under the LGPL which you could start from.


	Cheers,
		Nicko

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >String diff? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: NSString propertyList crash
  • Next by Date: Re: NSString propertyList crash
  • Previous by thread: String diff?
  • Next by thread: NSTableView: displaying number of selected rows
  • Index(es):
    • Date
    • Thread