Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/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.



As 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.


Unit testing?


More likely for offline caching of web content. But unit tests too!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: