Craig Hockenberry on Nostr: I swear, every time I need this URL API, I end up making a Playground to figure out ...
I swear, every time I need this URL API, I end up making a Playground to figure out what the hell it does.
The description is “removing percent encoding" and the return value is “adding percent encoding”. And the parameter doesn't specify whether it works on input or output.
The cost of bad documentation is having to figure out this shit over and over. A couple of simple examples would save countless hours of developer time.
https://developer.apple.com/documentation/foundation/url/3988473-path
The description is “removing percent encoding" and the return value is “adding percent encoding”. And the parameter doesn't specify whether it works on input or output.
The cost of bad documentation is having to figure out this shit over and over. A couple of simple examples would save countless hours of developer time.
https://developer.apple.com/documentation/foundation/url/3988473-path