Improved DataExportation speed and added a loading bar.
Date.fromISOString and Date.ISOStringFromDate now have an overload that accepts an optional reusableDateFormatter.
ISODateFormatter unified between Date.fromISOString and Date.ISOStringFromDate and extracted to another func, Date.ISODateFormatter.
BgReading dictionaryRepresentationForNightScoutUpload was a variable while the thing with same name at TreatmentEntry was a func. Now both are functions and accept an optional reuseDateFormatter as argument.
Improved DataExportation speed and added a loading bar.
Date.fromISOString and Date.ISOStringFromDate now have an overload that accepts an optional reusableDateFormatter.
ISODateFormatter unified between Date.fromISOString and Date.ISOStringFromDate and extracted to another func, Date.ISODateFormatter.
BgReading dictionaryRepresentationForNightScoutUpload was a variable while the thing with same name at TreatmentEntry was a func. Now both are functions and accept an optional reuseDateFormatter as argument.
Deleted dictionaryRepresentationForNightScoutUpload.swift.
Implemented a progress bar named ProgressBarViewController and a struct used for updating it: ProgressBarStatus.
SettingsSelectedRowAction callFunctionAndShareFile now updates the progress bar with each callback.
DataExporter now reuses the same DateFormatter, speeding up the calls to dictionaryRepresentationForNightScoutUpload.
DataExporter now receives the callback as argument at instantiation.
DataExporter calls the callback to report progress during readingsAsDicts().