ccViewer
ccViewer copied to clipboard
Add icon for folders and files
This makes it easier to visualize without reading the extension.
It is easy to implement but background color is not enough? The icon is more readable for everyone than color, I agree. Did you mean icon by every file extension? It is painful to draw icons.
My thought was to ask the OS for icon.
https://indiestack.com/2018/05/icon-for-file-with-uikit/
It sounds good. It will be implemented in next release.
Just make sure to implement memory/disk caching for images so it doesn't become sluggish. Seems like there are already lot of libraries in swift that does caching and cancellation.
This app is initially planned no plain cache data in device and all data will be downloading from the cloud on demand and decrypted temporarily. It allows high safety but slow. The option of cache images helps speed up, it should be implemented.
https://stackoverflow.com/questions/46422989/uidocumentinteractioncontroller-no-longer-generate-file-icons-in-ios-11
UIDocumentInteractionController technique is not working only after present it. Are there any other way to get icons?