-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
As developer I want to be able to read the file at any time, to read the file's content.
Description
When we call urlForFile(_ filename: String) the first time (e.g. to run a unit tests with default file content), but never called any update...() before, the file does not exist.
Expected behavior
The given url from urlForFile(_ filename: String) should be valid.
Suggestion
It might be appropriate to verify if the file does exists like FileManager.default.fileExists(atPath: fileUrl.path) or similar and as fallback just return the url received from the bundle.
Metadata
Metadata
Assignees
Labels
No labels