Minor bugfixes on iOS

An update of both iOS apps was released last night: The most important improvement of StitchBuddy HD / View v2.7.2 is a bugfix of the Dropbox synching: One user synching thousands of files with Dropbox reported incidentally deleted files. For whose who are interested in details, there are two situations when StitchBuddy is deleting files on the iPad / iPhone:
  1. When a file exists on Dropbox, but not on the iPad, and its modification date is before the previous synchronization: It can be assumed that this file has already existed at the last successful synchronization, was synchronized, and afterwards was available on both sides, Dropbox and StitchBuddy. So after the last sync it was deleted on the iPad and therefore needs to be deleted on Dropbox, too.
  2. When a file exists on the iPad, but not on Dropbox, and its modification date is before the previous synchronization: The same case vice versa ... the file has already existed at the last successful synchronization, so it was on both sides afterwards, and was delete on Dropbox in the meantime. Therefore it is now deleted on the iPad.
As you can see synchronization relies heavily on the modification dates of files in combination with the last successful (!) synch. There were (rare) situations when a synch was considered successful although it wasn't, especially after several retries of file transmissions. Now such synchs will be marked as unsuccessful.

In addition the sort order in the folder navigation view was corrected, which was confused by folder names beginning with numbers or special characters, and I fixed a minor issue, when the scroll position was slightly offset after leaving the app from the gallery.