When does SwiftoDo sync the todo.txt file?

SwiftoDo’s file sync is very simple, in large part due to the need to support various file sync providers, each of which offers different degrees of integration with iOS and the Files app.

Download triggers

SwiftoDo will download your task list from your file sync provider each time you open or return to the app. It will also do so when you pull-to-refresh the task list.

Upload triggers

SwiftoDo will upload your task list to your file sync provider after every change you make to the task list in SwiftoDo.

What about archiving?

The general file sync process for archiving is as follows:

  1. Copy the completed tasks from the todo.txt file.
  2. Download the archive file.
  3. Modify the local copy of the archive file. Specifically, insert the copied, completed tasks from the todo.txt file to the bottom of the archive file.
  4. Upload the modified archive file.
  5. Delete the archived, completed tasks from the todo.txt file.
  6. Upload the local copy of the todo.txt file.