How can I update a file incrementally in iOS. (File patching) <p>I have a huge text file in my application (version 1.0).</p> <p>Lets assume that a new version (2.0) of this file was just released. Most of the file remained the same but the new (2.0) version has a few modifications (some lines removed, others added).</p> <p>I now wish to <strong>update</strong> the file (1.0) to the new version (2.0), but do not wish to download the whole file again. I would love to just patch the file with the changes of the new file, thus saving bandwith from downloading the WHOLE new file from my server. (Similar to the way versioning systems like git or svn act)</p> <p>How can I do this programmatically? Are there any iOS libraries available?</p> <p>Thank you</p>