An app created in Swift that have read/write function to file.
More than 80% testers doesn't have the issue. However, some testers have issues with reading from file (null values) after writing to file.
Only 1 instance of storage is used (storage.saveVector, storage.writeVector)
Anyone can shed some light?
Same code base but why some users are encountering this issue?
I read about concurrency and use of actor instead of class for thread-safety purpose. (https://www.swiftbysundell.com/articles/swift-actors/)
Should i init the storage every time before use instead of using the shared instance?
1
0
870