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

Re: diff tool on iOS?


  • Subject: Re: diff tool on iOS?
  • From: Koen van der Drift <email@hidden>
  • Date: Wed, 13 Aug 2014 10:31:58 -0400

I thought about diff, but can I use that without NSTask, etc which aren't
available on iOS?

Also came across this:
https://github.com/inquisitiveSoft/DiffMatchPatch-ObjC, which could be
useful.

Thanks for your imput,

- Koen.




On Wed, Aug 13, 2014 at 9:03 AM, ChanMaxthon <email@hidden> wrote:

> I think you can embed code from BSD diff in your program. That is plain C
> and you just need to call it using your Objective-C code.
>
> Alternatively you can look into the implementation of BSD diff or GNU
> diffutils and rewrite it using Objective-C or Swift for your project.
>
> Sent from my iPad
>
> > On Aug 13, 2014, at 20:34, Koen van der Drift <email@hidden>
> wrote:
> >
> > Is there any way to use a diff tool in an iOS app? My app at one point
> > needs to find the difference between two large text files, and using diff
> > or something similar may be a possible solution. Both files are
> downloaded
> > as NSData objects from an external source, and right now I have converted
> > them to NSString objects. But they can be in any format, as long as I can
> > find a way which lines have changed.
> >
> > Thanks,
> >
> > - Koen.
> > _______________________________________________
> >
> > 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
>
_______________________________________________

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


  • Follow-Ups:
    • Re: diff tool on iOS?
      • From: Sergio Campamá <email@hidden>
References: 
 >diff tool on iOS? (From: Koen van der Drift <email@hidden>)
 >Re: diff tool on iOS? (From: ChanMaxthon <email@hidden>)

  • Prev by Date: Re: diff tool on iOS?
  • Next by Date: Re: diff tool on iOS?
  • Previous by thread: Re: diff tool on iOS?
  • Next by thread: Re: diff tool on iOS?
  • Index(es):
    • Date
    • Thread