I suggest making a request for a page with very little overhead, only with the data needed to check if the version has changed.
In the iOS app, save the last version value that you saved, and check it on this small page that you pull out. If the value on the page is larger (newer), then pull out the full XML file.
This version value can be either updated or updated version number. I'm currently not on a Mac, so testing the Obj-C code is not trivial, but here is some pseudo code:
int versionNumber; // can be a datetime as well ... void pullXmlIfAvailable() { int latestVersionNumber = parseVersionNumberFromPage(URLget("myurl.com/check.xml")).to_i(); if (latestVersionNumber > versionNumber) DataClass xml = parseDataFromLargerFile(URLget("myurl.com/bigfile.xml")); }
source share