Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't call canInitWithRequest on NSURLProtocol #633

Open
mapierce opened this issue Sep 5, 2023 · 0 comments
Open

Doesn't call canInitWithRequest on NSURLProtocol #633

mapierce opened this issue Sep 5, 2023 · 0 comments

Comments

@mapierce
Copy link

mapierce commented Sep 5, 2023

Running PINRemoteImage version 3.0.3 on Xcode 15 and I noticed when I was attempting to stub image loading for tests that the function + (BOOL)canInitWithRequest:(NSURLRequest *)request; in the NSURLProtocol is not called.

This function is hit when running PINRemoteImage on Xcode 14, and is critical for us in testing and stubbing image loading with PINRemoteImage. Does anyone have any insight as to why this is the case and how to rectify it?

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

No branches or pull requests

1 participant