Replies: 1 comment 1 reply
-
|
With more-careful reading of the code, it seems like the I managed to solve my problem by exposing my |
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.
-
Hi, I've got a custom
dataLoaderthat makes composite images from local resources. I've got aLazyImageI'm using in SwiftUI that uses a custom pipeline that uses the customdataLoader. Occasionally, I need to modify the behavior of thedataLoader(by changing some simple internal state) without tearing down the SwiftUIView. If I understand correctly, this is the use case forImagePipelineDelegate.Are there examples of how to implement a
ImagePipelineDelegate(especially for this simple case)? I tried following the code itself but it's not quite clear to me which functions I need to implement and how. Just implementingdataLoader(for:pipeline:)appears to not be sufficient since none of my images render.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions