3 ms·
That’s very useful information that would be very useful i the docs! Thank you. I’m a little confused as to how it differs from the existing method for loading
by afavour 5y ago
That’s very useful information that would be very useful i the docs! Thank you. I’m a little confused as to how it differs from the existing method for loading data:
https://developer.apple.com/documentation/webkit/wkwebview/1415011-load https://developer.apple.com/documentation/webkit/wkwebview/1...
but I suppose it allows for more customisability. Marking the existing one as deprecated would go a long way to solving the mystery. Assuming that’s even correct! This is where documentation beyond literally only detailing what the API does would be great.
- code_duck 5y agoAs I read it, the simulated response call doesn’t actually hit the URL, it just sets up the object like it’s going to then loads the data you supplied. Not sure when that’s useful since I’m not an iOS programmer.
- aYsY4dDQ2NrcNzA 5y agoUnit testing?
- afavour 5y agoMore likely for offline caching of web content. But unit tests too!