Kingfisher and SMBClient (https://github.com/kishikawakatsumi/SMBClient) #2385
Unanswered
Torrontes123
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
The simplest approach would be to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks for your suggestion. I'll look into that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ï'm developing an iOS application which uses Kingfisher pretty heavily, and currently leverages the infrastructure provided by the Files app to access images in shared folders in a LAN. Kingfisher is a crucial piece, as it handles all caching and prefetching. My app works decently as it is, but managing bookmarks is not ideal from the point of view of UX (for reasons that would take me too far afield to discuss here). However, I've just become aware of the existence of the SMBClient package, which looks great, as it is under MIT license and, unlike other solutions, has no problematic dependencies from the point of view of licensing and the App Store, and would allow me to bypass a number of complications. I'm wondering how it could be made to work with Kingfisher. As things stand right now, I am only using the default ImageDownloader, and I wonder if the best way to proceed would be to subclass it, overriding the relevant methods to handle smb URLs and passing other URLs to the default ImageDownloader, and then initializing KingfisherManager with an instance of that subclass, and proceeding similarly with ImagePrefetcher. Does this sound like a sensible thing to attempt? Are there other alternative possibilities? I'll be happy to clarify or provide further details if necessary. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions