Skip to content

Conversation

@kean
Copy link
Owner

@kean kean commented Aug 7, 2022

Pulse 2.0 is optimized for working with images and now is a good time to provide a convenient way to integrate it with Nuke.

  • Add delegate: URLSessionDelegate? property to DataLoader for observing network events
  • Deprecated the existing observer: DataLoaderObserving

Pulse can now be integrated with a single line of code:

(ImagePipeline.shared.configuration.dataLoader as? DataLoader)?.delegate = URLSessionProxyDelegate()

Screenshot 2022-08-07 at 2 23 30 PM

The demo project was also updated to feature Pulse.

Screenshot 2022-08-07 at 2 23 30 PM

@kean kean merged commit 16ae380 into master Aug 7, 2022
@kean kean deleted the data-loader-delegate branch August 7, 2022 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants