kean / Nuke

Image loading system
https://kean.blog/nuke
MIT License
8.07k stars 528 forks source link

Starting with 12.6, custom data loader is not called #813

Closed jaanussiim closed 1 week ago

jaanussiim commented 1 week ago

Basic setup for data loader

 let pileline = ImagePipeline {
     $0.dataLoader = AskDataLoader()
}

ImagePipeline.shared = pileline

Using LazyImage from NukeUI. Custom DataLoader is not called

kean commented 1 week ago

I wonder if it might be related to the following change https://github.com/kean/Nuke/pull/779?

jaanussiim commented 1 week ago

Yes, adding $0.isLocalResourcesSupportEnabled = false fixes it.

I'm using data:// scheme for files that I want to load from local database.