Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cocoa API - Does it contain a diff api?

I'm wondering if there is a diff API in Cocoa, I've attempted to google it but its not bring back any results that are useful.

If there isn't an API for this would it be better to call diff from /usr/bin/ or to write my own diff.

All I need it for is text-files with a possibility of branching out into binaries and folders later.

Thanks

James

like image 823
James Avatar asked Jun 25 '10 15:06

James


1 Answers

Since this question was answered, it appears that something has come out:Diff Match and Patch libraries

I haven't tried it (yet) but it's what came up when I was looking for a diff library. There is an Obj-C port.

like image 59
Mark W. Avatar answered Oct 21 '22 22:10

Mark W.