ccViewer icon indicating copy to clipboard operation
ccViewer copied to clipboard

Add icon for folders and files

Open prabirshrestha opened this issue 4 years ago • 6 comments

This makes it easier to visualize without reading the extension.

prabirshrestha avatar Oct 06 '19 03:10 prabirshrestha

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.

lithium0003 avatar Oct 06 '19 04:10 lithium0003

My thought was to ask the OS for icon.

https://indiestack.com/2018/05/icon-for-file-with-uikit/

prabirshrestha avatar Oct 06 '19 04:10 prabirshrestha

It sounds good. It will be implemented in next release.

lithium0003 avatar Oct 06 '19 04:10 lithium0003

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.

prabirshrestha avatar Oct 06 '19 04:10 prabirshrestha

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.

lithium0003 avatar Oct 06 '19 05:10 lithium0003

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?

lithium0003 avatar Nov 14 '19 16:11 lithium0003