Use Charles to Rewrite Responses While Developing iOS Apps

You don’t need a backend (right now)

Prerequisites:

Terminology

A warning

{
error = "user not found";
}

Step-by step instructions to change a response

{
eafsda = "user not found";
}

And remember…

Also remember…

let config = URLSessionConfiguration.defaultconfig.requestCachePolicy = .reloadIgnoringLocalCacheDataconfig.urlCache = nillet session = URLSession.init(configuration: config)

And..remember…

Conclusion

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store